public enum MessageClassEnumeration extends Enum<MessageClassEnumeration>
Java class for MessageClassEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MessageClassEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Service"/>
<enumeration value="Device"/>
<enumeration value="Event"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEVICE
A device message pair either: Inside a Service request and response.
|
EVENT
An unsolicited event notification by the POI System to the Sale System.
|
SERVICE
A transaction message pair initiated by the Sale System, and requested to the POI System.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageClassEnumeration |
fromValue(String v) |
String |
value() |
static MessageClassEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageClassEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageClassEnumeration SERVICE
public static final MessageClassEnumeration DEVICE
public static final MessageClassEnumeration EVENT
public static MessageClassEnumeration[] values()
for (MessageClassEnumeration c : MessageClassEnumeration.values()) System.out.println(c);
public static MessageClassEnumeration 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 MessageClassEnumeration fromValue(String v)
Copyright © 2018. All rights reserved.