ist.palcom.resource.descriptor
Class Group
java.lang.Object
ist.palcom.resource.descriptor.ASTNode
ist.palcom.resource.descriptor.ControlItem
ist.palcom.resource.descriptor.Group
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ServiceProxy
public class Group
- extends ControlItem
- implements java.lang.Cloneable
| Fields inherited from class ist.palcom.resource.descriptor.ASTNode |
CHANGE, children, encloseInBraces_visited, 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 |
| 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, getAssemblyLabel, getChild, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setChild, setParent, updateIDfromEditor |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBrowserLabel_visited
protected boolean getBrowserLabel_visited
Group
public Group(java.lang.String id)
Group
public Group()
Group
public Group(GroupInfo p0,
List p1)
flushCache
public void flushCache()
- Overrides:
flushCache in class ControlItem
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class ControlItem
- 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.
getInfoAsInfo
public PRDData getInfoAsInfo()
- Description copied from class:
ControlItem
- Workaround for static typing.
- Specified by:
getInfoAsInfo in class ControlItem
getHelp
public java.lang.String getHelp()
setHelp
public void setHelp(java.lang.String help)
findCommand
public Command findCommand(java.lang.String id,
java.lang.String direction)
findItem
public ControlItem findItem(java.lang.String id)
- Description copied from class:
ControlItem
- Returns the ControlItem within the sub-tree rooted at this ControlItem
that has the sought ID, or null if none exists.
This method is overridden in appropriate subclasses.
- Overrides:
findItem in class ControlItem
findMatchingCommand
public Command findMatchingCommand(Command command)
- Implements this method for groups (overrides the method in ControlItem).
Searches the subtree for matches.
- Overrides:
findMatchingCommand in class ControlItem
setDataRefsAndAddDataToList
public void setDataRefsAndAddDataToList(java.util.ArrayList dataList)
- Specified by:
setDataRefsAndAddDataToList in class ControlItem
setDataAccordingToDataRefs
public void setDataAccordingToDataRefs(byte[][] data)
- Specified by:
setDataAccordingToDataRefs in class ControlItem
addControlItemAndInfo
public void addControlItemAndInfo(ControlItem item)
isAboutTheSameEntityAs
public boolean isAboutTheSameEntityAs(PRDData data)
numChildren
protected int numChildren()
- Overrides:
numChildren in class ControlItem
setInfo
public void setInfo(GroupInfo node)
getInfo
public GroupInfo getInfo()
getInfoNoTransform
public GroupInfo getInfoNoTransform()
setControlItemList
public void setControlItemList(List list)
getNumControlItem
public int getNumControlItem()
getControlItem
public ControlItem getControlItem(int i)
addControlItem
public void addControlItem(ControlItem node)
setControlItem
public void setControlItem(ControlItem node,
int i)
getControlItemList
public List getControlItemList()
getControlItemListNoTransform
public List getControlItemListNoTransform()
getBrowserLabel
public java.lang.String getBrowserLabel()
- Overrides:
getBrowserLabel in class ControlItem