Class OmObservableProperty

All Implemented Interfaces:
Comparable<AbstractPhenomenon>, HasDefaultEncoding<AbstractFeature>

public class OmObservableProperty extends AbstractPhenomenon
class represents a phenomenon of an observation
Since:
1.0.0
  • Constructor Details

    • OmObservableProperty

      public OmObservableProperty(String identifier)
      constructor
      Parameters:
      identifier - observableProperty identifier
    • OmObservableProperty

      public OmObservableProperty(String identifier, String description, String unit, String valueType)
      constructor
      Parameters:
      identifier - id of the observableProperty
      description - description of the observableProperty
      unit - unit of the observation values according to this observableProperty
      valueType - database valType of the observation values according to this observableProperty
  • Method Details

    • getUnit

      public String getUnit()
      Get unit of measurement
      Returns:
      Returns the unit.
    • setUnit

      public void setUnit(String unit)
      Set unit of measurement
      Parameters:
      unit - The unit to set.
    • getValueType

      public String getValueType()
      Get value type
      Returns:
      Returns the valueType.
    • setValueType

      public void setValueType(String valueType)
      Set value type
      Parameters:
      valueType - The valueType to set.
    • isSetUnit

      public boolean isSetUnit()
      Check whether unit of measure is set
      Returns:
      true, if unit of measure is set
    • isComposite

      public boolean isComposite()
      Specified by:
      isComposite in class AbstractPhenomenon
    • isObservableProperty

      public boolean isObservableProperty()
      Specified by:
      isObservableProperty in class AbstractPhenomenon