Class MeasurementValue

java.lang.Object
com.cumulocity.model.measurement.MeasurementValue
All Implemented Interfaces:
Serializable

public class MeasurementValue extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • getValue

      @JSONProperty(ignoreIfNull=false) public BigDecimal getValue()
    • setValue

      public void setValue(BigDecimal value)
    • getUnit

      @JSONProperty(ignoreIfNull=false) public String getUnit()
    • setUnit

      public void setUnit(String unit)
    • getType

      @JSONProperty(ignoreIfNull=true) public ValueType getType()
    • setType

      public void setType(ValueType type)
    • getQuantity

      @JSONProperty(ignoreIfNull=true) public String getQuantity()
    • setQuantity

      public void setQuantity(String quantity)
    • getState

      @JSONProperty(ignoreIfNull=true) public StateType getState()
    • setState

      public void setState(StateType state)
    • asMap

      public Map<String,Object> asMap()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object