Class StaticModel
java.lang.Object
org.simplesim.model.BasicModelEntity
org.simplesim.model.BasicDomain
org.simplesim.examples.elevator.stat.StaticModel
- All Implemented Interfaces:
Domain,ModelEntity
Part of the static 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_ADDRESSFields inherited from interface org.simplesim.model.ModelEntity
ROOT_LEVEL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.simplesim.model.BasicDomain
listAllAgents, listDomainEntitiesMethods inherited from class org.simplesim.model.BasicModelEntity
addToDomain, equals, getAddress, getFullName, getInport, getLevel, getOutport, getParent, removeFromDomain, toStringMethods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.simplesim.model.Domain
containsEntity, countDomainEntities, getRoot, isEmpty, isRootMethods inherited from interface org.simplesim.model.ModelEntity
addToDomain, getAddress, getFullName, getInport, getLevel, getOutport, getParent, removeFromDomain
-
Constructor Details
-
StaticModel
public StaticModel()
-
-
Method Details
-
getElevator
-
getName
Description copied from interface:ModelEntityReturns the name of this model entityReturns an empty string as default, may be overridden in derived classes.
- Specified by:
getNamein interfaceModelEntity- Overrides:
getNamein classBasicModelEntity- Returns:
- the name of this model entity, may be an empty string but not null
-