|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.datanode.nodes.DataType
public class DataType
Enumeration-like class describing types of data object which can be supplied by a DataNode. This is intended to cover the sort of object - like a table or array - which can have useful things done to it by external applications. It's not designed to enumerate a fine-grained list of all possible objects which might relate to a node.
Field Summary | |
---|---|
static DataType |
DATA_SOURCE
DataType representing a DataSource object. |
static DataType |
NDX
DataType representing a Ndx object. |
static DataType |
TABLE
DataType representing a StarTable object. |
Constructor Summary | |
---|---|
protected |
DataType(String name,
Class clazz)
Constructs a new DataType. |
Method Summary | |
---|---|
Class |
getDataClass()
Returns the class of data object corresponding to this type. |
String |
getName()
Returns the name of this type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DataType TABLE
StarTable
object.
public static final DataType NDX
Ndx
object.
public static final DataType DATA_SOURCE
DataSource
object.
Constructor Detail |
---|
protected DataType(String name, Class clazz)
name
- type nameclazz
- class of data object corresponding to this typeMethod Detail |
---|
public String getName()
public Class getDataClass()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |