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 -
Method Summary
Modifier and TypeMethodDescriptionabstract <T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) abstract <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) addName(Collection<CodeType> names) Copies all values from thisSweAbstractDataComponentto the passedbooleanabstract SweConstants.SweDataComponentTypegetLabel()getName()getNames()getXml()inthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanisSetXml()setDefaultElementEncoding(String defaultEncoding) setDefinition(String definition) setDescription(String description) setIdentifier(String identifier) setName(Collection<CodeType> names) 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
-
SweAbstractDataComponent
public SweAbstractDataComponent()
-
-
Method Details
-
getDefinition
-
getDescription
-
getLabel
-
getName
-
getNames
-
getIdentifier
-
setDefinition
-
setDescription
-
setLabel
-
addName
-
addName
-
addName
-
setName
-
setName
-
setName
-
setIdentifier
-
getXml
-
setXml
-
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
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<SweAbstractDataComponent>
-
setDefaultElementEncoding
- Specified by:
setDefaultElementEncodingin interfaceHasDefaultEncoding<SweAbstractDataComponent>
-
hashCode
public int hashCode() -
equals
-
getDataComponentType
-
accept
- Throws:
X
-
accept
- Throws:
X
-
copyValueTo
Copies all values from thisSweAbstractDataComponentto the passed- Parameters:
copy-SweAbstractDataComponentto copy values to- Returns:
- Copy of this
-