public enum InvitationState extends Enum<InvitationState> implements EnumValue<Integer>
Modifier and Type | Method and Description |
---|---|
Integer |
getValue() |
static InvitationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvitationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvitationState Invited
public static final InvitationState Declined
public static final InvitationState Accepted
public static InvitationState[] values()
for (InvitationState c : InvitationState.values()) System.out.println(c);
public static InvitationState 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 nullCopyright © 2014 Equilibrium. All rights reserved.