public enum CompoundType extends java.lang.Enum<CompoundType>
Enum Constant and Description |
---|
NATIVE |
NEOCLASSICAL |
UNSET |
Modifier and Type | Method and Description |
---|---|
static CompoundType |
fromName(java.lang.String name) |
static CompoundType |
fromShortName(java.lang.String shortName) |
java.lang.String |
getShortName() |
java.lang.String |
toString() |
static CompoundType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompoundType NATIVE
public static final CompoundType NEOCLASSICAL
public static final CompoundType UNSET
public static CompoundType[] values()
for (CompoundType c : CompoundType.values()) System.out.println(c);
public static CompoundType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getShortName()
public java.lang.String toString()
toString
in class java.lang.Enum<CompoundType>
public static CompoundType fromName(java.lang.String name)
public static CompoundType fromShortName(java.lang.String shortName)