ist.palcom.resource.descriptor
Class PRDServiceList

java.lang.Object
  extended by ist.palcom.resource.descriptor.ASTNode
      extended by ist.palcom.resource.descriptor.AbstractXMLRepresentable
          extended by ist.palcom.resource.descriptor.PRDData
              extended by ist.palcom.resource.descriptor.PRDSecondOrderList
                  extended by ist.palcom.resource.descriptor.PRDServiceList
All Implemented Interfaces:
IHgraphNode, XMLRepresentable, java.lang.Cloneable

public class PRDServiceList
extends PRDSecondOrderList
implements java.lang.Cloneable


Field Summary
 
Fields inherited from class ist.palcom.resource.descriptor.PRDData
_node, FULLY_OPERATIONAL, NOT_OPERATIONAL, PARTIALLY_OPERATIONAL
 
Fields inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
getBrowserLabel_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
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
PRDServiceList()
           
PRDServiceList(LocalSID parentLocalSID)
           
PRDServiceList(LocalSID p0, List p1)
           
 
Method Summary
 void addChildFromXMLElement(XMLRepresentable child)
          The implementation up here is empty.
 void addPRDService(PRDService node)
           
 void addPRDServiceListItem(PRDServiceListItem node)
           
 void addPRDSubList(PRDSubList node)
           
 java.lang.Object clone()
           
 ASTNode copy()
           
 boolean equals(java.lang.Object o)
           
 void flushCache()
           
 ASTNode fullCopy()
           
 LocalSID getLocalSID()
           
 int getNumPRDServiceListItem()
           
 LocalSID getParentLocalSID()
           
 LocalSID getParentLocalSIDNoTransform()
           
 PRDData getPRDDataThatEquals(PRDData data)
           
 PRDData getPRDDataThatIsAboutTheSameEntityAs(PRDData data)
           
 PRDServiceListItem getPRDServiceListItem(int i)
           
 PRDServiceListItem getPRDServiceListItem(LocalSID localSID)
           
 List getPRDServiceListItemList()
           
 List getPRDServiceListItemListNoTransform()
           
 java.lang.String getTagName()
           
 int hashCode()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
 boolean isAboutTheSameEntityAs(PRDData data)
           
protected  int numChildren()
           
 void refined_PalcomResourceDescriptor_PRDServiceList()
           
 void refined_PalcomResourceDescriptor_setParentLocalSID(LocalSID node)
           
 void setParentLocalSID(LocalSID parentLocalSID)
           
 void setPRDServiceListItem(PRDServiceListItem node, int i)
           
 void setPRDServiceListItemList(List list)
           
 void writeXMLElement(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.resource.descriptor.PRDData
addNodeChild, getChildIterator, getFuncFunc, getName, getNodeName, getNodeParent, getPath, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
addToAssembly, getBrowserLabel, getXMLData, getXMLData, removeFromAssembly, toString
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, Define_AbstractResourceAddress_custServiceAddress, Define_AbstractResourceAddress_provServiceAddress, Define_CommandInfo_ci, Define_Device_parentDevice, 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, getChildArray, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setParent, updateIDfromEditor
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PRDServiceList

public PRDServiceList(LocalSID parentLocalSID)

PRDServiceList

public PRDServiceList(LocalSID p0,
                      List p1)

PRDServiceList

public PRDServiceList()
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class PRDSecondOrderList

clone

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

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

getPRDServiceListItem

public PRDServiceListItem getPRDServiceListItem(LocalSID localSID)

isAboutTheSameEntityAs

public boolean isAboutTheSameEntityAs(PRDData data)
Overrides:
isAboutTheSameEntityAs in class PRDData
Returns:
True if info and this info are for the same entity. This can be /**

getPRDDataThatEquals

public PRDData getPRDDataThatEquals(PRDData data)
Overrides:
getPRDDataThatEquals in class PRDData
Returns:
This data, if it equals data, or a contained data that equals data (i.e. contained, not only referenced by URN), or null. The implementation here just checks equals, subclasses override where needed.

getPRDDataThatIsAboutTheSameEntityAs

public PRDData getPRDDataThatIsAboutTheSameEntityAs(PRDData data)
Overrides:
getPRDDataThatIsAboutTheSameEntityAs in class PRDData
Returns:
This data, if it is about the same entity as data, or a contained data that is about the same entity as data (i.e. contained, not only referenced by URN), or null. The implementation here just checks isAboutTheSameEntityAs, subclasses override where needed.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractXMLRepresentable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getLocalSID

public LocalSID getLocalSID()
Overrides:
getLocalSID in class PRDData
Returns:
The LocalSID of the entity described, or null if not applicable.

addPRDService

public void addPRDService(PRDService node)

addPRDSubList

public void addPRDSubList(PRDSubList node)

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface XMLRepresentable
Specified by:
getTagName in class AbstractXMLRepresentable

initializeFromElement

public void initializeFromElement(XmlPullParser parser)
Description copied from interface: XMLRepresentable
Initialize the XMLRepresentable from the element where the parser is currently standing. When calling this method, the parser must be on the start tag of the element. After returning from the method, the parser will be at the end tag of the element.

Specified by:
initializeFromElement in interface XMLRepresentable

addChildFromXMLElement

public void addChildFromXMLElement(XMLRepresentable child)
Description copied from class: AbstractXMLRepresentable
The implementation up here is empty.

Specified by:
addChildFromXMLElement in interface XMLRepresentable
Overrides:
addChildFromXMLElement in class AbstractXMLRepresentable

writeXMLElement

public void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Specified by:
writeXMLElement in interface XMLRepresentable
Throws:
java.io.IOException

refined_PalcomResourceDescriptor_PRDServiceList

public void refined_PalcomResourceDescriptor_PRDServiceList()

numChildren

protected int numChildren()
Overrides:
numChildren in class PRDSecondOrderList

refined_PalcomResourceDescriptor_setParentLocalSID

public void refined_PalcomResourceDescriptor_setParentLocalSID(LocalSID node)

getParentLocalSID

public LocalSID getParentLocalSID()

getParentLocalSIDNoTransform

public LocalSID getParentLocalSIDNoTransform()

setPRDServiceListItemList

public void setPRDServiceListItemList(List list)

getNumPRDServiceListItem

public int getNumPRDServiceListItem()

getPRDServiceListItem

public PRDServiceListItem getPRDServiceListItem(int i)

addPRDServiceListItem

public void addPRDServiceListItem(PRDServiceListItem node)

setPRDServiceListItem

public void setPRDServiceListItem(PRDServiceListItem node,
                                  int i)

getPRDServiceListItemList

public List getPRDServiceListItemList()

getPRDServiceListItemListNoTransform

public List getPRDServiceListItemListNoTransform()

setParentLocalSID

public void setParentLocalSID(LocalSID parentLocalSID)