public enum FieldTypeEnum extends Enum<FieldTypeEnum>
Modifier and Type | Method and Description |
---|---|
String |
getTitle() |
int |
getValue() |
static FieldTypeEnum |
match(int value) |
static FieldTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldTypeEnum DEFAULT
public static final FieldTypeEnum ARRAY
public static FieldTypeEnum[] values()
for (FieldTypeEnum c : FieldTypeEnum.values()) System.out.println(c);
public static FieldTypeEnum 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 int getValue()
public String getTitle()
public static FieldTypeEnum match(int value)
Copyright © 2018. All rights reserved.