public enum ObjectGroupMember extends Enum<ObjectGroupMember>
| Enum Constant and Description |
|---|
GroupMemberDefault |
GroupMemberFresh |
| Modifier and Type | Method and Description |
|---|---|
static ObjectGroupMember |
from(int code) |
static ObjectGroupMember |
from(String name) |
int |
getCode() |
String |
toString() |
static ObjectGroupMember |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectGroupMember[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectGroupMember GroupMemberFresh
public static final ObjectGroupMember GroupMemberDefault
public static ObjectGroupMember[] values()
for (ObjectGroupMember c : ObjectGroupMember.values()) System.out.println(c);
public static ObjectGroupMember 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 int getCode()
public String toString()
toString in class Enum<ObjectGroupMember>public static ObjectGroupMember from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static ObjectGroupMember from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022. All rights reserved.