|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.EnumeratedType
wt.part.QuantityUnit
public final class QuantityUnit
An enumeration of units of measure, with EA (each) meaning that the amount
in the Quantity is the count of parts and AS_NEEDED meaning use
as much as necessary of some supply such as oil; other units of measure
would be for items like rope or ballast that would have a length or a
weight.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static QuantityUnit |
AS_NEEDED
Supported API: true |
static QuantityUnit |
CU_M
Supported API: true |
static QuantityUnit |
EA
Supported API: true |
static QuantityUnit |
KG
Supported API: true |
static QuantityUnit |
L
Supported API: true |
static QuantityUnit |
M
Supported API: true |
static QuantityUnit |
SQ_M
Supported API: true |
| Fields inherited from interface wt.meta.EnumeratedType |
|---|
DEFAULT_VALUE, ORDER, SELECTABLE |
| Method Summary | |
|---|---|
static QuantityUnit |
getQuantityUnitDefault()
Returns the default value (instance) for the QuantityUnit set. |
static QuantityUnit[] |
getQuantityUnitSet()
Returns a copy of the set of valid values (instances) for the QuantityUnit class. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
static QuantityUnit |
toQuantityUnit(String internal_value)
Returns the QuantityUnit instance for the internal_value argument. |
| Methods inherited from class wt.fc.EnumeratedType |
|---|
equals, getAbbreviatedDisplay, getDisplay, getDisplay, getFullDisplay, getLocalizedMessage, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final QuantityUnit EA
public static final QuantityUnit AS_NEEDED
public static final QuantityUnit KG
public static final QuantityUnit M
public static final QuantityUnit L
public static final QuantityUnit SQ_M
public static final QuantityUnit CU_M
| Method Detail |
|---|
public static QuantityUnit toQuantityUnit(String internal_value)
throws WTInvalidParameterException
internal_value - The internal (persistent) value for a valid instance of QuantityUnit.
WTInvalidParameterExceptionpublic static QuantityUnit getQuantityUnitDefault()
public static QuantityUnit[] getQuantityUnitSet()
public EnumeratedType[] getValueSet()
getValueSet in class EnumeratedType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||