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