public interface DataRecord
| Modifier and Type | Method and Description |
|---|---|
DataRecord |
addField(SweField field)
Adds field to field list
|
boolean |
existsFieldForIdentifier(String fieldNameOrElementDefinition) |
SweAbstractDataComponent |
getFieldByIdentifier(String fieldNameOrElementDefinition) |
int |
getFieldIndexByIdentifier(String fieldNameOrElementDefinition)
Return the index of the first field with the given
fieldNameOrElementDefinition or -1 if not found.
|
List<SweField> |
getFields() |
Set<SweAbstractSimpleType<?>> |
getSweAbstractSimpleTypeFromFields(Class<?> clazz) |
boolean |
isSetFields()
Check if there are field elements
|
DataRecord |
setFields(List<SweField> fields) |
DataRecord setFields(List<SweField> fields)
fields - the fields to setDataRecord addField(SweField field)
field - Field to addboolean isSetFields()
int getFieldIndexByIdentifier(String fieldNameOrElementDefinition)
fieldNameOrElementDefinition - a definition identifying a SweField in this
DataRecord.SweAbstractDataComponent getFieldByIdentifier(String fieldNameOrElementDefinition)
boolean existsFieldForIdentifier(String fieldNameOrElementDefinition)
Set<SweAbstractSimpleType<?>> getSweAbstractSimpleTypeFromFields(Class<?> clazz)
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.