public static enum SystemInformationEntity.SystemInformationRole extends Enum<SystemInformationEntity.SystemInformationRole>
| Modifier and Type | Method and Description |
|---|---|
static SystemInformationEntity.SystemInformationRole |
fromSystemRole(SystemRole systemRole)
Locates the SystemInformationRole enumeration constant matching a
given SystemRole enumeration
|
SystemRole |
toSystemRole()
returns the SystemRole enumeration matching this enum
|
static SystemInformationEntity.SystemInformationRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemInformationEntity.SystemInformationRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemInformationEntity.SystemInformationRole MEMBER
public static final SystemInformationEntity.SystemInformationRole LEADER
public static SystemInformationEntity.SystemInformationRole[] values()
for (SystemInformationEntity.SystemInformationRole c : SystemInformationEntity.SystemInformationRole.values()) System.out.println(c);
public static SystemInformationEntity.SystemInformationRole 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 SystemRole toSystemRole()
public static SystemInformationEntity.SystemInformationRole fromSystemRole(SystemRole systemRole)
systemRole - the system role to matchCopyright © 2014. All Rights Reserved.