|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.jmessage.Message jsim.jmessage.Store
public class Store
The Store class represents all the data that need to be store in the database. It contains a scenario ID, the agent data, and the model input and output data. A Store object is sent from a model agent to the DBAgent after the model agent has received a report from the model bean it controls.
Field Summary | |
---|---|
Simulate |
agentData
The model agent control data |
ModelData |
modelData
The model input and output data |
java.lang.Integer |
scenarioID
The ID of the scenario that the federate participates in |
Fields inherited from class jsim.jmessage.Message |
---|
actionType |
Constructor Summary | |
---|---|
Store(java.lang.String actionType,
java.lang.Integer scenarioID,
Simulate agentData,
ModelProperties modelProperties,
FinalReport report)
Constructs a Store instance. |
Method Summary | |
---|---|
Simulate |
getAgentData()
Returns the control data from the model agent. |
ModelData |
getModelData()
Returns the model input and output data. |
java.lang.Integer |
getScenarioID()
Returns the scenario ID. |
void |
readObject(java.io.ObjectInputStream in)
Meets the Java serialization requirements. |
java.lang.String |
toString()
Returns an XML fragemnt representing this instance of Store |
void |
writeObject(java.io.ObjectOutputStream out)
Meets the Java serialization requirements. |
Methods inherited from class jsim.jmessage.Message |
---|
getActionType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Integer scenarioID
public Simulate agentData
public ModelData modelData
Constructor Detail |
---|
public Store(java.lang.String actionType, java.lang.Integer scenarioID, Simulate agentData, ModelProperties modelProperties, FinalReport report)
actionType
- The action typescenarioID
- The scenario IDagentData
- The simulation control data from the model agentmodelProperties
- The input model propertiesreport
- The simulation result report from the model beanMethod Detail |
---|
public java.lang.Integer getScenarioID()
public Simulate getAgentData()
public ModelData getModelData()
public java.lang.String toString()
toString
in class java.lang.Object
public void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The ObjectOutputStream
java.io.IOException
public void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The ObjectInputStream
java.io.Exception
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |