Package org.n52.shetland.ogc.swe
Class SweDataStream
java.lang.Object
org.n52.shetland.ogc.swe.SweDataStream
- All Implemented Interfaces:
Copyable<SweDataStream>,HasDefaultEncoding<SweDataStream>
public class SweDataStream
extends Object
implements HasDefaultEncoding<SweDataStream>, Copyable<SweDataStream>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancopy()booleangetLabel()getXml()inthashCode()booleanisEmpty()booleanbooleanbooleanbooleanbooleanisSetXml()setDefaultElementEncoding(String defaultEncoding) setDescription(String description) setElementCount(SweCount elementCount) setElementType(SweAbstractDataComponent elementType) setEncoding(SweAbstractEncoding encoding) setIdentifier(String identifier) Methods 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
-
SweDataStream
public SweDataStream()
-
-
Method Details
-
getDescription
-
getLabel
-
getIdentifier
-
setDescription
-
setLabel
-
setIdentifier
-
getValues
- Returns:
- the values
-
setValues
- Parameters:
values- the values to set- Returns:
- This SweDataStream
-
getElementType
- Returns:
- the elementType
-
setElementType
- Parameters:
elementType- the elementType to set- Returns:
- This SweDataStream
-
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
-
getXml
-
setXml
-
isSetXml
public boolean isSetXml() -
hashCode
public int hashCode() -
equals
-
isSetElementTyp
public boolean isSetElementTyp() -
isSetEncoding
public boolean isSetEncoding() -
setElementCount
-
isSetElementCount
public boolean isSetElementCount() -
isEmpty
public boolean isEmpty() -
getDefaultElementEncoding
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<SweDataStream>
-
setDefaultElementEncoding
- Specified by:
setDefaultElementEncodingin interfaceHasDefaultEncoding<SweDataStream>
-
copy
- Specified by:
copyin interfaceCopyable<SweDataStream>
-