Package com.foursoft.harness.vec.v113
Enum Class VecImperialUnitName
- All Implemented Interfaces:
Serializable,Comparable<VecImperialUnitName>,Constable
Enumeration for the definition of imperial unit names.
Java class for ImperialUnitName.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ImperialUnitName">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Thou"/>
<enumeration value="Inch"/>
<enumeration value="Foot"/>
<enumeration value="Yard"/>
<enumeration value="Chain"/>
<enumeration value="Furlong"/>
<enumeration value="Mile"/>
<enumeration value="League"/>
<enumeration value="FluidOunce"/>
<enumeration value="Gill"/>
<enumeration value="Pint"/>
<enumeration value="Quart"/>
<enumeration value="Gallon"/>
<enumeration value="Grain"/>
<enumeration value="Drachm"/>
<enumeration value="Ounce"/>
<enumeration value="Pound"/>
<enumeration value="Stone"/>
<enumeration value="Quarter"/>
<enumeration value="HundredWeight"/>
<enumeration value="Ton"/>
<enumeration value="Perch"/>
<enumeration value="Rood"/>
<enumeration value="Acre"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic VecImperialUnitNamevalue()static VecImperialUnitNameReturns the enum constant of this class with the specified name.static VecImperialUnitName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
THOU
-
INCH
-
FOOT
-
YARD
-
CHAIN
-
FURLONG
-
MILE
-
LEAGUE
-
FLUID_OUNCE
-
GILL
-
PINT
-
QUART
-
GALLON
-
GRAIN
-
DRACHM
-
OUNCE
-
POUND
-
STONE
-
QUARTER
-
HUNDRED_WEIGHT
-
TON
-
PERCH
-
ROOD
-
ACRE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
-
fromValue
-