public class SweQuantity extends SweAbstractUomType<Double> implements SweQuality
Modifier and Type | Field and Description |
---|---|
private String |
axisID
axis ID
|
private Double |
value
value
|
Constructor and Description |
---|
SweQuantity()
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAxisID()
Get axis ID
|
SweConstants.SweDataComponentType |
getDataComponentType() |
String |
getStringValue() |
Double |
getValue()
Get value
|
int |
hashCode() |
boolean |
isSetAxisID() |
boolean |
isSetValue() |
SweQuantity |
setAxisID(String axisID)
set axis ID
|
SweQuantity |
setQuality(Collection<SweQuality> quality)
Set quality information
|
SweQuantity |
setUom(String uom)
Set unit of measurement
|
SweQuantity |
setValue(Double value)
Set value
|
getUom, isSetUom, toString
getQuality, isSetQuality
addName, addName, addName, copyValueTo, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXml
public String getAxisID()
public SweQuantity setAxisID(String axisID)
axisID
- the axisID to setpublic Double getValue()
SweAbstractSimpleType
getValue
in class SweAbstractSimpleType<Double>
public SweQuantity setValue(Double value)
SweAbstractSimpleType
setValue
in class SweAbstractSimpleType<Double>
value
- value to setpublic int hashCode()
hashCode
in class SweAbstractSimpleType<Double>
public boolean equals(Object obj)
equals
in class SweAbstractDataComponent
public String getStringValue()
getStringValue
in class SweAbstractSimpleType<Double>
public boolean isSetValue()
isSetValue
in class SweAbstractSimpleType<Double>
public boolean isSetAxisID()
public SweConstants.SweDataComponentType getDataComponentType()
getDataComponentType
in class SweAbstractDataComponent
public SweQuantity setUom(String uom)
SweAbstractUomType
setUom
in class SweAbstractUomType<Double>
uom
- the uom to setpublic SweQuantity setQuality(Collection<SweQuality> quality)
SweAbstractSimpleType
setQuality
in class SweAbstractSimpleType<Double>
quality
- quality information to setCopyright © 2012-2015 52north.org. All Rights Reserved.