public static enum PApplicationException._Field extends Enum<PApplicationException._Field> implements PField
| Modifier and Type | Method and Description |
|---|---|
static PApplicationException._Field |
forKey(int key) |
static PApplicationException._Field |
forName(String name) |
Object |
getDefaultValue() |
PDescriptor |
getDescriptor() |
int |
getKey() |
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 getKey()
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 forKey(int key)
public static PApplicationException._Field forName(String name)
Copyright © 2015–2016 morimekta.net. All rights reserved.