Enum ContainerCap
- java.lang.Object
-
- java.lang.Enum<ContainerCap>
-
- org.hl7.fhir.r4.model.codesystems.ContainerCap
-
- All Implemented Interfaces:
Serializable
,Comparable<ContainerCap>
public enum ContainerCap extends Enum<ContainerCap>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLACK
black cap.BROWN
brown cap.DARKYELLOW
dark yellow cap.GREEN
green cap.GREY
grey cap.LAVENDER
lavender cap.LIGHTBLUE
light blue cap.LIGHTGREEN
light green cap.NULL
added to help the parsersPINK
pink cap.RED
red cap.WHITE
white cap.YELLOW
yellow cap.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerCap
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static ContainerCap
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContainerCap[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RED
public static final ContainerCap RED
red cap.
-
YELLOW
public static final ContainerCap YELLOW
yellow cap.
-
DARKYELLOW
public static final ContainerCap DARKYELLOW
dark yellow cap.
-
GREY
public static final ContainerCap GREY
grey cap.
-
LIGHTBLUE
public static final ContainerCap LIGHTBLUE
light blue cap.
-
BLACK
public static final ContainerCap BLACK
black cap.
-
GREEN
public static final ContainerCap GREEN
green cap.
-
LIGHTGREEN
public static final ContainerCap LIGHTGREEN
light green cap.
-
LAVENDER
public static final ContainerCap LAVENDER
lavender cap.
-
BROWN
public static final ContainerCap BROWN
brown cap.
-
WHITE
public static final ContainerCap WHITE
white cap.
-
PINK
public static final ContainerCap PINK
pink cap.
-
NULL
public static final ContainerCap NULL
added to help the parsers
-
-
Method Detail
-
values
public static ContainerCap[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContainerCap c : ContainerCap.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerCap valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromCode
public static ContainerCap fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-