Package org.hl7.fhir.r4.profilemodel
Enum PEDefinition.PEDefinitionElementMode
- java.lang.Object
-
- java.lang.Enum<PEDefinition.PEDefinitionElementMode>
-
- org.hl7.fhir.r4.profilemodel.PEDefinition.PEDefinitionElementMode
-
- All Implemented Interfaces:
Serializable,Comparable<PEDefinition.PEDefinitionElementMode>
- Enclosing class:
- PEDefinition
public static enum PEDefinition.PEDefinitionElementMode extends Enum<PEDefinition.PEDefinitionElementMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PEDefinition.PEDefinitionElementModevalueOf(String name)Returns the enum constant of this type with the specified name.static PEDefinition.PEDefinitionElementMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Resource
public static final PEDefinition.PEDefinitionElementMode Resource
-
Element
public static final PEDefinition.PEDefinitionElementMode Element
-
DataType
public static final PEDefinition.PEDefinitionElementMode DataType
-
Extension
public static final PEDefinition.PEDefinitionElementMode Extension
-
-
Method Detail
-
values
public static PEDefinition.PEDefinitionElementMode[] 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 (PEDefinition.PEDefinitionElementMode c : PEDefinition.PEDefinitionElementMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PEDefinition.PEDefinitionElementMode 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
-
-