public enum MyType extends Enum<MyType>
Enum Constant and Description |
---|
ARBITRARY_ID |
BOOLEAN |
BYTES |
DATE |
ENUMERATION |
INTEGER |
REAL |
STRING |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static MyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MyType BOOLEAN
public static final MyType INTEGER
public static final MyType REAL
public static final MyType DATE
public static final MyType TIMESTAMP
public static final MyType STRING
public static final MyType ARBITRARY_ID
public static final MyType ENUMERATION
public static final MyType BYTES
public static MyType[] values()
for (MyType c : MyType.values()) System.out.println(c);
public static MyType 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 nullCopyright © 2012–2022. All rights reserved.