public static enum CustomAttribute.TypeEnum extends Enum<CustomAttribute.TypeEnum>
Enum Constant and Description |
---|
STRING
The STRING option of this CustomAttribute
|
Modifier and Type | Method and Description |
---|---|
static CustomAttribute.TypeEnum |
fromValue(String value)
Get the enum value from a String value
|
String |
getValue()
Get the value of the enum
|
String |
toString()
Get the String value of the enum value.
|
static CustomAttribute.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomAttribute.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomAttribute.TypeEnum STRING
public static CustomAttribute.TypeEnum[] values()
for (CustomAttribute.TypeEnum c : CustomAttribute.TypeEnum.values()) System.out.println(c);
public static CustomAttribute.TypeEnum 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 null@Nonnull public String toString()
toString
in class Enum<CustomAttribute.TypeEnum>
@Nonnull public static CustomAttribute.TypeEnum fromValue(@Nonnull String value)
value
- The Strin valueCopyright © 2020 SAP SE. All rights reserved.