use of bpsim.Parameter in project jbpm by kiegroup.
the class PriorityParametersImpl method basicSetPriority.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPriority(Parameter newPriority, NotificationChain msgs) {
Parameter oldPriority = priority;
priority = newPriority;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, oldPriority, newPriority);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations