public interface DataRecord
Modifier and Type | Method and Description |
---|---|
DataRecord |
addField(SweField field)
Adds field to field list
|
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
.Set<SweAbstractSimpleType<?>> getSweAbstractSimpleTypeFromFields(Class clazz)
Copyright © 2012-2015 52north.org. All Rights Reserved.