use of org.kie.dmn.model.api.RuleAnnotation in project kie-wb-common by kiegroup.
the class RuleAnnotationClauseTextConverter method dmnFromWB.
public static RuleAnnotation dmnFromWB(final RuleAnnotationClauseText wb) {
if (wb == null) {
return null;
}
final RuleAnnotation ruleAnnotation = new org.kie.dmn.model.v1_2.TRuleAnnotation();
ruleAnnotation.setText(wb.getText().getValue());
return ruleAnnotation;
}
Aggregations