public enum PayloadTreatmentEnum extends Enum<PayloadTreatmentEnum>
| Enum Constant and Description |
|---|
SWITCHING
Represents switching.
|
TRANSPORT
Represents transport.
|
| Modifier and Type | Method and Description |
|---|---|
static PayloadTreatmentEnum |
of(int value)
Returns the object of payloadTreatmentEnum for.
|
static PayloadTreatmentEnum |
of(String value)
Returns the object of payloadTreatmentEnum for.
|
int |
payloadTreatmentEnum()
Returns the attribute payloadTreatmentEnum.
|
String |
toString() |
static PayloadTreatmentEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PayloadTreatmentEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayloadTreatmentEnum SWITCHING
public static final PayloadTreatmentEnum TRANSPORT
public static PayloadTreatmentEnum[] values()
for (PayloadTreatmentEnum c : PayloadTreatmentEnum.values()) System.out.println(c);
public static PayloadTreatmentEnum 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 static PayloadTreatmentEnum of(int value)
value - value of payloadTreatmentEnum forpublic static PayloadTreatmentEnum of(String value)
value - value of payloadTreatmentEnum forpublic int payloadTreatmentEnum()
public String toString()
toString in class Enum<PayloadTreatmentEnum>Copyright © 2018. All rights reserved.