kaos.kpat.models
Class ModelHost
java.lang.Object
kaos.kpat.models.ModelObject
kaos.kpat.models.ModelHost
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, iModelHost, iModelObject
public class ModelHost
- extends ModelObject
- implements iModelHost, java.io.Serializable
Representation of a Host for the KAoS 2000 visualization tool.
$Revision: 1.2 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModelHost
public ModelHost(java.lang.String name,
java.lang.String IP,
java.lang.String MAC,
java.lang.String OS,
java.util.List guardIDs,
ModelPolicyList policies,
ModelExecEnvList execEnvs,
ModelDomain domain)
- Constructor for host
clone
public java.lang.Object clone()
- Deep clone.
- Overrides:
clone
in class java.lang.Object
getIP
public java.lang.String getIP()
- Specified by:
getIP
in interface iModelHost
getMAC
public java.lang.String getMAC()
- Specified by:
getMAC
in interface iModelHost
getOS
public java.lang.String getOS()
- Specified by:
getOS
in interface iModelHost
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 iModelHost
getExecEnvs
public ModelExecEnvList getExecEnvs()
- Specified by:
getExecEnvs
in interface iModelHost
getDomain
public iModelDomain getDomain()
- Specified by:
getDomain
in interface iModelHost
toString
public java.lang.String toString()
- Returns the name - this is required for JTree and JTable processing
- Specified by:
toString
in interface iModelObject
- Specified by:
toString
in class ModelObject