Class CO2Measure
- java.lang.Object
-
- org.cyclonedx.model.component.modelCard.consideration.consumption.co2.CO2Measure
-
public class CO2Measure extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CO2Measure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)UnitgetUnit()doublegetValue()inthashCode()voidsetUnit(Unit unit)voidsetValue(double value)
-
-
-
Field Detail
-
value
private double value
-
unit
private Unit unit
-
-
Method Detail
-
getValue
public double getValue()
-
setValue
public void setValue(double value)
-
getUnit
public Unit getUnit()
-
setUnit
public void setUnit(Unit unit)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-