public enum ReturnTypeMappingEnum extends Enum<ReturnTypeMappingEnum>
<simpleType name="ReturnTypeMapping">
<restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
<enumeration value="Local"/>
<enumeration value="Remote"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static ReturnTypeMappingEnum |
fromValue(String v) |
String |
value() |
static ReturnTypeMappingEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnTypeMappingEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnTypeMappingEnum LOCAL
public static final ReturnTypeMappingEnum REMOTE
public static ReturnTypeMappingEnum[] values()
for (ReturnTypeMappingEnum c : ReturnTypeMappingEnum.values()) System.out.println(c);
public static ReturnTypeMappingEnum 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 ReturnTypeMappingEnum fromValue(String v)
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.