com.cumulocity.model.measurement
Class MeasurementValue
java.lang.Object
com.cumulocity.model.measurement.MeasurementValue
- Direct Known Subclasses:
- AccelerationValue, BearingValue, CoordinateValue, EnergyValue, MotionValue, PowerValue, SpeedValue, TemperatureValue
public class MeasurementValue
- extends Object
MeasurementValue
public MeasurementValue()
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=false)
public ValueType getType()
setType
public void setType(ValueType type)
getQuantity
@JSONProperty(ignoreIfNull=false)
public String getQuantity()
setQuantity
public void setQuantity(String quantity)
getState
@JSONProperty(ignoreIfNull=true)
public StateType getState()
setState
public void setState(StateType state)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.