Class ProcessModelXMLHelperTools.LockDescription
- java.lang.Object
-
- de.aristaflow.adept2.model.processmodel.xml.ProcessModelXMLHelperTools.LockDescription
-
- Enclosing class:
- ProcessModelXMLHelperTools
public static class ProcessModelXMLHelperTools.LockDescription extends Object
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
Constructors Constructor Description LockDescription(QualifiedAgent agent, int lockCount)Creates a newProcessModelXMLHelperTools.LockDescriptionobject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedAgentgetAgent()intgetLockCount()
-
-
-
Constructor Detail
-
LockDescription
public LockDescription(QualifiedAgent agent, int lockCount)
Creates a newProcessModelXMLHelperTools.LockDescriptionobject- Parameters:
agent- The locking agentlockCount- The current lock count
-
-
Method Detail
-
getLockCount
public int getLockCount()
- Returns:
- The current lock count of the lock
-
getAgent
public QualifiedAgent getAgent()
- Returns:
- The locking agent
-
-