Package com.anylogic.engine.database
- java.lang.Object
- com.anylogic.engine.database.DatabaseLogState
- All Implemented Interfaces:
Serializable
@AnyLogicInternalAPI public class DatabaseLogState extends Object implements Serializable
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
This class is responsible for storing some intermediate state required by the model logging.
it may be removed/renamed in future.
This class is responsible for storing some intermediate state required by the model logging.
- Author:
- AnyLogic North America, LLC https://anylogic.com
- See Also:
- Serialized Form
Constructor | Description |
---|---|
DatabaseLogState() |
Modifier and Type | Method | Description |
---|---|---|
int | generateAgentElementId() |
This method generates new id for dynamically created agent elements
|
int | generateAgentId() |
Internal method, used to initialize
Agent.getId() property |
int | getAgentTypeElementId |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
int | getAgentTypeId |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
<T extends Enum<T> & IStatechartState<?, | getAgentTypeStateId |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
int | getEventId |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
int | getStatechartId |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | resetBeforeStart() |
public DatabaseLogState()
@AnyLogicInternalAPI public void resetBeforeStart()
@AnyLogicInternalAPI public int getAgentTypeId(Agent agent)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI public int generateAgentElementId()
This method generates new id for dynamically created agent elements
@AnyLogicInternalAPI public int generateAgentId()
Internal method, used to initialize
Agent.getId()
property@AnyLogicInternalAPI public int getEventId(EventOriginator event)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI public int getStatechartId(Statechart<?> statechart)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI public int getAgentTypeElementId(LoggingType loggingType, Agent agent, String elementName)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI public <T extends Enum<T> & IStatechartState<?,T>> int getAgentTypeStateId(Agent agent, Statechart<T> statechart, T state)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.