org.jscience.engineering.eventdriven
Class StateChangeRecord

java.lang.Object
  extended by org.jscience.engineering.eventdriven.StateChangeRecord

public final class StateChangeRecord
extends java.lang.Object

This contains all of the details about a state change that a state change handler might want to know when reporting it.


Field Summary
 java.lang.String endStateId
          

The state of the entity after the state change.

 java.lang.String entityId
          

The name of the entity that changed state.

 java.lang.Object[] eventArgs
          

The event arguments.

 java.lang.String eventSpecId
          

The event type.

 java.lang.String startStateId
          

The state of the entity before the state change.

 java.util.Date timeStamp
          

The time of the state change.

 int transitionType
          

The transition type code.

 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeStamp

public java.util.Date timeStamp

The time of the state change.


entityId

public java.lang.String entityId

The name of the entity that changed state.


startStateId

public java.lang.String startStateId

The state of the entity before the state change.


eventSpecId

public java.lang.String eventSpecId

The event type.


eventArgs

public java.lang.Object[] eventArgs

The event arguments.


transitionType

public int transitionType

The transition type code.


endStateId

public java.lang.String endStateId

The state of the entity after the state change.