
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.FieldPlainMutatorNested classes/interfaces inherited from class ca.uhn.fhir.context.BaseRuntimeChildDefinition
BaseRuntimeChildDefinition.IAccessor, BaseRuntimeChildDefinition.IMutator -
Constructor Summary
ConstructorsConstructorDescriptionBaseRuntimeChildDatatypeDefinition(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, setModifierMethods 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:
getChildByNamein classBaseRuntimeChildDefinition
-
getChildElementDefinitionByDatatype
public BaseRuntimeElementDefinition<?> getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype) - Specified by:
getChildElementDefinitionByDatatypein classBaseRuntimeChildDefinition
-
getChildNameByDatatype
- Specified by:
getChildNameByDatatypein classBaseRuntimeChildDefinition
-
getDatatype
-
getValidChildNames
- Specified by:
getValidChildNamesin classBaseRuntimeChildDefinition
-
toString
- Overrides:
toStringin classBaseRuntimeChildDefinition
-