Class DynamicModel
java.lang.Object
org.simplesim.model.BasicModelEntity
org.simplesim.model.BasicDomain
org.simplesim.model.RoutingDomain
org.simplesim.examples.elevator.dyn.DynamicModel
- All Implemented Interfaces:
Domain
,ModelEntity
Part of the dynamic elevator example
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.simplesim.model.ModelEntity
ModelEntity.PortConnectionException, ModelEntity.PortOperationException, ModelEntity.UniqueConstraintViolationException
-
Field Summary
Fields inherited from class org.simplesim.model.BasicDomain
ROOT_ADDRESS
Fields inherited from interface org.simplesim.model.ModelEntity
ROOT_LEVEL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.simplesim.model.RoutingDomain
setAsRootDomain
Methods inherited from class org.simplesim.model.BasicDomain
listAllAgents, listDomainEntities
Methods inherited from class org.simplesim.model.BasicModelEntity
addToDomain, equals, getAddress, getFullName, getInport, getLevel, getOutport, getParent, removeFromDomain, toString
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.simplesim.model.Domain
containsEntity, countDomainEntities, getRoot, isEmpty, isRoot
Methods inherited from interface org.simplesim.model.ModelEntity
addToDomain, getAddress, getFullName, getInport, getLevel, getOutport, getParent, removeFromDomain
-
Constructor Details
-
DynamicModel
public DynamicModel()
-
-
Method Details
-
getElevator
-
getFloor
-
getLobby
-
getName
Description copied from interface:ModelEntity
Returns the name of this model entityReturns an empty string as default, may be overridden in derived classes.
- Specified by:
getName
in interfaceModelEntity
- Overrides:
getName
in classBasicModelEntity
- Returns:
- the name of this model entity, may be an empty string but not null
-