use of org.camunda.bpm.model.cmmn.instance.PlanItemControl in project camunda-cmmn-model by camunda.
the class PlanItemControlImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(PlanItemControl.class, CMMN_ELEMENT_PLAN_ITEM_CONTROL).namespaceUri(CMMN11_NS).extendsType(CmmnElement.class).instanceProvider(new ModelTypeInstanceProvider<PlanItemControl>() {
public PlanItemControl newInstance(ModelTypeInstanceContext instanceContext) {
return new PlanItemControlImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
repetitionRuleChild = sequenceBuilder.element(RepetitionRule.class).build();
requiredRuleChild = sequenceBuilder.element(RequiredRule.class).build();
manualActivationRuleChild = sequenceBuilder.element(ManualActivationRule.class).build();
typeBuilder.build();
}
Aggregations