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