public class BranchDataNode extends DefaultDataNode
| Constructor and Description | 
|---|
| BranchDataNode(Branch branch) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | allowsChildren()The  DefaultDataNodeimplementation of this method returnsfalse. | 
| Iterator | getChildIterator()The  DefaultDataNodeimplementation of this method throwsUnsupportedOperationException(DefaultDataNode.allowsChildren()is false). | 
| Icon | getIcon()Returns a default icon, unless setIconID has been called, in which
 case it returns the one indicated by that call. | 
| String | getNodeTLA()The  DefaultDataNodeimplementation returns the string "...". | 
| String | getNodeType()Returns a short sentence indicating what kind of node this is. | 
| Object | getParentObject()Returns an object which is in some sense the parent of the one
 this node is based on. | 
| String | getPathElement()The  DefaultDataNodeimplementation 
 returns the label as a default path element. | 
| String | getPathSeparator()Returns a default separator string. | 
| void | setConnection(Connection connection)Sets the Connection object associated with this branch. | 
| void | setPath(String path)Sets the absolute path of this node. | 
beep, configureDetail, getChildMaker, getCreator, getDataObject, getDescription, getLabel, getName, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toStringpublic BranchDataNode(Branch branch)
public void setConnection(Connection connection)
connection - connection from which this item is derivedpublic boolean allowsChildren()
DefaultDataNodeDefaultDataNode implementation of this method returns 
 false.allowsChildren in interface DataNodeallowsChildren in class DefaultDataNodetrue if the node is of a type which can have
           child nodes, false otherwisepublic Iterator getChildIterator()
DefaultDataNodeDefaultDataNode implementation of this method throws
 UnsupportedOperationException 
 (DefaultDataNode.allowsChildren() is false).getChildIterator in interface DataNodegetChildIterator in class DefaultDataNodeIterator over the children.  Each object
          iterated over should be a DataNode.
          Behaviour is undefined if this method is called on an
          object for which allowsChildren returns 
          false.public void setPath(String path)
public Object getParentObject()
DataNodeDataNode,
 it is something which may get fed to a DataNodeFactory 
 to create DataNode.  If no such object exists, which 
 may well be the case, null should be returned.getParentObject in interface DataNodegetParentObject in class DefaultDataNodenullpublic String getPathSeparator()
DefaultDataNodegetPathSeparator in interface DataNodegetPathSeparator in class DefaultDataNodepublic String getPathElement()
DefaultDataNodeDefaultDataNode implementation 
 returns the label as a default path element.getPathElement in interface DataNodegetPathElement in class DefaultDataNodepublic Icon getIcon()
DefaultDataNodegetIcon in interface DataNodegetIcon in class DefaultDataNodepublic String getNodeTLA()
DefaultDataNodeDefaultDataNode implementation returns the string "...".getNodeTLA in interface DataNodegetNodeTLA in class DefaultDataNodepublic String getNodeType()
DataNodegetNodeType in interface DataNodegetNodeType in class DefaultDataNodeDataNodeCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.