Package ca.uhn.fhir.context
Class BaseRuntimeElementCompositeDefinition<T extends IBase>
- java.lang.Object
-
- ca.uhn.fhir.context.BaseRuntimeElementDefinition<T>
-
- ca.uhn.fhir.context.BaseRuntimeElementCompositeDefinition<T>
-
- Direct Known Subclasses:
RuntimeCompositeDatatypeDefinition,RuntimeResourceBlockDefinition,RuntimeResourceDefinition
public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> extends BaseRuntimeElementDefinition<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ca.uhn.fhir.context.BaseRuntimeElementDefinition
BaseRuntimeElementDefinition.ChildTypeEnum
-
-
Constructor Summary
Constructors Constructor Description BaseRuntimeElementCompositeDefinition(String theName, Class<? extends T> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseRuntimeChildDefinitiongetChildByName(String theName)BaseRuntimeChildDefinitiongetChildByNameOrThrowDataFormatException(String theName)List<BaseRuntimeChildDefinition>getChildren()List<BaseRuntimeChildDefinition>getChildrenAndExtension()booleanisSealed()Has this class been sealedprotected voidvalidateSealed()-
Methods inherited from class ca.uhn.fhir.context.BaseRuntimeElementDefinition
addExtension, getChildType, getDeclaredExtension, getExtensions, getExtensionsModifier, getExtensionsNonModifier, getImplementingClass, getName, getRootParentDefinition, hasExtensions, isStandardType, newInstance, newInstance, toString
-
-
-
-
Constructor Detail
-
BaseRuntimeElementCompositeDefinition
public BaseRuntimeElementCompositeDefinition(String theName, Class<? extends T> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions)
-
-
Method Detail
-
getChildByName
public BaseRuntimeChildDefinition getChildByName(String theName)
-
getChildByNameOrThrowDataFormatException
public BaseRuntimeChildDefinition getChildByNameOrThrowDataFormatException(String theName) throws DataFormatException
- Throws:
DataFormatException
-
getChildren
public List<BaseRuntimeChildDefinition> getChildren()
-
getChildrenAndExtension
public List<BaseRuntimeChildDefinition> getChildrenAndExtension()
-
isSealed
public boolean isSealed()
Has this class been sealed
-
validateSealed
protected void validateSealed()
- Overrides:
validateSealedin classBaseRuntimeElementDefinition<T extends IBase>
-
-