public class DefinedUnit extends Unit
| Constructor and Description |
|---|
DefinedUnit(String code,
String codeUC) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClass_() |
String |
getDescription() |
Value |
getValue() |
boolean |
isMetric() |
boolean |
isSpecial() |
void |
setClass_(String class_) |
void |
setMetric(boolean metric) |
void |
setSpecial(boolean isSpecial) |
void |
setValue(Value value) |
getProperty, setPropertygetCode, getCodeUC, getKind, getNames, getPrintSymbol, setCode, setCodeUC, setPrintSymbol, toStringpublic DefinedUnit(String code, String codeUC)
code - codeUC - public boolean isMetric()
public void setMetric(boolean metric)
metric - the metric to setpublic boolean isSpecial()
public void setSpecial(boolean isSpecial)
isSpecial - the isSpecial to setpublic String getDescription()
getDescription in class UnitCopyright © 2014–2018 University Health Network. All rights reserved.