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 Constructor Description SweDataStream()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
getLabel
public String getLabel()
-
getIdentifier
public String getIdentifier()
-
setDescription
public SweDataStream setDescription(String description)
-
setLabel
public SweDataStream setLabel(String label)
-
setIdentifier
public SweDataStream setIdentifier(String identifier)
-
setValues
public SweDataStream setValues(List<List<String>> values)
- Parameters:
values- the values to set- Returns:
- This SweDataStream
-
getElementType
public SweAbstractDataComponent getElementType()
- Returns:
- the elementType
-
setElementType
public SweDataStream setElementType(SweAbstractDataComponent elementType)
- Parameters:
elementType- the elementType to set- Returns:
- This SweDataStream
-
getElementCount
public SweCount getElementCount()
-
getEncoding
public SweAbstractEncoding getEncoding()
-
setEncoding
public SweDataStream setEncoding(SweAbstractEncoding encoding)
-
isSetValues
public boolean isSetValues()
- Returns:
- true, if the values field is set properly
-
add
public boolean add(List<String> blockOfTokensToAddAtTheEnd)
- Parameters:
blockOfTokensToAddAtTheEnd- the blocks of tokens to add- Returns:
- true (as specified by
Collection.add(E))
false if block could not be added
-
getXml
public String getXml()
-
setXml
public SweDataStream setXml(String xml)
-
isSetXml
public boolean isSetXml()
-
isSetElementTyp
public boolean isSetElementTyp()
-
isSetEncoding
public boolean isSetEncoding()
-
setElementCount
public SweDataStream setElementCount(SweCount elementCount)
-
isSetElementCount
public boolean isSetElementCount()
-
isEmpty
public boolean isEmpty()
-
getDefaultElementEncoding
public String getDefaultElementEncoding()
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<SweDataStream>
-
setDefaultElementEncoding
public SweDataStream setDefaultElementEncoding(String defaultEncoding)
- Specified by:
setDefaultElementEncodingin interfaceHasDefaultEncoding<SweDataStream>
-
copy
public SweDataStream copy()
- Specified by:
copyin interfaceCopyable<SweDataStream>
-
-