public static enum FieldType._Field extends Enum<FieldType._Field> implements PField
| Enum Constant and Description |
|---|
ANNOTATIONS |
DEFAULT_VALUE |
DOCUMENTATION |
END_POS |
ID |
NAME |
REQUIREMENT |
START_POS |
TYPE |
VALUE_START_POS |
| Modifier and Type | Method and Description |
|---|---|
static FieldType._Field |
fieldForId(int id) |
static FieldType._Field |
fieldForName(String name) |
static FieldType._Field |
findById(int id) |
static FieldType._Field |
findByName(String name) |
Object |
getDefaultValue() |
PDescriptor |
getDescriptor() |
int |
getId() |
String |
getName() |
PRequirement |
getRequirement() |
boolean |
hasDefaultValue() |
String |
toString() |
static FieldType._Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType._Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType._Field DOCUMENTATION
public static final FieldType._Field ID
public static final FieldType._Field REQUIREMENT
public static final FieldType._Field TYPE
public static final FieldType._Field NAME
public static final FieldType._Field DEFAULT_VALUE
public static final FieldType._Field ANNOTATIONS
public static final FieldType._Field VALUE_START_POS
public static final FieldType._Field START_POS
public static final FieldType._Field END_POS
public static FieldType._Field[] values()
for (FieldType._Field c : FieldType._Field.values()) System.out.println(c);
public static FieldType._Field 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 PRequirement getRequirement()
getRequirement in interface PFieldpublic PDescriptor getDescriptor()
getDescriptor in interface PFieldpublic boolean hasDefaultValue()
hasDefaultValue in interface PFieldpublic Object getDefaultValue()
getDefaultValue in interface PFieldpublic String toString()
toString in class Enum<FieldType._Field>public static FieldType._Field findById(int id)
id - Field namepublic static FieldType._Field findByName(String name)
name - Field namepublic static FieldType._Field fieldForId(int id)
id - Field nameIllegalArgumentException - If no such fieldpublic static FieldType._Field fieldForName(String name)
name - Field nameIllegalArgumentException - If no such fieldCopyright © 2015–2018 morimekta.net. All rights reserved.