public class TraceNote extends Message
Constructor and Description |
---|
TraceNote(Model origin,
java.lang.String message,
TimeInstant time,
Entity entityInvolved,
EventAbstract eventInvolved)
Creates a new tracenote with the given parameters as initial values.
|
TraceNote(Model origin,
java.lang.String message,
TimeInstant time,
java.util.List<Entity> entitiesInvolved,
EventAbstract eventInvolved)
Creates a new tracenote with the given parameters as initial values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntity()
Returns the name of the entity this tracenote evolved from.
|
java.lang.String |
getEvent()
Returns the name of the event described in this tracenote from.
|
getDescription, getExperimentName, getModelName, getSendTime, getTime, toString
public TraceNote(Model origin, java.lang.String message, TimeInstant time, Entity entityInvolved, EventAbstract eventInvolved)
null
references are given, they are displayed as "----" in
the trace output.origin
- Model : The model that produced this tracenotemessage
- java.lang.String : The actual trace messagetime
- TimeInstant : The point in simulation time this tracenote was
producedentityInvolved
- Entity : The entity involved in this change of stateeventInvolved
- Event : The event involved in this change of statepublic TraceNote(Model origin, java.lang.String message, TimeInstant time, java.util.List<Entity> entitiesInvolved, EventAbstract eventInvolved)
null
references are given, they are displayed as "----" in
the trace output.origin
- Model : The model that produced this tracenotemessage
- java.lang.String : The actual trace messagetime
- TimeInstant : The point in simulation time this tracenote was
producedentitiesInvolved
- ListeventInvolved
- Event : The event involved in this change of statepublic java.lang.String getEntity()
public java.lang.String getEvent()