public class ArrayFeatureDataRow extends PropertyHandler implements uno.informatics.data.dataset.FeatureDataRow
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_PROPERTY |
| Constructor and Description |
|---|
ArrayFeatureDataRow(List<Object> values)
Creates a new ArrayFeatureDatasetRow using the given values.
|
ArrayFeatureDataRow(Object[] values)
Creates a new ArrayFeatureDatasetRow using the given values.
|
ArrayFeatureDataRow(uno.informatics.data.SimpleEntity header,
List<Object> values)
Creates a new ArrayFeatureDatasetRow using the given values.
|
ArrayFeatureDataRow(uno.informatics.data.SimpleEntity header,
Object[] values)
Creates a new ArrayFeatureDatasetRow using the given values.
|
| Modifier and Type | Method and Description |
|---|---|
static uno.informatics.data.dataset.FeatureDataRow |
createRow(boolean header,
List<Object> values)
Creates new ArrayFeatureDatasetRow
|
static uno.informatics.data.dataset.FeatureDataRow |
createRow(boolean header,
Object[] values)
Creates new ArrayFeatureDatasetRow
|
static uno.informatics.data.dataset.FeatureDataRow |
createRow(uno.informatics.data.SimpleEntity header,
List<Object> values)
Creates new ArrayFeatureDatasetRow
|
static uno.informatics.data.dataset.FeatureDataRow |
createRow(uno.informatics.data.SimpleEntity header,
Object[] values)
Creates new ArrayFeatureDatasetRow
|
int |
getColumnCount() |
uno.informatics.data.SimpleEntity |
getHeader() |
Object |
getValue(int columnIndex) |
List<Object> |
getValues() |
Object[] |
getValuesAsArray() |
void |
setHeader(uno.informatics.data.SimpleEntity header) |
addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, toStringpublic static final String HEADER_PROPERTY
public ArrayFeatureDataRow(Object[] values)
values - values for the new rowpublic ArrayFeatureDataRow(uno.informatics.data.SimpleEntity header,
Object[] values)
SimpleEntity.getName() if the object
implements SimpleEntity or using Object.toString()
otherwiseheader - the header of the rowvalues - values for the new rowpublic ArrayFeatureDataRow(List<Object> values)
values - values for the new rowpublic ArrayFeatureDataRow(uno.informatics.data.SimpleEntity header,
List<Object> values)
SimpleEntity.getName() if the object
implements SimpleEntity or using Object.toString()
otherwise.header - the header of the rowvalues - values for the new rowpublic final uno.informatics.data.SimpleEntity getHeader()
getHeader in interface uno.informatics.data.dataset.FeatureDataRowpublic final void setHeader(uno.informatics.data.SimpleEntity header)
public final List<Object> getValues()
getValues in interface uno.informatics.data.dataset.FeatureDataRowpublic final Object[] getValuesAsArray()
getValuesAsArray in interface uno.informatics.data.dataset.FeatureDataRowpublic final Object getValue(int columnIndex)
getValue in interface uno.informatics.data.dataset.FeatureDataRowpublic int getColumnCount()
getColumnCount in interface uno.informatics.data.dataset.FeatureDataRowpublic static uno.informatics.data.dataset.FeatureDataRow createRow(boolean header,
List<Object> values)
header - true if the first value the header,
false otherwisevalues - for the rowpublic static uno.informatics.data.dataset.FeatureDataRow createRow(boolean header,
Object[] values)
header - true if the first value the header,
false otherwisevalues - for the rowpublic static uno.informatics.data.dataset.FeatureDataRow createRow(uno.informatics.data.SimpleEntity header,
List<Object> values)
header - the header valuevalues - for the rowpublic static uno.informatics.data.dataset.FeatureDataRow createRow(uno.informatics.data.SimpleEntity header,
Object[] values)
header - the header valuevalues - for the rowCopyright © 2016. All rights reserved.