Class OmObservableProperty

    • Constructor Detail

      • 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 Detail

      • 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