use of org.camunda.bpm.model.cmmn.instance.Children in project camunda-cmmn-model by camunda.
the class ChildrenImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Children.class, CMMN_ELEMENT_CHILDREN).namespaceUri(CMMN11_NS).extendsType(CmmnElement.class).instanceProvider(new ModelTypeInstanceProvider<Children>() {
public Children newInstance(ModelTypeInstanceContext instanceContext) {
return new ChildrenImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
caseFileItemCollection = sequenceBuilder.elementCollection(CaseFileItem.class).build();
typeBuilder.build();
}
Aggregations