Package com.ibm.fhir.model.type.code
Class TypeDerivationRule
- 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.TypeDerivationRule
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class TypeDerivationRule extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeDerivationRule.Builderstatic classTypeDerivationRule.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static TypeDerivationRuleCONSTRAINTConstraintstatic TypeDerivationRuleSPECIALIZATIONSpecialization
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeDerivationRule.Builderbuilder()static Codecode(String value)Inherited factory method for creating TypeDerivationRule objects from a passed string value.booleanequals(Object obj)TypeDerivationRule.ValueSetgetValueAsEnumConstant()inthashCode()static TypeDerivationRuleof(TypeDerivationRule.ValueSet value)Factory method for creating TypeDerivationRule objects from a passed enum value.static TypeDerivationRuleof(String value)Factory method for creating TypeDerivationRule objects from a passed string value.static Stringstring(String value)Inherited factory method for creating TypeDerivationRule objects from a passed string value.TypeDerivationRule.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
-
SPECIALIZATION
public static final TypeDerivationRule SPECIALIZATION
SpecializationThis definition defines a new type that adds additional elements to the base type.
-
CONSTRAINT
public static final TypeDerivationRule CONSTRAINT
ConstraintThis definition adds additional rules to an existing concrete type.
-
-
Method Detail
-
getValueAsEnumConstant
public TypeDerivationRule.ValueSet getValueAsEnumConstant()
-
of
public static TypeDerivationRule of(TypeDerivationRule.ValueSet value)
Factory method for creating TypeDerivationRule objects from a passed enum value.
-
of
public static TypeDerivationRule of(String value)
Factory method for creating TypeDerivationRule 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 TypeDerivationRule 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 TypeDerivationRule 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 TypeDerivationRule.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static TypeDerivationRule.Builder builder()
-
-