kaos.kpat.models
Class ModelGuard

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

public class ModelGuard
extends ModelObject
implements iModelGuard, java.io.Serializable

Representation of Model Guard

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.kpat.models.ModelObject
_isGovernable, _name, _nameJTP, _policyList
 
Constructor Summary
ModelGuard(java.lang.String guardID, KAoSGuardDescription guardDesc)
          Constructor for a guard
 
Method Summary
 KAoSGuardDescription getGuardDescription()
           
 java.lang.String getGuardID()
          Return the Gard ID.
 java.lang.String getScope()
          Returns the scope
 java.lang.String toString()
          Required for JTree.
 
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
 

Constructor Detail

ModelGuard

public ModelGuard(java.lang.String guardID,
                  KAoSGuardDescription guardDesc)
Constructor for a guard

Method Detail

getGuardID

public java.lang.String getGuardID()
Return the Gard ID.

Specified by:
getGuardID in interface iModelGuard

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.

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

getGuardDescription

public KAoSGuardDescription getGuardDescription()
Specified by:
getGuardDescription in interface iModelGuard