public enum EnumSource extends Enum<EnumSource>
Java class for EnumSource.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EnumSource">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="external"/>
<enumeration value="derived"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DERIVED
Derive enums from metadata
|
EXTERNAL
Reference enums from some external source
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSource |
fromValue(String v) |
String |
value() |
static EnumSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumSource EXTERNAL
public static final EnumSource DERIVED
public static EnumSource[] values()
for (EnumSource c : EnumSource.values()) System.out.println(c);
public static EnumSource 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 EnumSource fromValue(String v)
Copyright © 2017. All rights reserved.