EASE.Agents.Specification
Class InstantiatedContract
java.lang.Object
|
+--EASE.Agents.Specification.InstantiatedContract
- public class InstantiatedContract
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
exportContract
public ExportContract exportContract
- Data
agent
public AgentSave agent
genericAgent
public transient GenericAgent genericAgent
instantiatedParams
private java.util.Vector instantiatedParams
- Any instantiated parameters associated with this contract
id
private long id
- This id can be set to any number and is fairly meaningless.
It is only uses to create slightly different objects of this
type so the hashtable can distinguish them.
debugger
private transient Debugger debugger
serialVersionUID
static final long serialVersionUID
InstantiatedContract
public InstantiatedContract(ExportContract ec,
AgentSave a)
- Constructor only if there are no instantiated params
InstantiatedContract
public InstantiatedContract(ExportContract ec,
AgentSave a,
java.util.Vector instantiated)
- Constructor with instantiated params
InstantiatedContract
public InstantiatedContract(AgentStartSpecification ass)
- This is really a dummy constructor for starting agents which is needed
so that AllAgents.makeInstantiatedAgent works correctly
Probably going to need to add parameters !!
getInstantiatedParams
public java.util.Vector getInstantiatedParams()
getParameters
public java.util.Vector getParameters()
- Return any uninstantiated parameters of the agent.
getClone
public InstantiatedContract getClone()
- This method creates a clone with a different id;