Package org.n52.shetland.ogc.swe
Class SweField
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.swe.SweField
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>
SOS internal representation of SWE field
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSweField(String name, SweAbstractDataComponent element) constructorSweField(CodeType name, SweAbstractDataComponent element) -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) copy()booleaninthashCode()setElement(SweAbstractDataComponent element) toString()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, 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
-
SweField
-
SweField
-
SweField
constructor- Parameters:
name- Field nameelement- Field element
-
SweField
-
-
Method Details
-
getElement
- Returns:
- the element
-
setElement
- Parameters:
element- the element to set- Returns:
- This SweField
-
hashCode
public int hashCode()- Overrides:
hashCodein classSweAbstractDataComponent
-
equals
- Overrides:
equalsin classSweAbstractDataComponent
-
toString
-
getDataComponentType
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
copy
-