Package org.n52.shetland.ogc.swe
Class SweDataRecord
- java.lang.Object
-
- org.n52.shetland.ogc.swe.SweAbstractDataComponent
-
- org.n52.shetland.ogc.swe.SweAbstractDataRecord
-
- org.n52.shetland.ogc.swe.SweDataRecord
-
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,DataRecord
public class SweDataRecord extends SweAbstractDataRecord
SOS internal representation of SWE dataRecord- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SweDataRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,X extends Throwable>
Taccept(SweDataComponentVisitor<T,X> visitor)<X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor)SweDataRecordaddField(SweField field)Adds field to field listSweDataRecordcopy()booleanequals(Object obj)SweConstants.SweDataComponentTypegetDataComponentType()inthashCode()StringtoString()-
Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataRecord
existsFieldForIdentifier, getFieldByIdentifier, getFieldIndexByIdentifier, getFields, getSweAbstractSimpleTypeFromFields, isElementDefinition, isFieldName, isSetFields, setFields
-
Methods 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, setXml
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
-
-
-
Method Detail
-
getDataComponentType
public SweConstants.SweDataComponentType getDataComponentType()
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
addField
public SweDataRecord addField(SweField field)
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
public boolean equals(Object obj)
- Overrides:
equalsin classSweAbstractDataRecord
-
accept
public <T,X extends Throwable> T accept(SweDataComponentVisitor<T,X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
accept
public <X extends Throwable> void accept(VoidSweDataComponentVisitor<X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
copy
public SweDataRecord copy()
- Specified by:
copyin interfaceCopyable<SweAbstractDataComponent>- Specified by:
copyin classSweAbstractDataRecord
-
-