Package org.n52.shetland.ogc.swe
Class SweAbstractDataComponent
- java.lang.Object
-
- org.n52.shetland.ogc.swe.SweAbstractDataComponent
-
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>
- Direct Known Subclasses:
SmlDataInterface,SmlFeatureOfInterest,SmlPosition,StreamingSweDataArray,SweAbstractDataRecord,SweAbstractSimpleType,SweDataArray,SweEnvelope,SweField,SweVector
public abstract class SweAbstractDataComponent extends Object implements HasDefaultEncoding<SweAbstractDataComponent>, Copyable<SweAbstractDataComponent>
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SweAbstractDataComponent()
-
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
-
getDefinition
public String getDefinition()
-
getDescription
public String getDescription()
-
getLabel
public String getLabel()
-
getName
public CodeType getName()
-
getIdentifier
public String getIdentifier()
-
setDefinition
public SweAbstractDataComponent setDefinition(String definition)
-
setDescription
public SweAbstractDataComponent setDescription(String description)
-
setLabel
public SweAbstractDataComponent setLabel(String label)
-
addName
public SweAbstractDataComponent addName(String name)
-
addName
public SweAbstractDataComponent addName(CodeType name)
-
addName
public SweAbstractDataComponent addName(Collection<CodeType> names)
-
setName
public SweAbstractDataComponent setName(String name)
-
setName
public SweAbstractDataComponent setName(CodeType name)
-
setName
public SweAbstractDataComponent setName(Collection<CodeType> names)
-
setIdentifier
public SweAbstractDataComponent setIdentifier(String identifier)
-
getXml
public String getXml()
-
setXml
public SweAbstractDataComponent setXml(String xml)
-
isSetDefinition
public boolean isSetDefinition()
-
isSetDescription
public boolean isSetDescription()
-
isSetLabel
public boolean isSetLabel()
-
isSetName
public boolean isSetName()
-
isSetNames
public boolean isSetNames()
-
isSetIdentifier
public boolean isSetIdentifier()
-
isSetXml
public boolean isSetXml()
-
getDefaultElementEncoding
public String getDefaultElementEncoding()
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<SweAbstractDataComponent>
-
setDefaultElementEncoding
public SweAbstractDataComponent setDefaultElementEncoding(String defaultEncoding)
- Specified by:
setDefaultElementEncodingin interfaceHasDefaultEncoding<SweAbstractDataComponent>
-
getDataComponentType
public abstract SweConstants.SweDataComponentType getDataComponentType()
-
accept
public abstract <T,X extends Throwable> T accept(SweDataComponentVisitor<T,X> visitor) throws X extends Throwable
- Throws:
X extends Throwable
-
accept
public abstract <X extends Throwable> void accept(VoidSweDataComponentVisitor<X> visitor) throws X extends Throwable
- Throws:
X extends Throwable
-
copyValueTo
public SweAbstractDataComponent copyValueTo(SweAbstractDataComponent copy)
Copies all values from thisSweAbstractDataComponentto the passed- Parameters:
copy-SweAbstractDataComponentto copy values to- Returns:
- Copy of this
-
-