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
public class SweSimpleDataRecord extends SweAbstractDataRecord
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SweSimpleDataRecord()
-
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)SweSimpleDataRecordaddField(SweField field)Adds field to field listSweSimpleDataRecordcopy()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 SweSimpleDataRecord 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 SweSimpleDataRecord copy()
- Specified by:
copyin interfaceCopyable<SweAbstractDataComponent>- Specified by:
copyin classSweAbstractDataRecord
-
-