use of org.camunda.bpm.model.dmn.instance.InputClause in project camunda-dmn-model by camunda.
the class InputClauseImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputClause.class, DMN_ELEMENT_INPUT_CLAUSE).namespaceUri(DMN11_NS).extendsType(DmnElement.class).instanceProvider(new ModelTypeInstanceProvider<InputClause>() {
public InputClause newInstance(ModelTypeInstanceContext instanceContext) {
return new InputClauseImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
inputExpressionChild = sequenceBuilder.element(InputExpression.class).required().build();
inputValuesChild = sequenceBuilder.element(InputValues.class).build();
// camunda extensions
camundaInputVariableAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_INPUT_VARIABLE).namespace(CAMUNDA_NS).build();
typeBuilder.build();
}
Aggregations