kaos.kpat.models
Class ModelAgentContainer

java.lang.Object
  extended by kaos.kpat.models.ModelObject
      extended by kaos.kpat.models.ModelAgentContainer
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, iModelAgentContainer, iModelObject

public class ModelAgentContainer
extends ModelObject
implements iModelAgentContainer, java.io.Serializable

Representation of Agent Container for the KAoS 2000 visualization tool. $Revision: 1.2 $

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.kpat.models.ModelObject
_isGovernable, _name, _nameJTP, _policyList
 
Constructor Summary
ModelAgentContainer(java.lang.String name, java.util.List guardIDs, ModelPolicyList policies, ModelAgentList agents, ModelExecEnv execEnv)
          Constructor for an agent container
 
Method Summary
 java.lang.Object clone()
          Deep clone.
 ModelAgentList getAgents()
           
 iModelExecEnv getExecEnv()
          Returns the ExecEnv for this ModelAgentContainer
 java.util.List getGuardIDs()
           
 java.lang.String getScope()
          Returns the scope
 java.lang.String toString()
          toString Used by the JTable for displaying a VM Required by iModelAgentContainer i/f
 
Methods inherited from class kaos.kpat.models.ModelObject
compareTo, getName, getNameJTP, getPolicies, isGovernable, setNameJTP
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kaos.kpat.models.iModelObject
getName, getNameJTP, getPolicies, isGovernable
 

Constructor Detail

ModelAgentContainer

public ModelAgentContainer(java.lang.String name,
                           java.util.List guardIDs,
                           ModelPolicyList policies,
                           ModelAgentList agents,
                           ModelExecEnv execEnv)
Constructor for an agent container

Method Detail

clone

public java.lang.Object clone()
Deep clone. Some of these are just references, however, or we get circular clonage.

Overrides:
clone in class java.lang.Object

getExecEnv

public iModelExecEnv getExecEnv()
Returns the ExecEnv for this ModelAgentContainer

Specified by:
getExecEnv in interface iModelAgentContainer

getScope

public java.lang.String getScope()
Returns the scope

Specified by:
getScope in interface iModelObject
Specified by:
getScope in class ModelObject

getGuardIDs

public java.util.List getGuardIDs()
Specified by:
getGuardIDs in interface iModelAgentContainer

getAgents

public ModelAgentList getAgents()
Specified by:
getAgents in interface iModelAgentContainer

toString

public java.lang.String toString()
toString Used by the JTable for displaying a VM Required by iModelAgentContainer i/f

Specified by:
toString in interface iModelObject
Specified by:
toString in class ModelObject