public static enum LocType.Type extends Enum<LocType.Type>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:restriction base="xs:string">
<xs:enumeration value="CURRENT"/>
<xs:enumeration value="LAST"/>
<xs:enumeration value="CURRENT_OR_LAST"/>
<xs:enumeration value="INITIAL"/>
</xs:restriction>
</xs:simpleType>
| Enum Constant and Description |
|---|
CURRENT |
CURRENT_OR_LAST |
INITIAL |
LAST |
| Modifier and Type | Method and Description |
|---|---|
static LocType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocType.Type CURRENT
public static final LocType.Type LAST
public static final LocType.Type CURRENT_OR_LAST
public static final LocType.Type INITIAL
public static LocType.Type[] values()
for (LocType.Type c : LocType.Type.values()) System.out.println(c);
public static LocType.Type 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 nullCopyright © 2016. All Rights Reserved.