public enum MessageClassType extends Enum<MessageClassType>
Java class for MessageClassType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MessageClassType">
<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 messageType pair either: Inside a Service request and response.
|
EVENT
An unsolicited event notification by the POI System to the Sale System.
|
SERVICE
A transaction messageType pair initiated by the Sale System, and requested to the POI System.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageClassType |
fromValue(String v)
From value message class type.
|
String |
value()
Value string.
|
static MessageClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageClassType SERVICE
public static final MessageClassType DEVICE
public static final MessageClassType EVENT
public static MessageClassType[] values()
for (MessageClassType c : MessageClassType.values()) System.out.println(c);
public static MessageClassType 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 MessageClassType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.