IDataInfoFactory
, java.io.Serializable
DataDouble.DataInfoDoubleFactory
, DataDoubleArray.DataInfoDoubleArrayFactory
, DataDoubleBDArray.DataInfoDoubleBDArrayFactory
, DataGroup.DataInfoGroupFactory
, DataTensor.DataInfoTensorFactory
, DataVector.DataInfoVectorFactory
public abstract class DataInfoFactory extends java.lang.Object implements java.io.Serializable, IDataInfoFactory
Modifier and Type | Field | Description |
---|---|---|
protected Dimension |
dimension |
|
protected java.lang.String |
label |
|
protected java.util.ArrayList |
tags |
Modifier | Constructor | Description |
---|---|---|
protected |
DataInfoFactory(IDataInfo template) |
Creates a new instance using the info held by the template.
|
Modifier and Type | Method | Description |
---|---|---|
Dimension |
getDimension() |
Returns the dimension
|
java.lang.String |
getLabel() |
Returns the label
|
DataTag[] |
getTags() |
Returns the factory's tags as an array.
|
abstract IDataInfo |
makeDataInfo() |
Creates a new DataInfo object using the information held by this factory.
|
void |
setDimension(Dimension newDimension) |
Sets the dimension
|
void |
setLabel(java.lang.String newLabel) |
Sets the label
|
void |
setTags(DataTag[] newTags) |
Sets the factory's tags to those in the given array.
|
protected java.lang.String label
protected Dimension dimension
protected java.util.ArrayList tags
protected DataInfoFactory(IDataInfo template)
public abstract IDataInfo makeDataInfo()
makeDataInfo
in interface IDataInfoFactory
public void setLabel(java.lang.String newLabel)
setLabel
in interface IDataInfoFactory
public java.lang.String getLabel()
getLabel
in interface IDataInfoFactory
public void setDimension(Dimension newDimension)
setDimension
in interface IDataInfoFactory
public Dimension getDimension()
getDimension
in interface IDataInfoFactory
public DataTag[] getTags()
IDataInfoFactory
getTags
in interface IDataInfoFactory
public void setTags(DataTag[] newTags)
IDataInfoFactory
setTags
in interface IDataInfoFactory