ist.palcom.resource.descriptor
Class ConstantUse
java.lang.Object
ist.palcom.resource.descriptor.ASTNode
ist.palcom.resource.descriptor.AbstractXMLRepresentable
ist.palcom.resource.descriptor.PRDData
ist.palcom.resource.descriptor.Use
ist.palcom.resource.descriptor.ConstantUse
- All Implemented Interfaces:
- IHgraphNode, XMLRepresentable, java.lang.Cloneable
public class ConstantUse
- extends Use
- implements java.lang.Cloneable
| Fields inherited from class ist.palcom.resource.descriptor.ASTNode |
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, 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 |
| 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_Identifier_getLocalName, Define_NetworkNode_lookup, Define_PRDAssemblyVer_av, Define_Service_inhCust, Define_Service_inhProv, Define_Service_parentService, Define_String_expectedType, Define_Universe_universe, encloseInBraces, getChild, getChildArray, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setParent |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
isDeclared_visited
protected boolean isDeclared_visited
getAssemblyLabel_visited
protected boolean getAssemblyLabel_visited
ConstantUse
public ConstantUse(java.lang.String c)
ConstantUse
public ConstantUse()
ConstantUse
public ConstantUse(Identifier p0)
flushCache
public void flushCache()
- Overrides:
flushCache in class Use
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class Use
- Throws:
java.lang.CloneNotSupportedException
copy
public ASTNode copy()
- Overrides:
copy in class ASTNode
fullCopy
public ASTNode fullCopy()
- Overrides:
fullCopy 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.
getConstant
public java.lang.String getConstant()
setConstant
public void setConstant(java.lang.String c)
getValue
public byte[] getValue(CommandEvent env)
- Overrides:
getValue in class Use
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
numChildren
protected int numChildren()
- Overrides:
numChildren in class Use
setIdentifier
public void setIdentifier(Identifier node)
getIdentifier
public Identifier getIdentifier()
getIdentifierNoTransform
public Identifier getIdentifierNoTransform()
isDeclared
public boolean isDeclared()
- Overrides:
isDeclared in class Use
getAssemblyLabel
public java.lang.String getAssemblyLabel()
- Overrides:
getAssemblyLabel in class ASTNode