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