public static enum Cart.CartProfile extends Enum<Cart.CartProfile>
Enum Constant and Description |
---|
READ_ACCESS
Read access
|
WRITE_ACCESS
Write access
|
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDescription()
Cart profile description getter.
|
I18nizableText |
getTitle()
Cart profile title getter.
|
String |
toString() |
static Cart.CartProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cart.CartProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cart.CartProfile READ_ACCESS
public static final Cart.CartProfile WRITE_ACCESS
public static Cart.CartProfile[] values()
for (Cart.CartProfile c : Cart.CartProfile.values()) System.out.println(c);
public static Cart.CartProfile 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 toString()
toString
in class Enum<Cart.CartProfile>
public I18nizableText getTitle()
public I18nizableText getDescription()