Class Person
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.external.Entity
-
- org.processmining.plugins.stochasticpetrinet.external.Resource
-
- org.processmining.plugins.stochasticpetrinet.external.Person
-
- All Implemented Interfaces:
Allocatable
public class Person extends Resource
-
-
Field Summary
Fields Modifier and Type Field Description protected intcapacitystatic java.lang.StringCASE_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCapacity()Returns the capacity of the allocatable entity.static booleanisCaseResourceName(java.lang.String name)java.lang.StringtoString()-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.external.Resource
addRole, getRoles, removeRole
-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.external.Entity
getName, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.plugins.stochasticpetrinet.external.Allocatable
getName
-
-
-
-
Field Detail
-
CASE_PREFIX
public static final java.lang.String CASE_PREFIX
- See Also:
- Constant Field Values
-
capacity
protected int capacity
-
-
Method Detail
-
getCapacity
public int getCapacity()
Description copied from interface:AllocatableReturns the capacity of the allocatable entity. A room can have a capacity > 1, if there can be multiple cases handles within Similarly, a worker can perhaps multi-task and handle multiple cases at once.- Returns:
- int capacity of the allocatable entity.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isCaseResourceName
public static boolean isCaseResourceName(java.lang.String name)
-
-