
Package org.hl7.fhir.dstu3.model
Enum Timing.UnitsOfTime
- java.lang.Object
-
- java.lang.Enum<Timing.UnitsOfTime>
-
- org.hl7.fhir.dstu3.model.Timing.UnitsOfTime
-
- All Implemented Interfaces:
Serializable
,Comparable<Timing.UnitsOfTime>
- Enclosing class:
- Timing
public static enum Timing.UnitsOfTime extends Enum<Timing.UnitsOfTime>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Timing.UnitsOfTime
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static Timing.UnitsOfTime
valueOf(String name)
Returns the enum constant of this type with the specified name.static Timing.UnitsOfTime[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
S
public static final Timing.UnitsOfTime S
null
-
MIN
public static final Timing.UnitsOfTime MIN
null
-
H
public static final Timing.UnitsOfTime H
null
-
D
public static final Timing.UnitsOfTime D
null
-
WK
public static final Timing.UnitsOfTime WK
null
-
MO
public static final Timing.UnitsOfTime MO
null
-
A
public static final Timing.UnitsOfTime A
null
-
NULL
public static final Timing.UnitsOfTime NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Timing.UnitsOfTime[] 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 (Timing.UnitsOfTime c : Timing.UnitsOfTime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Timing.UnitsOfTime 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 Timing.UnitsOfTime fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-