ist.palcom.resource.descriptor
Class AbstractServiceDecl

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.AbstractServiceDecl
All Implemented Interfaces:
IHgraphNode, XMLRepresentable
Direct Known Subclasses:
AltServiceDeclList, SingleServiceDecl

public abstract class AbstractServiceDecl
extends PRDData


Field Summary
protected  boolean getErrorList_visited
           
protected  boolean getLocalName_visited
           
protected  ist.palcom.resource.descriptor.ASTNode$State.HashtableBasedSet lookupService_AbstractResourceAddress_visited
           
protected  ist.palcom.resource.descriptor.ASTNode$State.HashtableBasedSet lookupService_Identifier_visited
           
 
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
children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getAssemblyLabel_visited, getIndent_visited, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, numChildren, parent, prettyPrintChildren_visited
 
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
AbstractServiceDecl()
           
 
Method Summary
 void flushCache()
           
 ArrayList getErrorList()
           
 Identifier getLocalName()
           
abstract  ServiceAddress getServiceAddr()
           
 void init$copy(java.lang.Object o)
           
abstract  boolean isAlternative()
           
abstract  void listenForDiscovery(ResourceAddressingManager man, PalcomThread t, boolean active)
           
 AbstractServiceDecl lookupService(AbstractResourceAddress sa)
           
 AbstractServiceDecl lookupService(Identifier id)
           
protected  int numChildren()
           
 void validateAddress(ResourceAddressingManager m)
           
 void writeXMLElement(KXmlSerializer serializer)
           
 void writeXMLElementBody(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.resource.descriptor.PRDData
addNodeChild, getChildIterator, getFuncFunc, getLocalSID, getName, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getValueFunc, hasChildNamed, isAboutTheSameEntityAs, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
addChildFromXMLElement, addToAssembly, equals, getBrowserLabel, getTagName, getXMLData, getXMLData, removeFromAssembly, toString
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, copy, Define_AbstractResourceAddress_custServiceAddress, 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_String_parentServiceName, Define_String_serviceKindFromSubList, Define_Universe_universe, encloseInBraces, fullCopy, getAssemblyLabel, getChild, getChildArray, getChildNoTransform, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, resetTree, setParent, state, updateIDfromEditor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ist.palcom.xml.XMLRepresentable
initializeFromElement
 

Field Detail

lookupService_AbstractResourceAddress_visited

protected ist.palcom.resource.descriptor.ASTNode$State.HashtableBasedSet lookupService_AbstractResourceAddress_visited

lookupService_Identifier_visited

protected ist.palcom.resource.descriptor.ASTNode$State.HashtableBasedSet lookupService_Identifier_visited

getErrorList_visited

protected boolean getErrorList_visited

getLocalName_visited

protected boolean getLocalName_visited
Constructor Detail

AbstractServiceDecl

public AbstractServiceDecl()
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class PRDData

init$copy

public void init$copy(java.lang.Object o)
Overrides:
init$copy in class PRDData

writeXMLElementBody

public void writeXMLElementBody(KXmlSerializer serializer)
                         throws java.io.IOException
Throws:
java.io.IOException

writeXMLElement

public void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Throws:
java.io.IOException

listenForDiscovery

public abstract void listenForDiscovery(ResourceAddressingManager man,
                                        PalcomThread t,
                                        boolean active)

validateAddress

public void validateAddress(ResourceAddressingManager m)

numChildren

protected int numChildren()
Overrides:
numChildren in class PRDData

isAlternative

public abstract boolean isAlternative()

getServiceAddr

public abstract ServiceAddress getServiceAddr()

lookupService

public AbstractServiceDecl lookupService(AbstractResourceAddress sa)

lookupService

public AbstractServiceDecl lookupService(Identifier id)

getErrorList

public ArrayList getErrorList()
Overrides:
getErrorList in class ASTNode

getLocalName

public Identifier getLocalName()