use of org.camunda.bpm.model.dmn.instance.InputExpression in project camunda-engine-dmn by camunda.
the class DefaultDmnTransform method transformDecisionTableInput.
protected DmnDecisionTableInputImpl transformDecisionTableInput(Input input) {
DmnElementTransformHandler<Input, DmnDecisionTableInputImpl> handler = handlerRegistry.getHandler(Input.class);
DmnDecisionTableInputImpl dmnInput = handler.handleElement(this, input);
// validate input id
if (dmnInput.getId() == null) {
throw LOG.decisionTableInputIdIsMissing(decision, dmnInput);
}
InputExpression inputExpression = input.getInputExpression();
if (inputExpression != null) {
parent = dmnInput;
DmnExpressionImpl dmnExpression = transformInputExpression(inputExpression);
if (dmnExpression != null) {
dmnInput.setExpression(dmnExpression);
}
}
return dmnInput;
}
Aggregations