public class CountValue extends SweCount implements Value<Integer>
| Constructor and Description |
|---|
CountValue(Integer value)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
<X,E extends Exception> |
accept(ValueVisitor<X,E> visitor) |
String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
void |
setUnit(String unit)
Set the unit of measure
|
CountValue |
setUnit(UoM unit)
Set the unit of measure object
|
CountValue |
setValue(Integer value)
Set value
|
String |
toString() |
accept, accept, copy, getConstraint, getDataComponentType, getStringValue, getValue, increaseCount, increaseCount, isSetContstraint, isSetValue, setConstraint, setConstraint, setStringValuecloneQuality, 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, isSetUnit, isSetValueisSetDefaultElementEncodingpublic CountValue(Integer value)
value - Measurement valuepublic CountValue setValue(Integer value)
Valuepublic void setUnit(String unit)
Valueunit - Unit of measurepublic CountValue setUnit(UoM unit)
Valueunit - Unit of measurepublic String getUnit()
Valuepublic UoM getUnitObject()
Valuepublic String toString()
toString in class SweAbstractSimpleType<Integer>public <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
E extends ExceptionCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.