Class StructureDefinitionKind
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.StructureDefinitionKind
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class StructureDefinitionKind extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStructureDefinitionKind.Builderstatic classStructureDefinitionKind.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static StructureDefinitionKindCOMPLEX_TYPEComplex Data Typestatic StructureDefinitionKindLOGICALLogicalstatic StructureDefinitionKindPRIMITIVE_TYPEPrimitive Data Typestatic StructureDefinitionKindRESOURCEResource
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructureDefinitionKind.Builderbuilder()static Codecode(String value)Inherited factory method for creating StructureDefinitionKind objects from a passed string value.booleanequals(Object obj)StructureDefinitionKind.ValueSetgetValueAsEnumConstant()inthashCode()static StructureDefinitionKindof(StructureDefinitionKind.ValueSet value)Factory method for creating StructureDefinitionKind objects from a passed enum value.static StructureDefinitionKindof(String value)Factory method for creating StructureDefinitionKind objects from a passed string value.static Stringstring(String value)Inherited factory method for creating StructureDefinitionKind objects from a passed string value.StructureDefinitionKind.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
PRIMITIVE_TYPE
public static final StructureDefinitionKind PRIMITIVE_TYPE
Primitive Data TypeA primitive type that has a value and an extension. These can be used throughout complex datatype, Resource and extension definitions. Only the base specification can define primitive types.
-
COMPLEX_TYPE
public static final StructureDefinitionKind COMPLEX_TYPE
Complex Data TypeA complex structure that defines a set of data elements that is suitable for use in 'resources'. The base specification defines a number of complex types, and other specifications can define additional types. These structures do not have a maintained identity.
-
RESOURCE
public static final StructureDefinitionKind RESOURCE
ResourceA 'resource' - a directed acyclic graph of elements that aggregrates other types into an identifiable entity. The base FHIR resources are defined by the FHIR specification itself but other 'resources' can be defined in additional specifications (though these will not be recognised as 'resources' by the FHIR specification (i.e. they do not get end- points etc, or act as the targets of references in FHIR defined resources - though other specificatiosn can treat them this way).
-
LOGICAL
public static final StructureDefinitionKind LOGICAL
LogicalA pattern or a template that is not intended to be a real resource or complex type.
-
-
Method Detail
-
getValueAsEnumConstant
public StructureDefinitionKind.ValueSet getValueAsEnumConstant()
-
of
public static StructureDefinitionKind of(StructureDefinitionKind.ValueSet value)
Factory method for creating StructureDefinitionKind objects from a passed enum value.
-
of
public static StructureDefinitionKind of(String value)
Factory method for creating StructureDefinitionKind objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating StructureDefinitionKind objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating StructureDefinitionKind objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public StructureDefinitionKind.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static StructureDefinitionKind.Builder builder()
-
-