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
public class RuntimeChildChoiceDefinition extends BaseRuntimeDeclaredChildDefinition
-
-
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
Constructors Constructor Description RuntimeChildChoiceDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, List<Class<? extends IBase>> theChoiceTypes)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseRuntimeElementDefinition<?>getChildByName(String theName)BaseRuntimeElementDefinition<?>getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype)StringgetChildNameByDatatype(Class<? extends IBase> theDatatype)List<Class<? extends IBase>>getChoices()List<Class<? extends IBaseResource>>getResourceTypes()Set<String>getValidChildNames()Set<Class<? extends IBase>>getValidChildTypes()-
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, setReplacedParentDefinition, toString
-
-
-
-
Constructor Detail
-
RuntimeChildChoiceDefinition
public RuntimeChildChoiceDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, List<Class<? extends IBase>> theChoiceTypes)
Constructor
-
-
Method Detail
-
getChoices
public List<Class<? extends IBase>> getChoices()
-
getValidChildNames
public Set<String> getValidChildNames()
- Specified by:
getValidChildNamesin classBaseRuntimeChildDefinition
-
getChildByName
public BaseRuntimeElementDefinition<?> getChildByName(String theName)
- Specified by:
getChildByNamein classBaseRuntimeChildDefinition
-
getResourceTypes
public List<Class<? extends IBaseResource>> getResourceTypes()
-
getChildNameByDatatype
public String getChildNameByDatatype(Class<? extends IBase> theDatatype)
- Specified by:
getChildNameByDatatypein classBaseRuntimeChildDefinition
-
getChildElementDefinitionByDatatype
public BaseRuntimeElementDefinition<?> getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype)
- Specified by:
getChildElementDefinitionByDatatypein classBaseRuntimeChildDefinition
-
getValidChildTypes
public Set<Class<? extends IBase>> getValidChildTypes()
-
-