@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public enum EnumOwnership extends Enum<EnumOwnership>
Java class for EnumOwnership.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EnumOwnership">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="Origin"/>
<enumeration value="Destination"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DESTINATION |
ORIGIN |
| Modifier and Type | Method and Description |
|---|---|
static EnumOwnership |
fromValue(String v) |
String |
value() |
static EnumOwnership |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumOwnership[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumOwnership ORIGIN
public static final EnumOwnership DESTINATION
public static EnumOwnership[] values()
for (EnumOwnership c : EnumOwnership.values()) System.out.println(c);
public static EnumOwnership 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 EnumOwnership fromValue(String v)
Copyright © 2016. All rights reserved.