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