Package org.hl7.fhir.r5.model
Enum ElementDefinition.AggregationMode
- java.lang.Object
-
- java.lang.Enum<ElementDefinition.AggregationMode>
-
- org.hl7.fhir.r5.model.ElementDefinition.AggregationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ElementDefinition.AggregationMode>
- Enclosing class:
- ElementDefinition
public static enum ElementDefinition.AggregationMode extends Enum<ElementDefinition.AggregationMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUNDLED
The resource the reference points to will be found in the same bundle as the resource that includes the reference.CONTAINED
The reference is a local reference to a contained resource.NULL
added to help the parsers with the generic typesREFERENCED
The reference to a resource that has to be resolved externally to the resource that includes the reference.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementDefinition.AggregationMode
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static ElementDefinition.AggregationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementDefinition.AggregationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTAINED
public static final ElementDefinition.AggregationMode CONTAINED
The reference is a local reference to a contained resource.
-
REFERENCED
public static final ElementDefinition.AggregationMode REFERENCED
The reference to a resource that has to be resolved externally to the resource that includes the reference.
-
BUNDLED
public static final ElementDefinition.AggregationMode BUNDLED
The resource the reference points to will be found in the same bundle as the resource that includes the reference.
-
NULL
public static final ElementDefinition.AggregationMode NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static ElementDefinition.AggregationMode[] 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 (ElementDefinition.AggregationMode c : ElementDefinition.AggregationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementDefinition.AggregationMode 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 ElementDefinition.AggregationMode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-