Package org.n52.shetland.ogc.swe
Interface DataRecord
- All Known Implementing Classes:
SweAbstractDataRecord,SweDataRecord,SweSimpleDataRecord
public interface DataRecord
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionAdds field to field listbooleanexistsFieldForIdentifier(String fieldNameOrElementDefinition) getFieldByIdentifier(String fieldNameOrElementDefinition) intgetFieldIndexByIdentifier(String fieldNameOrElementDefinition) Return the index of the first field with the given fieldNameOrElementDefinition or -1 if not found.getSweAbstractSimpleTypeFromFields(Class<?> clazz) booleanCheck if there are field elements
-
Method Details
-
getFields
- Returns:
- the fields
-
setFields
- Parameters:
fields- the fields to set- Returns:
- this
-
addField
Adds field to field list- Parameters:
field- Field to add- Returns:
- this
-
isSetFields
boolean isSetFields()Check if there are field elements- Returns:
- Fields not empty
-
getFieldIndexByIdentifier
Return the index of the first field with the given fieldNameOrElementDefinition or -1 if not found.- Parameters:
fieldNameOrElementDefinition- a definition identifying aSweFieldin thisDataRecord.- Returns:
- the index of the first field with the given fieldDefinition or -1 if not found.
-
getFieldByIdentifier
-
existsFieldForIdentifier
-
getSweAbstractSimpleTypeFromFields
-