public static enum Provider._Field extends Enum<Provider._Field> implements PField
| Enum Constant and Description |
|---|
BUILDER |
DESCRIPTOR |
FACTORY |
FIELDS |
K_DESCRIPTOR |
PROVIDER |
| Modifier and Type | Method and Description |
|---|---|
static Provider._Field |
forKey(int key) |
static Provider._Field |
forName(String name) |
String |
getComment() |
Object |
getDefaultValue() |
PDescriptor<?> |
getDescriptor() |
int |
getKey() |
String |
getName() |
PRequirement |
getRequirement() |
PType |
getType() |
boolean |
hasDefaultValue() |
String |
toString() |
static Provider._Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Provider._Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Provider._Field PROVIDER
public static final Provider._Field FACTORY
public static final Provider._Field BUILDER
public static final Provider._Field FIELDS
public static final Provider._Field DESCRIPTOR
public static final Provider._Field K_DESCRIPTOR
public static Provider._Field[] values()
for (Provider._Field c : Provider._Field.values()) System.out.println(c);
public static Provider._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 String getComment()
getComment in interface PFieldpublic 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<Provider._Field>public static Provider._Field forKey(int key)
public static Provider._Field forName(String name)
Copyright © 2016. All rights reserved.