kaos.kpat.models
Class ModelAgent

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

public class ModelAgent
extends ModelObject
implements iModelAgent, java.io.Serializable

Representation of ModelAgent for the KAoS 2000 visualization tool. $Revision: 1.6 $

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.kpat.models.ModelObject
_isGovernable, _name, _nameJTP, _policyList
 
Constructor Summary
ModelAgent(java.lang.String name, java.lang.String GUID, KAoSAgentDescription agentDesc, ModelPolicyList policyList, ModelAgentContainer agentContainer, ModelExecEnv execEnv)
          Constructor for an agent
 
Method Summary
 iModelAgentContainer getAgentContainer()
           
 KAoSAgentDescription getAgentDescription()
           
 iModelExecEnv getExecEnv()
           
 java.lang.String getGUID()
          Return the GUID of this Agent.
 java.lang.String getScope()
          Returns the scope
 java.lang.String toString()
          Required for JTree and JTable processing.
 
Methods inherited from class kaos.kpat.models.ModelObject
compareTo, getName, getNameJTP, getPolicies, isGovernable, setNameJTP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kaos.kpat.models.iModelObject
getName, getNameJTP, getPolicies, isGovernable
 

Constructor Detail

ModelAgent

public ModelAgent(java.lang.String name,
                  java.lang.String GUID,
                  KAoSAgentDescription agentDesc,
                  ModelPolicyList policyList,
                  ModelAgentContainer agentContainer,
                  ModelExecEnv execEnv)
Constructor for an agent

Method Detail

getGUID

public java.lang.String getGUID()
Return the GUID of this Agent.

Specified by:
getGUID in interface iModelAgent

getScope

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

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

toString

public java.lang.String toString()
Required for JTree and JTable processing.

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

getAgentContainer

public iModelAgentContainer getAgentContainer()
Specified by:
getAgentContainer in interface iModelAgent

getExecEnv

public iModelExecEnv getExecEnv()
Specified by:
getExecEnv in interface iModelAgent

getAgentDescription

public KAoSAgentDescription getAgentDescription()
Specified by:
getAgentDescription in interface iModelAgent