ist.palcom.resource.descriptor
Class Device

java.lang.Object
  extended by ist.palcom.resource.descriptor.ASTNode
      extended by ist.palcom.resource.descriptor.NetworkNode
          extended by ist.palcom.resource.descriptor.Device
All Implemented Interfaces:
java.lang.Cloneable

public class Device
extends NetworkNode
implements java.lang.Cloneable


Field Summary
protected  boolean getAddress_visited
           
protected  boolean getBrowserLabel_visited
           
protected  boolean getName_visited
           
protected  boolean getNumServiceListPart_visited
           
protected  java.util.Set getServiceListPart_int_visited
           
protected  java.util.Set isResource_AbstractResourceAddress_visited
           
protected  java.util.Set localLookup_Object_visited
           
protected  java.util.Set matches_Object_visited
           
protected  java.util.Set matchesInfo_Info_visited
           
 
Fields inherited from class ist.palcom.resource.descriptor.NetworkNode
lookup_Object_visited, universe_visited
 
Fields inherited from class ist.palcom.resource.descriptor.ASTNode
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getAssemblyLabel_visited, getErrorList_visited, getIndent_visited, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, prettyPrintChildren_visited, RESET_CYCLE
 
Constructor Summary
Device()
           
Device(DeviceInfo p0, List p1)
           
 
Method Summary
 void addService(ServiceListPart node)
           
 java.lang.Object clone()
           
 ASTNode copy()
           
 Device Define_Device_parentDevice(ASTNode caller, ASTNode child)
           
 void flushCache()
           
 ASTNode fullCopy()
           
 DeviceAddress getAddress()
           
 java.lang.String getBrowserLabel()
           
 java.lang.Object[] getChildArray()
          Helper method for the TreeView
 DeviceInfo getInfo()
           
 DeviceInfo getInfoNoTransform()
           
 java.lang.String getName()
           
 int getNumService()
           
 int getNumServiceListPart()
           
 ServiceListPart getService(int i)
           
 List getServiceList()
           
 List getServiceListNoTransform()
           
 ServiceListPart getServiceListPart(int i)
           
 boolean isResource(AbstractResourceAddress a)
           
 NetworkNode localLookup(java.lang.Object o)
           
 boolean matches(java.lang.Object o)
           
 boolean matchesInfo(Info i)
           
protected  int numChildren()
           
 void setInfo(DeviceInfo node)
           
 void setService(ServiceListPart node, int i)
           
 void setServiceList(List list)
           
 java.lang.String toString()
           
 
Methods inherited from class ist.palcom.resource.descriptor.NetworkNode
getStatus, getStatusHelpText, isNotOK, lookup, setLatestStatus, setLatestStatus, universe
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, Define_AbstractResourceAddress_custServiceAddress, Define_AbstractResourceAddress_provServiceAddress, Define_CommandInfo_ci, Define_Identifier_getLocalName, Define_NetworkNode_lookup, Define_PRDAssemblyVer_av, Define_Service_inhCust, Define_Service_inhProv, Define_Service_parentService, Define_String_expectedType, Define_Universe_universe, encloseInBraces, getAssemblyLabel, getChild, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setChild, setParent, updateIDfromEditor
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

getBrowserLabel_visited

protected boolean getBrowserLabel_visited

localLookup_Object_visited

protected java.util.Set localLookup_Object_visited

isResource_AbstractResourceAddress_visited

protected java.util.Set isResource_AbstractResourceAddress_visited

matchesInfo_Info_visited

protected java.util.Set matchesInfo_Info_visited

matches_Object_visited

protected java.util.Set matches_Object_visited

getName_visited

protected boolean getName_visited

getAddress_visited

protected boolean getAddress_visited

getNumServiceListPart_visited

protected boolean getNumServiceListPart_visited

getServiceListPart_int_visited

protected java.util.Set getServiceListPart_int_visited
Constructor Detail

Device

public Device()

Device

public Device(DeviceInfo p0,
              List p1)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class NetworkNode

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class NetworkNode
Throws:
java.lang.CloneNotSupportedException

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

getChildArray

public java.lang.Object[] getChildArray()
Description copied from class: ASTNode
Helper method for the TreeView

Overrides:
getChildArray in class NetworkNode
Returns:
The (interesting) children of a node, as an Object array possibly bypassing levels in the tree or ignoring certain children.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

numChildren

protected int numChildren()
Overrides:
numChildren in class NetworkNode

setInfo

public void setInfo(DeviceInfo node)

getInfo

public DeviceInfo getInfo()

getInfoNoTransform

public DeviceInfo getInfoNoTransform()

setServiceList

public void setServiceList(List list)

getNumService

public int getNumService()

getService

public ServiceListPart getService(int i)

addService

public void addService(ServiceListPart node)

setService

public void setService(ServiceListPart node,
                       int i)

getServiceList

public List getServiceList()

getServiceListNoTransform

public List getServiceListNoTransform()

getBrowserLabel

public java.lang.String getBrowserLabel()
Overrides:
getBrowserLabel in class ASTNode

localLookup

public NetworkNode localLookup(java.lang.Object o)

isResource

public boolean isResource(AbstractResourceAddress a)
Overrides:
isResource in class NetworkNode

matchesInfo

public boolean matchesInfo(Info i)
Overrides:
matchesInfo in class NetworkNode

matches

public boolean matches(java.lang.Object o)
Overrides:
matches in class NetworkNode

getName

public java.lang.String getName()

getAddress

public DeviceAddress getAddress()

getNumServiceListPart

public int getNumServiceListPart()
Overrides:
getNumServiceListPart in class NetworkNode

getServiceListPart

public ServiceListPart getServiceListPart(int i)
Overrides:
getServiceListPart in class NetworkNode

Define_Device_parentDevice

public Device Define_Device_parentDevice(ASTNode caller,
                                         ASTNode child)
Overrides:
Define_Device_parentDevice in class ASTNode