Package org.n52.shetland.ogc.swe
Class SweSimpleDataRecord
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.swe.SweAbstractDataRecord
org.n52.shetland.ogc.swe.SweSimpleDataRecord
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,DataRecord
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) Adds field to field listcopy()booleaninthashCode()toString()Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataRecord
existsFieldForIdentifier, getFieldByIdentifier, getFieldIndexByIdentifier, getFields, getSweAbstractSimpleTypeFromFields, isElementDefinition, isFieldName, isSetFields, setFieldsMethods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
addName, addName, addName, copyValueTo, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXmlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
Constructor Details
-
SweSimpleDataRecord
public SweSimpleDataRecord()
-
-
Method Details
-
getDataComponentType
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
addField
Description copied from interface:DataRecordAdds field to field list- Specified by:
addFieldin interfaceDataRecord- Overrides:
addFieldin classSweAbstractDataRecord- Parameters:
field- Field to add- Returns:
- this
-
hashCode
public int hashCode()- Overrides:
hashCodein classSweAbstractDataRecord
-
equals
- Overrides:
equalsin classSweAbstractDataRecord
-
toString
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
copy
- Specified by:
copyin interfaceCopyable<SweAbstractDataComponent>- Specified by:
copyin classSweAbstractDataRecord
-