ist.palcom.resource.descriptor
Class ServiceDecl
java.lang.Object
ist.palcom.resource.descriptor.ASTNode
ist.palcom.resource.descriptor.AbstractXMLRepresentable
ist.palcom.resource.descriptor.PRDData
ist.palcom.resource.descriptor.ServiceDecl
- All Implemented Interfaces:
- IHgraphNode, XMLRepresentable, java.lang.Cloneable
public class ServiceDecl
- extends PRDData
- implements java.lang.Cloneable
| Fields inherited from class ist.palcom.resource.descriptor.ASTNode |
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getIndent_visited, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, 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 |
| 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.ASTNode |
addASTtoList, addChild, Define_AbstractResourceAddress_custServiceAddress, Define_AbstractResourceAddress_provServiceAddress, Define_CommandInfo_ci, Define_Device_parentDevice, Define_NetworkNode_lookup, Define_PRDAssemblyVer_av, Define_Service_inhCust, Define_Service_inhProv, Define_Service_parentService, Define_String_expectedType, Define_Universe_universe, encloseInBraces, getChild, getChildNoTransform, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, remove, removeChild, reset, resetTree, setParent |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getServiceAddr_visited
protected boolean getServiceAddr_visited
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
getAssemblyLabel_visited
protected boolean getAssemblyLabel_visited
prettyPrintChildren_visited
protected boolean prettyPrintChildren_visited
ServiceDecl
public ServiceDecl()
ServiceDecl
public ServiceDecl(Identifier p0,
AbstractServiceDecl p1)
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
copy
public ASTNode copy()
- Overrides:
copy in class ASTNode
fullCopy
public ASTNode fullCopy()
- Overrides:
fullCopy in class ASTNode
listenForDiscovery
public void listenForDiscovery(ResourceAddressingManager man,
PalcomThread t,
boolean active)
getIDforEditing
public java.lang.String getIDforEditing()
- Description copied from class:
ASTNode
- get the ID (name, etc) of the attribute or child to be edited
when selecting the node.
- Overrides:
getIDforEditing in class ASTNode
updateIDfromEditor
public boolean updateIDfromEditor(java.lang.String id)
- Description copied from class:
ASTNode
- Set the new name (ID, etc).
- Overrides:
updateIDfromEditor in class ASTNode
- Returns:
- true if the tree was actually changed.
getChildArray
public java.lang.Object[] getChildArray()
- Description copied from class:
ASTNode
- Helper method for the TreeView
- Overrides:
getChildArray in class ASTNode
- Returns:
- The (interesting) children of a node, as an Object array
possibly bypassing levels in the tree or ignoring certain children.
getTagName
public java.lang.String getTagName()
- Specified by:
getTagName in interface XMLRepresentable- Specified by:
getTagName in class AbstractXMLRepresentable
writeXMLElement
public void writeXMLElement(KXmlSerializer serializer)
throws java.io.IOException
- Specified by:
writeXMLElement in interface XMLRepresentable
- Throws:
java.io.IOException
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
validateAddress
public void validateAddress(ResourceAddressingManager m)
addToAssembly
public void addToAssembly(Assembly a)
- Overrides:
addToAssembly in class AbstractXMLRepresentable
removeFromAssembly
public void removeFromAssembly(Assembly a)
- Overrides:
removeFromAssembly in class AbstractXMLRepresentable
numChildren
protected int numChildren()
- Overrides:
numChildren in class PRDData
setLocalName
public void setLocalName(Identifier node)
getLocalName
public Identifier getLocalName()
getLocalNameNoTransform
public Identifier getLocalNameNoTransform()
setDecl
public void setDecl(AbstractServiceDecl node)
getDecl
public AbstractServiceDecl getDecl()
getDeclNoTransform
public AbstractServiceDecl getDeclNoTransform()
getServiceAddr
public ServiceAddress getServiceAddr()
- Attribute used in name analysis. Named *Addr to avoid name clash
Declared in AssemblyNameAnalysis.jrag at line 117
lookupService
public ServiceDecl lookupService(AbstractResourceAddress sa)
lookupService
public ServiceDecl lookupService(Identifier id)
getErrorList
public java.util.ArrayList getErrorList()
- Overrides:
getErrorList in class ASTNode
getAssemblyLabel
public java.lang.String getAssemblyLabel()
- Overrides:
getAssemblyLabel in class ASTNode
prettyPrintChildren
public boolean prettyPrintChildren()
- Overrides:
prettyPrintChildren in class ASTNode
Define_Identifier_getLocalName
public Identifier Define_Identifier_getLocalName(ASTNode caller,
ASTNode child)
- Overrides:
Define_Identifier_getLocalName in class ASTNode