use of org.camunda.bpm.model.xml.impl.ModelBuildOperation in project camunda-xml-model by camunda.
the class ChildElementCollectionBuilderImpl method performModelBuild.
public void performModelBuild(Model model) {
ModelElementType elementType = model.getType(childElementType);
if (elementType == null) {
throw new ModelException(parentElementType + " declares undefined child element of type " + childElementType + ".");
}
parentElementType.registerChildElementType(elementType);
parentElementType.registerChildElementCollection(collection);
for (ModelBuildOperation modelBuildOperation : modelBuildOperations) {
modelBuildOperation.performModelBuild(model);
}
}
Aggregations