Class SweBoolean
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType<Boolean>
org.n52.shetland.ogc.swe.simpleType.SweBoolean
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,Value<Boolean,SweAbstractSimpleType<Boolean>>
- Direct Known Subclasses:
BooleanValue
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) copy()Get value asStringgetValue()Get valuebooleanIs the values setvoidSet valueMethods inherited from class org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType
copyQuality, equals, getQuality, hashCode, isSetQuality, setQuality, toStringMethods 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, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
Constructor Details
-
SweBoolean
public SweBoolean()
-
-
Method Details
-
getValue
Description copied from interface:ValueGet value- Returns:
- value
-
setValue
Description copied from interface:ValueSet value- Parameters:
value- value to set- Returns:
- this
-
isSetValue
public boolean isSetValue()Description copied from interface:ValueIs the values set- Returns:
true, if the value is set
-
setStringValue
- Specified by:
setStringValuein classSweAbstractSimpleType<Boolean>
-
getStringValue
Description copied from interface:ValueGet value asString- Returns:
- The value as
String
-
getDataComponentType
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
copy
-