public enum EventTypes extends Enum<EventTypes>
| Enum Constant and Description |
|---|
APPOINTMENT |
APPOINTMENT_REQUEST |
DEFINITION |
EVENT |
INTENT |
PROMISE |
PROPOSAL |
REQUEST |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getName() |
void |
setCode(String code) |
void |
setName(String name) |
String |
toString() |
static EventTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventTypes UNDEFINED
public static final EventTypes EVENT
public static final EventTypes INTENT
public static final EventTypes APPOINTMENT
public static final EventTypes APPOINTMENT_REQUEST
public static final EventTypes PROMISE
public static final EventTypes PROPOSAL
public static final EventTypes REQUEST
public static final EventTypes DEFINITION
public static EventTypes[] values()
for (EventTypes c : EventTypes.values()) System.out.println(c);
public static EventTypes 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 getCode()
public void setCode(String code)
public String getName()
public void setName(String name)
public String toString()
toString in class Enum<EventTypes>Copyright © 2021. All rights reserved.