kaos.kpat.models
Class ModelHost

java.lang.Object
  extended by kaos.kpat.models.ModelObject
      extended by 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

Field Summary
 
Fields inherited from class kaos.kpat.models.ModelObject
_isGovernable, _name, _nameJTP, _policyList
 
Constructor Summary
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
 
Method Summary
 java.lang.Object clone()
          Deep clone.
 iModelDomain getDomain()
           
 ModelExecEnvList getExecEnvs()
           
 java.util.List getGuardIDs()
           
 java.lang.String getIP()
           
 java.lang.String getMAC()
           
 java.lang.String getOS()
           
 java.lang.String getScope()
          Returns the scope
 java.lang.String toString()
          Returns the name - this is 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kaos.kpat.models.iModelObject
getName, getNameJTP, getPolicies, isGovernable
 

Constructor Detail

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

Method Detail

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