Package org.n52.shetland.ogc.swe
Class SweDataArray
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.swe.SweDataArray
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) booleanbooleancopy()booleaninthashCode()booleanisEmpty()booleanbooleanbooleanbooleansetElementCount(SweCount elementCount) setElementType(SweAbstractDataComponent elementType) setEncoding(SweAbstractEncoding encoding) 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, toString, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
Constructor Details
-
SweDataArray
public SweDataArray()
-
-
Method Details
-
getValues
- Returns:
- the values
-
setValues
- Parameters:
values- the values to set- Returns:
- This SweDataArray
-
getValueAsString
-
getElementType
- Returns:
- the elementType
-
setElementType
- Parameters:
elementType- the elementType to set- Returns:
- This SweDataArray
-
getElementCount
-
getEncoding
-
setEncoding
-
isSetValues
public boolean isSetValues()- Returns:
- true, if the values field is set properly
-
add
- Parameters:
blockOfTokensToAddAtTheEnd- the blocks of tokens to add- Returns:
- true (as specified by
Collection.add(E))
false if block could not be added
-
addAll
-
hashCode
public int hashCode()- Overrides:
hashCodein classSweAbstractDataComponent
-
equals
- Overrides:
equalsin classSweAbstractDataComponent
-
isSetElementTyp
public boolean isSetElementTyp() -
isSetEncoding
public boolean isSetEncoding() -
setElementCount
-
isSetElementCount
public boolean isSetElementCount() -
isEmpty
public boolean isEmpty() -
getDataComponentType
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
copy
-