public enum RoleStatus extends Enum<RoleStatus>
Java class for RoleStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoleStatus">
<restriction base="{urn:hl7-org:v3}cs">
<enumeration value="active"/>
<enumeration value="cancelled"/>
<enumeration value="normal"/>
<enumeration value="pending"/>
<enumeration value="suspended"/>
<enumeration value="terminated"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE |
CANCELLED |
NORMAL |
PENDING |
SUSPENDED |
TERMINATED |
| Modifier and Type | Method and Description |
|---|---|
static RoleStatus |
fromValue(String v) |
String |
value() |
static RoleStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleStatus ACTIVE
public static final RoleStatus CANCELLED
public static final RoleStatus NORMAL
public static final RoleStatus PENDING
public static final RoleStatus SUSPENDED
public static final RoleStatus TERMINATED
public static RoleStatus[] values()
for (RoleStatus c : RoleStatus.values()) System.out.println(c);
public static RoleStatus 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 value()
public static RoleStatus fromValue(String v)
Copyright © 2021. All rights reserved.