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