Package org.yamcs.xtce
Class UnitType
- java.lang.Object
-
- org.yamcs.xtce.UnitType
-
- All Implemented Interfaces:
Serializable
public class UnitType extends Object implements Serializable
Used to hold the unit(s) plus possibly the exponent and factor for the units- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetFactor()doublegetPower()StringgetUnit()voidsetDescription(String description)voidsetFactor(String factor)voidsetPower(double power)StringtoString()
-
-
-
Constructor Detail
-
UnitType
public UnitType(String unit)
-
-
Method Detail
-
setDescription
public void setDescription(String description)
-
getDescription
public String getDescription()
-
getPower
public double getPower()
-
setPower
public void setPower(double power)
-
getFactor
public String getFactor()
-
setFactor
public void setFactor(String factor)
-
getUnit
public String getUnit()
-
-