|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.units.dimension.model.SitoolsUnit
public final class SitoolsUnit
Overlay for Unit framework
Constructor Summary | |
---|---|
SitoolsUnit()
Constructor |
|
SitoolsUnit(java.lang.String sequence)
Constructor with unit name |
Method Summary | |
---|---|
javax.measure.unit.Unit<?> |
getInstanceFrom(java.lang.String sequence)
Check if the sequence can lead to a unit creation |
java.lang.String |
getLabel()
Gets the label value |
javax.measure.unit.Unit<?> |
getUnit()
Return the encapsulated unit |
java.lang.String |
getUnitName()
Gets the unitName value |
void |
setLabel(java.lang.String label)
Sets the value of label |
void |
setUnitName(java.lang.String unitName)
Sets the value of unitName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SitoolsUnit()
public SitoolsUnit(java.lang.String sequence)
sequence
- the unit nameMethod Detail |
---|
public javax.measure.unit.Unit<?> getInstanceFrom(java.lang.String sequence)
sequence
- the unit name
public javax.measure.unit.Unit<?> getUnit()
public void setLabel(java.lang.String label)
label
- the label to setpublic java.lang.String getLabel()
public void setUnitName(java.lang.String unitName)
unitName
- the unitName to setpublic java.lang.String getUnitName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |