public class OmObservableProperty extends AbstractPhenomenon
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
serial number
|
private String |
unit
unit of the values of the phenomenons observations
|
private String |
valueType
valueType in the database of the phenomenons observation values
|
Constructor and Description |
---|
OmObservableProperty(String identifier)
constructor
|
OmObservableProperty(String identifier,
String description,
String unit,
String valueType)
constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getUnit()
Get unit of measurement
|
String |
getValueType()
Get value type
|
boolean |
isSetUnit()
Check whether unit of measure is set
|
void |
setUnit(String unit)
Set unit of measurement
|
void |
setValueType(String valueType)
Set value type
|
compareTo, equals, hashCode, toString
copyTo, getDefaultElementEncoding, isSetDefaultElementEncoding, setDefaultElementEncoding
addName, addName, addName, copyTo, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getName, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetName, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setName, setName
private static final long serialVersionUID
private String unit
private String valueType
public OmObservableProperty(String identifier)
identifier
- observableProperty identifierpublic OmObservableProperty(String identifier, String description, String unit, String valueType)
identifier
- id of the observablePropertydescription
- description of the observablePropertyunit
- unit of the observation values according to this
observablePropertyvalueType
- database valType of the observation values according to this
observablePropertypublic String getUnit()
public void setUnit(String unit)
unit
- The unit to set.public String getValueType()
public void setValueType(String valueType)
valueType
- The valueType to set.public boolean isSetUnit()
true
, if unit of measure is setCopyright © 2012-2015 52north.org. All Rights Reserved.