AR System Java API

com.bmc.arsys.api
Class WorkflowLockInfo

java.lang.Object
  extended by com.bmc.arsys.api.WorkflowLockInfo
All Implemented Interfaces:
Serializable, Cloneable

public class WorkflowLockInfo
extends Object
implements Cloneable, Serializable

The WorkflowLockInfo class represents detailed information about workflow lock.

See Also:
Serialized Form

Constructor Summary
WorkflowLockInfo(int lockType, String lockKey)
           
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(Object obj)
          Use this method for checking equality.
 String getLockKey()
          Returns the value of the lock key.
 int getLockType()
          Returns a value identifying the workflow lock type.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setLockKey(String lockKey)
          Sets the value of the lock key.
 void setLockType(int lockType)
          Sets a value identifying the workflow lock type.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowLockInfo

public WorkflowLockInfo(int lockType,
                        String lockKey)
Method Detail

getLockKey

public String getLockKey()
Returns the value of the lock key. This is a string that is used as a key (or a password) to enforce the locking.


setLockKey

public void setLockKey(String lockKey)
Sets the value of the lock key. This is a string that is used as a key (or a password) to enforce the locking.


getLockType

public int getLockType()
Returns a value identifying the workflow lock type.


setLockType

public void setLockType(int lockType)
Sets a value identifying the workflow lock type.


clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)
Use this method for checking equality. The result is true only if the argument is not null, is of same type and represents the same content.

Overrides:
equals in class Object

hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.