BaseRuntimeElementCompositeDefinition<?> targetDef = (BaseRuntimeElementCompositeDefinition<?>) myContext.getElementDefinition(theTarget.getClass()); List<BaseRuntimeChildDefinition> children = sourceDef.getChildren(); if (sourceDef instanceof RuntimeExtensionDtDefinition) { children = ((RuntimeExtensionDtDefinition) sourceDef).getChildrenIncludingUrl();
for (BaseRuntimeChildDefinition nextChildDef : cdef.getChildren()) {
private void copyChildren(BaseRuntimeElementCompositeDefinition<?> theSourceDef, IBase theSource, BaseRuntimeElementCompositeDefinition<?> theTargetDef, IBase theTarget) { if (!theSource.isEmpty()) { List<BaseRuntimeChildDefinition> targetChildren = theTargetDef.getChildren(); List<RuntimeChildDeclaredExtensionDefinition> targetExts = theTargetDef.getExtensions();
BaseRuntimeElementCompositeDefinition<?> targetDef = (BaseRuntimeElementCompositeDefinition<?>) myContext.getElementDefinition(theTarget.getClass()); List<BaseRuntimeChildDefinition> children = sourceDef.getChildren(); if (sourceDef instanceof RuntimeExtensionDtDefinition) { children = ((RuntimeExtensionDtDefinition) sourceDef).getChildrenIncludingUrl();
for (BaseRuntimeChildDefinition nextChildDef : cdef.getChildren()) {
private void copyChildren(BaseRuntimeElementCompositeDefinition<?> theSourceDef, IBase theSource, BaseRuntimeElementCompositeDefinition<?> theTargetDef, IBase theTarget) { if (!theSource.isEmpty()) { List<BaseRuntimeChildDefinition> targetChildren = theTargetDef.getChildren(); List<RuntimeChildDeclaredExtensionDefinition> targetExts = theTargetDef.getExtensions();
for (BaseRuntimeChildDefinition nextChild : cdef.getChildren()) { if (nextChild instanceof RuntimeChildUndeclaredExtensionDefinition) { continue;