public class OmObservableProperty extends AbstractPhenomenon
| 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 |
isComposite() |
boolean |
isObservableProperty() |
boolean |
isSetUnit()
Check whether unit of measure is set
|
void |
setUnit(String unit)
Set unit of measurement
|
void |
setValueType(String valueType)
Set value type
|
asCompositePhenomenon, asObservableProperty, compareTo, equals, hashCode, toStringaccept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedaddMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setNamepublic 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 setpublic boolean isComposite()
isComposite in class AbstractPhenomenonpublic boolean isObservableProperty()
isObservableProperty in class AbstractPhenomenonCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.