Package ca.uhn.fhir.context
Class BaseRuntimeChildDatatypeDefinition
java.lang.Object
ca.uhn.fhir.context.BaseRuntimeChildDefinition
ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition
ca.uhn.fhir.context.BaseRuntimeChildDatatypeDefinition
- Direct Known Subclasses:
RuntimeChildCompositeDatatypeDefinition
,RuntimeChildPrimitiveDatatypeDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition
BaseRuntimeDeclaredChildDefinition.FieldListMutator, BaseRuntimeDeclaredChildDefinition.FieldPlainMutator
Nested classes/interfaces inherited from class ca.uhn.fhir.context.BaseRuntimeChildDefinition
BaseRuntimeChildDefinition.IAccessor, BaseRuntimeChildDefinition.IMutator
-
Constructor Summary
ConstructorDescriptionBaseRuntimeChildDatatypeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype) -
Method Summary
Modifier and TypeMethodDescriptionIf this child has a bound type, this method will return the Enum type that it is bound to.getChildByName
(String theName) getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) getChildNameByDatatype
(Class<? extends IBase> theDatatype) toString()
Methods inherited from class ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition
getAccessor, getBindingValueSet, getElementName, getField, getFormalDefinition, getMax, getMin, getMutator, getShortDefinition, isModifier, isSummary, setModifier
Methods inherited from class ca.uhn.fhir.context.BaseRuntimeChildDefinition
getExtensionUrl, getInstanceConstructorArguments, getReplacedParentDefinition, isMultipleCardinality, setReplacedParentDefinition
-
Constructor Details
-
BaseRuntimeChildDatatypeDefinition
public BaseRuntimeChildDatatypeDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype)
-
-
Method Details
-
getBoundEnumType
If this child has a bound type, this method will return the Enum type that it is bound to. Otherwise, will returnnull
. -
getChildByName
- Specified by:
getChildByName
in classBaseRuntimeChildDefinition
-
getChildElementDefinitionByDatatype
public BaseRuntimeElementDefinition<?> getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype) - Specified by:
getChildElementDefinitionByDatatype
in classBaseRuntimeChildDefinition
-
getChildNameByDatatype
- Specified by:
getChildNameByDatatype
in classBaseRuntimeChildDefinition
-
getDatatype
-
getValidChildNames
- Specified by:
getValidChildNames
in classBaseRuntimeChildDefinition
-
toString
- Overrides:
toString
in classBaseRuntimeChildDefinition
-