Class Location
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.external.Entity
-
- org.processmining.plugins.stochasticpetrinet.external.Location
-
- All Implemented Interfaces:
Allocatable
- Direct Known Subclasses:
Building,Compartment,Room
public abstract class Location extends Entity implements Allocatable
-
-
Field Summary
Fields Modifier and Type Field Description protected intcapacityprotected java.util.List<Location>childLocationsprotected LocationparentLocation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCapacity()Returns the capacity of the allocatable entity.java.util.List<Location>getChildLocations()LocationgetParentLocation()voidsetParentLocation(Location parentLocation)-
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, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.plugins.stochasticpetrinet.external.Allocatable
getName
-
-
-
-
Method Detail
-
getParentLocation
public Location getParentLocation()
-
setParentLocation
public void setParentLocation(Location parentLocation)
-
getChildLocations
public java.util.List<Location> getChildLocations()
-
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.- Specified by:
getCapacityin interfaceAllocatable- Returns:
- int capacity of the allocatable entity.
-
-