kaos.kpat.models
Class ModelActorClass

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

public class ModelActorClass
extends ModelObject
implements iModelActorClass, java.io.Serializable

Representation of a Domain for the KAoS 2000 visualization tool. $Revision: 1.3 $

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.kpat.models.ModelObject
_isGovernable, _name, _nameJTP, _policyList
 
Constructor Summary
ModelActorClass(java.lang.String name, boolean isGovernable, ModelPolicyList policies, ModelActorClassList subclasses)
          Constructor
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getScope()
          Returns the scope
 ModelActorClassList getSubclasses()
           
 java.lang.String ParseName(java.lang.String name)
          Returns short name from full name
 void setSubclasses(ModelActorClassList subclasses)
           
 java.lang.String toString()
          Returns the Domain name.
 
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

ModelActorClass

public ModelActorClass(java.lang.String name,
                       boolean isGovernable,
                       ModelPolicyList policies,
                       ModelActorClassList subclasses)
Constructor

Method Detail

ParseName

public java.lang.String ParseName(java.lang.String name)
Returns short name from full name


toString

public java.lang.String toString()
Returns the Domain name. This is used by JTree and JTable to display this entity.

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

getScope

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

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

setSubclasses

public void setSubclasses(ModelActorClassList subclasses)

getSubclasses

public ModelActorClassList getSubclasses()
Specified by:
getSubclasses in interface iModelActorClass

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object