edu.washington.NVisF.dataIO
Class ObjectInfo
java.lang.Object
|
+--edu.washington.NVisF.dataIO.ObjectInfo
- public class ObjectInfo
- extends java.lang.Object
The ObjectInfo class provides meta-info regarding the data available
for a particular type of data object. It holds the name of the data
object and a set of DataField objects that represent the data fields
defined for this data object.
- See Also:
TypeInfo
,
DataField
Constructor Summary |
ObjectInfo(java.lang.String name,
DataField[] dataFields)
Constructs an ObjectInfo for a data object with the given name and
set of DataFields. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectInfo
public ObjectInfo(java.lang.String name,
DataField[] dataFields)
- Constructs an ObjectInfo for a data object with the given name and
set of DataFields.
- Throws:
NullPointerException
- if either argument is null- See Also:
DataField
getName
public java.lang.String getName()
- Returns the name of this data object.
- Returns:
- String the name
getDataFieldNames
public java.lang.String[] getDataFieldNames()
- Returns the names of all data fields for this data object.
- Returns:
- String[] the names
- See Also:
DataField
getScalarDataFieldNames
public java.lang.String[] getScalarDataFieldNames()
- Returns the names of all scalar data fields for this data object.
- Returns:
- String[] the names
- See Also:
DataField
getVectorDataFieldNames
public java.lang.String[] getVectorDataFieldNames()
- Returns the names of all vector data fields for this data object.
- Returns:
- String[] the names
- See Also:
DataField
getDataFields
public DataField[] getDataFields()