public enum RecommendationCode extends Enum<RecommendationCode>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="business-partner"/>
<enumeration value="colleague"/>
<enumeration value="education"/>
<enumeration value="service-provider"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BUSINESS_PARTNER |
COLLEAGUE |
EDUCATION |
SERVICE_PROVIDER |
| Modifier and Type | Method and Description |
|---|---|
static RecommendationCode |
fromValue(String v) |
String |
value() |
static RecommendationCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecommendationCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecommendationCode BUSINESS_PARTNER
public static final RecommendationCode COLLEAGUE
public static final RecommendationCode EDUCATION
public static final RecommendationCode SERVICE_PROVIDER
public static RecommendationCode[] values()
for (RecommendationCode c : RecommendationCode.values()) System.out.println(c);
public static RecommendationCode 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 value()
public static RecommendationCode fromValue(String v)
Apache Camel