use of org.camunda.bpm.model.dmn.instance.UnaryTests in project camunda-dmn-model by camunda.
the class UnaryTestsImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(UnaryTests.class, DMN_ELEMENT_UNARY_TESTS).namespaceUri(DMN11_NS).extendsType(DmnElement.class).instanceProvider(new ModelTypeInstanceProvider<UnaryTests>() {
public UnaryTests newInstance(ModelTypeInstanceContext instanceContext) {
return new UnaryTestsImpl(instanceContext);
}
});
expressionLanguageAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_EXPRESSION_LANGUAGE).build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
textChild = sequenceBuilder.element(Text.class).build();
typeBuilder.build();
}
Aggregations