use of org.camunda.bpm.model.cmmn.instance.CaseFileModel in project camunda-cmmn-model by camunda.
the class CaseFileModelImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(CaseFileModel.class, CMMN_ELEMENT_CASE_FILE_MODEL).namespaceUri(CMMN11_NS).extendsType(CaseFile.class).instanceProvider(new ModelElementTypeBuilder.ModelTypeInstanceProvider<CaseFileModel>() {
public CaseFileModel newInstance(ModelTypeInstanceContext instanceContext) {
return new CaseFileModelImpl(instanceContext);
}
});
typeBuilder.build();
}
Aggregations