ist.palcom.resource.descriptor
Class CommandInfo
java.lang.Object
ist.palcom.resource.descriptor.ASTNode
ist.palcom.resource.descriptor.AbstractXMLRepresentable
ist.palcom.resource.descriptor.PRDData
ist.palcom.resource.descriptor.ControlInfo
ist.palcom.resource.descriptor.CommandInfo
- All Implemented Interfaces:
- IHgraphNode, XMLRepresentable, java.lang.Cloneable
public class CommandInfo
- extends ControlInfo
- implements java.lang.Cloneable
| Fields inherited from class ist.palcom.resource.descriptor.ASTNode |
CHANGE, children, 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 |
CommandInfo()
|
CommandInfo(java.lang.String id,
java.lang.String direction)
|
CommandInfo(java.lang.String p0,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
List p4)
|
| Methods inherited from class ist.palcom.resource.descriptor.PRDData |
addNodeChild, getChildIterator, getFuncFunc, getLocalSID, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getValueFunc, hasChildNamed, 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, getAssemblyLabel, getChild, 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 |
getBrowserLabel_visited
protected boolean getBrowserLabel_visited
lookupCommand_String_visited
protected java.util.Set lookupCommand_String_visited
lookupParam_String_visited
protected java.util.Set lookupParam_String_visited
encloseInBraces_visited
protected boolean encloseInBraces_visited
parentService_visited
protected boolean parentService_visited
CommandInfo
public CommandInfo(java.lang.String id,
java.lang.String direction)
CommandInfo
public CommandInfo()
CommandInfo
public CommandInfo(java.lang.String p0,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
List p4)
flushCache
public void flushCache()
- Overrides:
flushCache in class ControlInfo
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class ControlInfo
- Throws:
java.lang.CloneNotSupportedException
copy
public ASTNode copy()
- Overrides:
copy in class ASTNode
fullCopy
public ASTNode fullCopy()
- Overrides:
fullCopy in class ASTNode
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.
createInstance
public ControlItem createInstance()
- Specified by:
createInstance in class ControlInfo
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
/**
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class ControlInfo
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- Overrides:
initializeFromElement in class ControlInfo
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
numChildren
protected int numChildren()
- Overrides:
numChildren in class ControlInfo
refined_PalcomResourceDescriptor_setID
public void refined_PalcomResourceDescriptor_setID(java.lang.String value)
getID
public java.lang.String getID()
- Overrides:
getID in class ControlInfo
refined_PalcomResourceDescriptor_setHelp
public void refined_PalcomResourceDescriptor_setHelp(java.lang.String value)
getHelp
public java.lang.String getHelp()
- Overrides:
getHelp in class ControlInfo
refined_PalcomResourceDescriptor_setDirection
public void refined_PalcomResourceDescriptor_setDirection(java.lang.String value)
getDirection
public java.lang.String getDirection()
setName
public void setName(java.lang.String value)
getName
public java.lang.String getName()
- Overrides:
getName in class PRDData
setParamInfoList
public void setParamInfoList(List list)
getNumParamInfo
public int getNumParamInfo()
getParamInfo
public ParamInfo getParamInfo(int i)
addParamInfo
public void addParamInfo(ParamInfo node)
setParamInfo
public void setParamInfo(ParamInfo node,
int i)
getParamInfoList
public List getParamInfoList()
getParamInfoListNoTransform
public List getParamInfoListNoTransform()
setID
public void setID(java.lang.String ID)
- Overrides:
setID in class ControlInfo
setHelp
public void setHelp(java.lang.String help)
- Overrides:
setHelp in class ControlInfo
setDirection
public void setDirection(java.lang.String direc)
getBrowserLabel
public java.lang.String getBrowserLabel()
- Overrides:
getBrowserLabel in class AbstractXMLRepresentable
lookupCommand
public ControlInfo lookupCommand(java.lang.String id)
- Overrides:
lookupCommand in class ControlInfo
lookupParam
public ParamInfo lookupParam(java.lang.String id)
encloseInBraces
public boolean encloseInBraces()
- Overrides:
encloseInBraces in class ControlInfo
parentService
public Service parentService()