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

Field Summary
 AgentSave agent
           
private  Debugger debugger
           
 ExportContract exportContract
          Data
 GenericAgent genericAgent
           
private  long id
          This id can be set to any number and is fairly meaningless.
private  java.util.Vector instantiatedParams
          Any instantiated parameters associated with this contract
(package private) static long serialVersionUID
           
 
Constructor Summary
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 !!
InstantiatedContract(ExportContract ec, AgentSave a)
          Constructor only if there are no instantiated params
InstantiatedContract(ExportContract ec, AgentSave a, java.util.Vector instantiated)
          Constructor with instantiated params
 
Method Summary
 InstantiatedContract getClone()
          This method creates a clone with a different id;
 java.util.Vector getInstantiatedParams()
           
 java.util.Vector getParameters()
          Return any uninstantiated parameters of the agent.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 !!

Method Detail

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;