public class StarTableDataNode extends DefaultDataNode
Constructor and Description |
---|
StarTableDataNode(DataSource datsrc) |
StarTableDataNode(StarTable startable) |
StarTableDataNode(String loc) |
Modifier and Type | Method and Description |
---|---|
Object |
getDataObject(DataType dtype)
The
DefaultDataNode implementation returns any data object
which has been registered using DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object) . |
String |
getDescription()
Gets a concise description of this object.
|
String |
getName()
Gets the name of this object.
|
String |
getNodeTLA()
The
DefaultDataNode implementation returns the string "...". |
String |
getNodeType()
Returns a short sentence indicating what kind of node this is.
|
static StarTableFactory |
getTableFactory() |
boolean |
hasDataObject(DataType dtype)
The
DefaultDataNode implementation returns true for
only those data objects which have been registered using
DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object) . |
static StarTable |
makeStarTable(DataSource datsrc) |
static StarTable |
makeStarTable(String loc) |
allowsChildren, beep, configureDetail, getChildIterator, getChildMaker, getCreator, getIcon, getLabel, getParentObject, getPathElement, getPathSeparator, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toString
public StarTableDataNode(StarTable startable)
public StarTableDataNode(String loc) throws NoSuchDataException
NoSuchDataException
public StarTableDataNode(DataSource datsrc) throws NoSuchDataException
NoSuchDataException
public String getName()
DataNode
getName
in interface DataNode
getName
in class DefaultDataNode
public String getDescription()
DataNode
getName
method, since they may be presented together.
It should be on one line, and preferably no longer than around
70 characters. The null
value may be returned if
there is nothing to say.getDescription
in interface DataNode
getDescription
in class DefaultDataNode
public String getNodeTLA()
DefaultDataNode
DefaultDataNode
implementation returns the string "...".getNodeTLA
in interface DataNode
getNodeTLA
in class DefaultDataNode
public String getNodeType()
DataNode
getNodeType
in interface DataNode
getNodeType
in class DefaultDataNode
DataNode
public boolean hasDataObject(DataType dtype)
DefaultDataNode
DefaultDataNode
implementation returns true for
only those data objects which have been registered using
DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object)
.hasDataObject
in interface DataNode
hasDataObject
in class DefaultDataNode
dtype
- data object type of interestgetDataObject(type)
is likely to be successfulpublic Object getDataObject(DataType dtype) throws DataObjectException
DefaultDataNode
DefaultDataNode
implementation returns any data object
which has been registered using DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object)
.getDataObject
in interface DataNode
getDataObject
in class DefaultDataNode
dtype
- data object type of interesttype
DataObjectException
public static StarTable makeStarTable(String loc) throws NoSuchDataException
NoSuchDataException
public static StarTable makeStarTable(DataSource datsrc) throws NoSuchDataException
NoSuchDataException
public static StarTableFactory getTableFactory()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.