public class OmObservableProperty extends AbstractPhenomenon
| Constructor and Description |
|---|
OmObservableProperty(java.lang.String identifier)
constructor
|
OmObservableProperty(java.lang.String identifier,
java.lang.String description,
java.lang.String unit,
java.lang.String valueType)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUnit()
Get unit of measurement
|
java.lang.String |
getValueType()
Get value type
|
boolean |
isComposite() |
boolean |
isObservableProperty() |
boolean |
isSetUnit()
Check whether unit of measure is set
|
void |
setUnit(java.lang.String unit)
Set unit of measurement
|
void |
setValueType(java.lang.String valueType)
Set value type
|
asCompositePhenomenon, asObservableProperty, compareTo, equals, hashCode, toStringaccept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedaddMetaDataProperty, addMetaDataProperty, addName, 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(java.lang.String identifier)
identifier - observableProperty identifierpublic OmObservableProperty(java.lang.String identifier,
java.lang.String description,
java.lang.String unit,
java.lang.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 java.lang.String getUnit()
public void setUnit(java.lang.String unit)
unit - The unit to set.public java.lang.String getValueType()
public void setValueType(java.lang.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–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.