Package ca.uhn.fhir.context
Class RuntimeChildChoiceDefinition
java.lang.Object
ca.uhn.fhir.context.BaseRuntimeChildDefinition
ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition
ca.uhn.fhir.context.RuntimeChildChoiceDefinition
- Direct Known Subclasses:
RuntimeChildAny
,RuntimeChildDeclaredExtensionDefinition
-
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
ConstructorDescriptionRuntimeChildChoiceDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, List<Class<? extends IBase>> theChoiceTypes) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetChildByName
(String theName) getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) getChildNameByDatatype
(Class<? extends IBase> theDatatype) List
<Class<? extends IBaseResource>> 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, toString
-
Constructor Details
-
RuntimeChildChoiceDefinition
public RuntimeChildChoiceDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, List<Class<? extends IBase>> theChoiceTypes) Constructor
-
-
Method Details
-
getChoices
-
getValidChildNames
- Specified by:
getValidChildNames
in classBaseRuntimeChildDefinition
-
getChildByName
- Specified by:
getChildByName
in classBaseRuntimeChildDefinition
-
getResourceTypes
-
getChildNameByDatatype
- Specified by:
getChildNameByDatatype
in classBaseRuntimeChildDefinition
-
getChildElementDefinitionByDatatype
public BaseRuntimeElementDefinition<?> getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype) - Specified by:
getChildElementDefinitionByDatatype
in classBaseRuntimeChildDefinition
-
getValidChildTypes
-