Search in sources :

Example 51 with ModelTypeInstanceContext

use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-cmmn-model by camunda.

the class InputProcessParameterImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputProcessParameter.class, CMMN_ELEMENT_INPUT).namespaceUri(CMMN11_NS).extendsType(ProcessParameter.class).instanceProvider(new ModelElementTypeBuilder.ModelTypeInstanceProvider<InputProcessParameter>() {

        public InputProcessParameter newInstance(ModelTypeInstanceContext instanceContext) {
            return new InputProcessParameterImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) ProcessParameter(org.camunda.bpm.model.cmmn.instance.ProcessParameter) InputProcessParameter(org.camunda.bpm.model.cmmn.instance.InputProcessParameter) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext) InputProcessParameter(org.camunda.bpm.model.cmmn.instance.InputProcessParameter)

Example 52 with ModelTypeInstanceContext

use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-cmmn-model by camunda.

the class InputsCaseParameterImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputsCaseParameter.class, CMMN_ELEMENT_INPUTS).namespaceUri(CMMN10_NS).extendsType(CaseParameter.class).instanceProvider(new ModelElementTypeBuilder.ModelTypeInstanceProvider<InputsCaseParameter>() {

        public InputsCaseParameter newInstance(ModelTypeInstanceContext instanceContext) {
            return new InputsCaseParameterImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : CaseParameter(org.camunda.bpm.model.cmmn.instance.CaseParameter) InputsCaseParameter(org.camunda.bpm.model.cmmn.instance.InputsCaseParameter) ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext) InputsCaseParameter(org.camunda.bpm.model.cmmn.instance.InputsCaseParameter)

Example 53 with ModelTypeInstanceContext

use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-cmmn-model by camunda.

the class ItemControlImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(ItemControl.class, CMMN_ELEMENT_ITEM_CONTROL).namespaceUri(CMMN11_NS).extendsType(PlanItemControl.class).instanceProvider(new ModelTypeInstanceProvider<ItemControl>() {

        public ItemControl newInstance(ModelTypeInstanceContext instanceContext) {
            return new ItemControlImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : PlanItemControl(org.camunda.bpm.model.cmmn.instance.PlanItemControl) ItemControl(org.camunda.bpm.model.cmmn.instance.ItemControl) ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) PlanItemControl(org.camunda.bpm.model.cmmn.instance.PlanItemControl) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)

Example 54 with ModelTypeInstanceContext

use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-cmmn-model by camunda.

the class MilestoneImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Milestone.class, CMMN_ELEMENT_MILESTONE).namespaceUri(CMMN11_NS).extendsType(PlanItemDefinition.class).instanceProvider(new ModelTypeInstanceProvider<Milestone>() {

        public Milestone newInstance(ModelTypeInstanceContext instanceContext) {
            return new MilestoneImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : PlanItemDefinition(org.camunda.bpm.model.cmmn.instance.PlanItemDefinition) Milestone(org.camunda.bpm.model.cmmn.instance.Milestone) ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)

Example 55 with ModelTypeInstanceContext

use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-cmmn-model by camunda.

the class OutputCaseParameterImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(OutputCaseParameter.class, CMMN_ELEMENT_OUTPUT).namespaceUri(CMMN11_NS).extendsType(CaseParameter.class).instanceProvider(new ModelElementTypeBuilder.ModelTypeInstanceProvider<OutputCaseParameter>() {

        public OutputCaseParameter newInstance(ModelTypeInstanceContext instanceContext) {
            return new OutputCaseParameterImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : OutputCaseParameter(org.camunda.bpm.model.cmmn.instance.OutputCaseParameter) CaseParameter(org.camunda.bpm.model.cmmn.instance.CaseParameter) ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) OutputCaseParameter(org.camunda.bpm.model.cmmn.instance.OutputCaseParameter) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)

Aggregations

ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)373 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)373 SequenceBuilder (org.camunda.bpm.model.xml.type.child.SequenceBuilder)133 BaseElement (org.camunda.bpm.model.bpmn.instance.BaseElement)27 DmnElementReference (org.camunda.bpm.model.dmn.instance.DmnElementReference)23 CmmnElement (org.camunda.bpm.model.cmmn.instance.CmmnElement)14 Expression (org.camunda.bpm.model.bpmn.instance.Expression)13 EventDefinition (org.camunda.bpm.model.bpmn.instance.EventDefinition)9 RootElement (org.camunda.bpm.model.bpmn.instance.RootElement)9 Task (org.camunda.bpm.model.bpmn.instance.Task)8 Expression (org.camunda.bpm.model.cmmn.instance.Expression)8 Expression (org.camunda.bpm.model.dmn.instance.Expression)8 FormalExpression (org.camunda.bpm.model.bpmn.instance.FormalExpression)5 InformationItem (org.camunda.bpm.model.dmn.instance.InformationItem)5 LiteralExpression (org.camunda.bpm.model.dmn.instance.LiteralExpression)5 NamedElement (org.camunda.bpm.model.dmn.instance.NamedElement)5 Gateway (org.camunda.bpm.model.bpmn.instance.Gateway)4 CaseParameter (org.camunda.bpm.model.cmmn.instance.CaseParameter)4 PlanItemDefinition (org.camunda.bpm.model.cmmn.instance.PlanItemDefinition)4 Task (org.camunda.bpm.model.cmmn.instance.Task)4