Package org.hl7.fhir.dstu2.model
Enum StructureDefinition.StructureDefinitionKind
- java.lang.Object
-
- java.lang.Enum<StructureDefinition.StructureDefinitionKind>
-
- org.hl7.fhir.dstu2.model.StructureDefinition.StructureDefinitionKind
-
- All Implemented Interfaces:
Serializable,Comparable<StructureDefinition.StructureDefinitionKind>
- Enclosing class:
- StructureDefinition
public static enum StructureDefinition.StructureDefinitionKind extends Enum<StructureDefinition.StructureDefinitionKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATATYPEA data type - either a primitive or complex structure that defines a set of data elements.LOGICALA logical model - a conceptual package of data that will be mapped to resources for implementation.NULLadded to help the parsersRESOURCEA resource defined by the FHIR specification.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructureDefinition.StructureDefinitionKindfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static StructureDefinition.StructureDefinitionKindvalueOf(String name)Returns the enum constant of this type with the specified name.static StructureDefinition.StructureDefinitionKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATATYPE
public static final StructureDefinition.StructureDefinitionKind DATATYPE
A data type - either a primitive or complex structure that defines a set of data elements. These can be used throughout Resource and extension definitions.
-
RESOURCE
public static final StructureDefinition.StructureDefinitionKind RESOURCE
A resource defined by the FHIR specification.
-
LOGICAL
public static final StructureDefinition.StructureDefinitionKind LOGICAL
A logical model - a conceptual package of data that will be mapped to resources for implementation.
-
NULL
public static final StructureDefinition.StructureDefinitionKind NULL
added to help the parsers
-
-
Method Detail
-
values
public static StructureDefinition.StructureDefinitionKind[] 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 (StructureDefinition.StructureDefinitionKind c : StructureDefinition.StructureDefinitionKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StructureDefinition.StructureDefinitionKind 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 StructureDefinition.StructureDefinitionKind fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-