use of org.camunda.bpm.model.cmmn.instance.camunda.CamundaIn in project camunda-cmmn-model by camunda.
the class CamundaInImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(CamundaIn.class, CAMUNDA_ELEMENT_IN).namespaceUri(CAMUNDA_NS).instanceProvider(new ModelTypeInstanceProvider<CamundaIn>() {
public CamundaIn newInstance(ModelTypeInstanceContext instanceContext) {
return new CamundaInImpl(instanceContext);
}
});
camundaSourceAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_SOURCE).namespace(CAMUNDA_NS).build();
camundaSourceExpressionAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_SOURCE_EXPRESSION).namespace(CAMUNDA_NS).build();
camundaVariablesAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_VARIABLES).namespace(CAMUNDA_NS).build();
camundaTargetAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_TARGET).namespace(CAMUNDA_NS).build();
camundaBusinessKeyAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_BUSINESS_KEY).namespace(CAMUNDA_NS).build();
camundaLocalAttribute = typeBuilder.booleanAttribute(CAMUNDA_ATTRIBUTE_LOCAL).namespace(CAMUNDA_NS).build();
typeBuilder.build();
}
Aggregations