public static enum BagProfile.Serialization extends Enum<BagProfile.Serialization>
| Enum Constant and Description |
|---|
FORBIDDEN |
OPTIONAL |
REQUIRED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BagProfile.Serialization |
of(String value)
Retrieve the
BagProfile.Serialization from a string representation |
static BagProfile.Serialization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BagProfile.Serialization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BagProfile.Serialization FORBIDDEN
public static final BagProfile.Serialization REQUIRED
public static final BagProfile.Serialization OPTIONAL
public static final BagProfile.Serialization UNKNOWN
public static BagProfile.Serialization[] values()
for (BagProfile.Serialization c : BagProfile.Serialization.values()) System.out.println(c);
public static BagProfile.Serialization 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 static BagProfile.Serialization of(String value)
BagProfile.Serialization from a string representationvalue - the String value to useBagProfile.Serialization the value is equal toCopyright © 2020. All rights reserved.