public enum AcknowledgeType extends Enum<AcknowledgeType>
Java class for acknowledgeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="acknowledgeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="yes"/> <enumeration value="no"/> <enumeration value="optional"/> <enumeration value="positiveOnly"/> <enumeration value="negativeOnly"/> </restriction> </simpleType>
Enum Constant and Description |
---|
NEGATIVE_ONLY |
NO |
OPTIONAL |
POSITIVE_ONLY |
YES |
Modifier and Type | Method and Description |
---|---|
static AcknowledgeType |
fromValue(String v) |
String |
value() |
static AcknowledgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcknowledgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcknowledgeType YES
public static final AcknowledgeType NO
public static final AcknowledgeType OPTIONAL
public static final AcknowledgeType POSITIVE_ONLY
public static final AcknowledgeType NEGATIVE_ONLY
public static AcknowledgeType[] values()
for (AcknowledgeType c : AcknowledgeType.values()) System.out.println(c);
public static AcknowledgeType 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 AcknowledgeType fromValue(String v)