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
public abstract class BaseRuntimeChildDatatypeDefinition 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 BaseRuntimeChildDatatypeDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Enum<?>>getBoundEnumType()If this child has a bound type, this method will return the Enum type that it is bound to.BaseRuntimeElementDefinition<?>getChildByName(String theName)BaseRuntimeElementDefinition<?>getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype)StringgetChildNameByDatatype(Class<? extends IBase> theDatatype)Class<? extends IBase>getDatatype()Set<String>getValidChildNames()StringtoString()-
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
-
-
-
-
Constructor Detail
-
BaseRuntimeChildDatatypeDefinition
public BaseRuntimeChildDatatypeDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype)
-
-
Method Detail
-
getBoundEnumType
public Class<? extends Enum<?>> getBoundEnumType()
If this child has a bound type, this method will return the Enum type that it is bound to. Otherwise, will returnnull.
-
getChildByName
public BaseRuntimeElementDefinition<?> getChildByName(String theName)
- Specified by:
getChildByNamein classBaseRuntimeChildDefinition
-
getChildElementDefinitionByDatatype
public BaseRuntimeElementDefinition<?> getChildElementDefinitionByDatatype(Class<? extends IBase> theDatatype)
- Specified by:
getChildElementDefinitionByDatatypein classBaseRuntimeChildDefinition
-
getChildNameByDatatype
public String getChildNameByDatatype(Class<? extends IBase> theDatatype)
- Specified by:
getChildNameByDatatypein classBaseRuntimeChildDefinition
-
getDatatype
public Class<? extends IBase> getDatatype()
-
getValidChildNames
public Set<String> getValidChildNames()
- Specified by:
getValidChildNamesin classBaseRuntimeChildDefinition
-
toString
public String toString()
- Overrides:
toStringin classBaseRuntimeChildDefinition
-
-