Class ProcessModelXMLHelperTools.LockDescription
java.lang.Object
de.aristaflow.adept2.model.processmodel.xml.ProcessModelXMLHelperTools.LockDescription
- Enclosing class:
- ProcessModelXMLHelperTools
This class describes a lock, e.g. a lock on a template. The locking agent
and the current lockCount are stored.
- Author:
- Bastian Gloeckle
-
Constructor Summary
ConstructorsConstructorDescriptionLockDescription(QualifiedAgent agent, int lockCount) Creates a newProcessModelXMLHelperTools.LockDescriptionobject -
Method Summary
-
Constructor Details
-
LockDescription
Creates a newProcessModelXMLHelperTools.LockDescriptionobject- Parameters:
agent- The locking agentlockCount- The current lock count
-
-
Method Details
-
getLockCount
public int getLockCount()- Returns:
- The current lock count of the lock
-
getAgent
- Returns:
- The locking agent
-