use of org.camunda.bpm.model.dmn.instance.OutputClause in project camunda-dmn-model by camunda.
the class OutputClauseImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(OutputClause.class, DMN_ELEMENT_OUTPUT_CLAUSE).namespaceUri(DMN11_NS).extendsType(DmnElement.class).instanceProvider(new ModelTypeInstanceProvider<OutputClause>() {
public OutputClause newInstance(ModelTypeInstanceContext instanceContext) {
return new OutputClauseImpl(instanceContext);
}
});
nameAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_NAME).build();
typeRefAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_TYPE_REF).build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
outputValuesChild = sequenceBuilder.element(OutputValues.class).build();
defaultOutputEntryChild = sequenceBuilder.element(DefaultOutputEntry.class).build();
typeBuilder.build();
}
Aggregations