|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.kpat.models.ModelObject
public abstract class ModelObject
ModelObject Abstract superclass for ModelAgent, ModelAgentContainer, ModelExecEnv, ModelHost, ModelDomain $Revision: 1.4 $
Field Summary | |
---|---|
protected boolean |
_isGovernable
|
protected java.lang.String |
_name
|
protected java.lang.String |
_nameJTP
|
protected ModelPolicyList |
_policyList
|
Constructor Summary | |
---|---|
ModelObject(java.lang.String name,
boolean isGovernable,
ModelPolicyList policyList)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
implements Comparable |
java.lang.String |
getName()
Returns the name of this ModelObject |
java.lang.String |
getNameJTP()
Returns the JTP compatible name of this ModelObject |
ModelPolicyList |
getPolicies()
Returns Polices for this ModelAgentContainer |
abstract java.lang.String |
getScope()
Returns the scope |
boolean |
isGovernable()
|
void |
setNameJTP(java.lang.String name)
Sets the JTP compatible name of this ModelObject |
abstract java.lang.String |
toString()
toString Used by the JTable for displaying an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String _name
protected java.lang.String _nameJTP
protected boolean _isGovernable
protected ModelPolicyList _policyList
Constructor Detail |
---|
public ModelObject(java.lang.String name, boolean isGovernable, ModelPolicyList policyList)
Method Detail |
---|
public abstract java.lang.String toString()
toString
in interface iModelObject
toString
in class java.lang.Object
public java.lang.String getName()
getName
in interface iModelObject
public java.lang.String getNameJTP()
getNameJTP
in interface iModelObject
public void setNameJTP(java.lang.String name)
public abstract java.lang.String getScope()
getScope
in interface iModelObject
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean isGovernable()
isGovernable
in interface iModelObject
public ModelPolicyList getPolicies()
getPolicies
in interface iModelObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |