public class BooleanValue extends SweBoolean implements Value<java.lang.Boolean>
| Constructor and Description |
|---|
BooleanValue(java.lang.Boolean value)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
<X,E extends java.lang.Exception> |
accept(ValueVisitor<X,E> visitor) |
java.lang.String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
boolean |
isSetUnit()
Check whether the unit of measure is set
|
void |
setUnit(java.lang.String unit)
Set the unit of measure
|
BooleanValue |
setUnit(UoM unit)
Set the unit of measure object
|
BooleanValue |
setValue(java.lang.Boolean value)
Set value
|
java.lang.String |
toString() |
accept, accept, copy, getDataComponentType, getStringValue, getValue, isSetValuecloneQuality, equals, getQuality, hashCode, isSetQuality, setQualityaddName, 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, setXmlclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, isSetValueisSetDefaultElementEncodingpublic BooleanValue(java.lang.Boolean value)
value - Measurement valuepublic BooleanValue setValue(java.lang.Boolean value)
ValuesetValue in interface Value<java.lang.Boolean,SweAbstractSimpleType<java.lang.Boolean>>setValue in class SweBooleanvalue - value to setpublic void setUnit(java.lang.String unit)
Valueunit - Unit of measurepublic BooleanValue setUnit(UoM unit)
Valueunit - Unit of measurepublic java.lang.String getUnit()
Valuepublic UoM getUnitObject()
Valuepublic boolean isSetUnit()
Valuetrue, if unit of measure is setpublic java.lang.String toString()
toString in class SweAbstractSimpleType<java.lang.Boolean>public <X,E extends java.lang.Exception> X accept(ValueVisitor<X,E> visitor) throws E extends java.lang.Exception
E extends java.lang.ExceptionCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.