Class NilTemplateValue

  • All Implemented Interfaces:
    Value<String>

    public class NilTemplateValue
    extends Object
    implements Value<String>
    Nil template value for observation
    Since:
    1.0.0
    • Constructor Detail

      • NilTemplateValue

        public NilTemplateValue()
    • Method Detail

      • getValue

        public String getValue()
        Description copied from interface: Value
        Get the measurement value
        Specified by:
        getValue in interface Value<String>
        Returns:
        Measurement value
      • setUnit

        public void setUnit​(String unit)
        Description copied from interface: Value
        Set the unit of measure
        Specified by:
        setUnit in interface Value<String>
        Parameters:
        unit - Unit of measure
      • setUnit

        public NilTemplateValue setUnit​(UoM unit)
        Description copied from interface: Value
        Set the unit of measure object
        Specified by:
        setUnit in interface Value<String>
        Parameters:
        unit - Unit of measure
      • getUnit

        public String getUnit()
        Description copied from interface: Value
        Get the unit of measure
        Specified by:
        getUnit in interface Value<String>
        Returns:
        Unit of measure
      • getUnitObject

        public UoM getUnitObject()
        Description copied from interface: Value
        Get the unit of measure object
        Specified by:
        getUnitObject in interface Value<String>
        Returns:
        Unit of measure
      • isSetValue

        public boolean isSetValue()
        Description copied from interface: Value
        Check whether the value is set
        Specified by:
        isSetValue in interface Value<String>
        Returns:
        true, if value is set