use of org.eclipse.bpmn2.Expression in project xtext-core by eclipse.
the class Expression_Not_LessImpl method basicSetLeft.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) {
Expression oldLeft = left;
left = newLeft;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Bug385636Package.EXPRESSION_NOT_LESS__LEFT, oldLeft, newLeft);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.bpmn2.Expression in project xtext-core by eclipse.
the class Expression_SmallerImpl method basicSetLeft.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) {
Expression oldLeft = left;
left = newLeft;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Bug385636Package.EXPRESSION_SMALLER__LEFT, oldLeft, newLeft);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.bpmn2.Expression in project drools by kiegroup.
the class DMNListConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
List list = (List) parent;
for (Expression e : list.getExpression()) {
writeChildrenNode(writer, context, e, MarshallingUtils.defineExpressionNodeName(e));
}
}
use of org.eclipse.bpmn2.Expression in project drools by kiegroup.
the class DMNEvaluatorCompiler method compileList.
private DMNExpressionEvaluator compileList(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String listName, org.kie.dmn.model.v1_1.List expression) {
org.kie.dmn.model.v1_1.List listDef = expression;
DMNListEvaluator listEval = new DMNListEvaluator(node.getName(), node.getSource(), listDef);
for (Expression expr : listDef.getExpression()) {
listEval.addElement(compileExpression(ctx, model, node, listName, expr));
}
return listEval;
}
use of org.eclipse.bpmn2.Expression in project kie-wb-common by kiegroup.
the class BindingPropertyConverter method wbFromDMN.
public static Binding wbFromDMN(final org.kie.dmn.model.v1_1.Binding dmn) {
if (dmn == null) {
return null;
}
InformationItem convertedParameter = InformationItemPropertyConverter.wbFromDMN(dmn.getParameter());
Expression convertedExpression = ExpressionPropertyConverter.wbFromDMN(dmn.getExpression());
Binding result = new Binding();
result.setParameter(convertedParameter);
result.setExpression(convertedExpression);
return result;
}
Aggregations