|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.jmessage.ModelData
public class ModelData
The ModelData class contains all model information to be stored in the database. It includes model name, and the input and output of all nodes associated with this model.
Field Summary | |
---|---|
java.lang.String |
modelName
The model name |
NodeProps[] |
props
The input model properties |
NodeStats[] |
stats
The output statistical result of the simulation |
Constructor Summary | |
---|---|
ModelData(java.lang.String modelName,
NodeProps[] props,
NodeStats[] stats)
Constructs an object of type ModelData by model name, input node properties, and output statictical result. |
Method Summary | |
---|---|
java.lang.String |
getModelName()
Returns the model name. |
NodeProps[] |
getNodeProps()
Returns the node properties. |
NodeStats[] |
getOutputStats()
Returns the statistical output of the simulation. |
void |
readObject(java.io.ObjectInputStream in)
Meets the Java serialization requirements. |
java.lang.String |
toString()
Returns an XML fragment representing this instance of ModelData. |
void |
writeObject(java.io.ObjectOutputStream out)
Meets the Java serialization requirements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String modelName
public NodeProps[] props
public NodeStats[] stats
Constructor Detail |
---|
public ModelData(java.lang.String modelName, NodeProps[] props, NodeStats[] stats)
modelName
- The model nameprops
- The input properties of all the nodesstats
- The output statistical result of the simulationMethod Detail |
---|
public java.lang.String getModelName()
public NodeProps[] getNodeProps()
public NodeStats[] getOutputStats()
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.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |