public static enum ApplicationException._Field extends Enum<ApplicationException._Field> implements PField
Modifier and Type | Method and Description |
---|---|
static ApplicationException._Field |
forKey(int key) |
static ApplicationException._Field |
forName(String name) |
Object |
getDefaultValue() |
PDescriptor |
getDescriptor() |
int |
getKey() |
String |
getName() |
PRequirement |
getRequirement() |
boolean |
hasDefaultValue() |
String |
toString() |
static ApplicationException._Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationException._Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationException._Field MESSAGE
public static final ApplicationException._Field ID
public static ApplicationException._Field[] values()
for (ApplicationException._Field c : ApplicationException._Field.values()) System.out.println(c);
public static ApplicationException._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 PField
public PDescriptor getDescriptor()
getDescriptor
in interface PField
public String getName()
public boolean hasDefaultValue()
hasDefaultValue
in interface PField
public Object getDefaultValue()
getDefaultValue
in interface PField
public String toString()
toString
in class Enum<ApplicationException._Field>
public static ApplicationException._Field forKey(int key)
public static ApplicationException._Field forName(String name)
Copyright © 2015–2016 morimekta.net. All rights reserved.