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