public enum UOMBaseTypeEnum extends Enum<UOMBaseTypeEnum>
Java class for UOMBaseTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="UOMBaseTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Area"/> <enumeration value="Count"/> <enumeration value="Length"/> <enumeration value="Other"/> <enumeration value="Time"/> <enumeration value="Volume"/> <enumeration value="Weight"/> </restriction> </simpleType>
Enum Constant and Description |
---|
AREA |
COUNT |
LENGTH |
OTHER |
TIME |
VOLUME |
WEIGHT |
Modifier and Type | Method and Description |
---|---|
static UOMBaseTypeEnum |
fromValue(String v) |
String |
value() |
static UOMBaseTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UOMBaseTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UOMBaseTypeEnum AREA
public static final UOMBaseTypeEnum COUNT
public static final UOMBaseTypeEnum LENGTH
public static final UOMBaseTypeEnum OTHER
public static final UOMBaseTypeEnum TIME
public static final UOMBaseTypeEnum VOLUME
public static final UOMBaseTypeEnum WEIGHT
public static UOMBaseTypeEnum[] values()
for (UOMBaseTypeEnum c : UOMBaseTypeEnum.values()) System.out.println(c);
public static UOMBaseTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static UOMBaseTypeEnum fromValue(String v)
Copyright © 2017. All rights reserved.