public enum Requirement extends Enum<Requirement> implements PEnumValue<Requirement>
| Modifier and Type | Class and Description |
|---|---|
static class |
Requirement._Builder |
| Modifier and Type | Field and Description |
|---|---|
static PEnumDescriptor<Requirement> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
PEnumDescriptor<Requirement> |
descriptor() |
static Requirement |
forName(String name) |
static Requirement |
forValue(int value) |
String |
getComment() |
String |
getName() |
int |
getValue() |
static PEnumDescriptorProvider<Requirement> |
provider() |
static Requirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Requirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcompareTopublic static final Requirement DEFAULT
public static final Requirement OPTIONAL
public static final Requirement REQUIRED
public static final PEnumDescriptor<Requirement> kDescriptor
public static Requirement[] values()
for (Requirement c : Requirement.values()) System.out.println(c);
public static Requirement 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 PEnumValue<Requirement>public int getValue()
getValue in interface PEnumValue<Requirement>public String getName()
getName in interface PEnumValue<Requirement>public static Requirement forValue(int value)
public static Requirement forName(String name)
public PEnumDescriptor<Requirement> descriptor()
descriptor in interface PValue<Requirement>public static PEnumDescriptorProvider<Requirement> provider()
Copyright © 2016. All rights reserved.