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, java.lang.Cloneable
Direct Known Subclasses:
AltServiceDeclList, SingleServiceDecl

public abstract class AbstractServiceDecl
extends PRDData
implements java.lang.Cloneable


Field Summary
protected  boolean getErrorList_visited
           
protected  boolean getLocalName_visited
           
protected  java.util.Set lookupService_AbstractResourceAddress_visited
           
protected  java.util.Set 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
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getAssemblyLabel_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
AbstractServiceDecl()
           
 
Method Summary
 java.lang.Object clone()
           
 void flushCache()
           
 java.util.ArrayList getErrorList()
           
 Identifier getLocalName()
           
abstract  ServiceAddress getServiceAddr()
           
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_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, fullCopy, getAssemblyLabel, getChild, getChildArray, getChildNoTransform, 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, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ist.palcom.xml.XMLRepresentable
initializeFromElement
 

Field Detail

lookupService_AbstractResourceAddress_visited

protected java.util.Set lookupService_AbstractResourceAddress_visited

lookupService_Identifier_visited

protected java.util.Set 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

clone

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

writeXMLElementBody

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

writeXMLElement

public void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Specified by:
writeXMLElement in interface XMLRepresentable
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 java.util.ArrayList getErrorList()
Overrides:
getErrorList in class ASTNode

getLocalName

public Identifier getLocalName()