use of bpsim.Parameter in project jbpm by kiegroup.
the class ControlParametersImpl method basicSetTriggerCount.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTriggerCount(Parameter newTriggerCount, NotificationChain msgs) {
Parameter oldTriggerCount = triggerCount;
triggerCount = newTriggerCount;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT, oldTriggerCount, newTriggerCount);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of bpsim.Parameter in project jbpm by kiegroup.
the class CostParametersImpl method basicSetFixedCost.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetFixedCost(Parameter newFixedCost, NotificationChain msgs) {
Parameter oldFixedCost = fixedCost;
fixedCost = newFixedCost;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__FIXED_COST, oldFixedCost, newFixedCost);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of bpsim.Parameter in project jbpm by kiegroup.
the class CostParametersImpl method basicSetUnitCost.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetUnitCost(Parameter newUnitCost, NotificationChain msgs) {
Parameter oldUnitCost = unitCost;
unitCost = newUnitCost;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__UNIT_COST, oldUnitCost, newUnitCost);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of bpsim.Parameter in project jbpm by kiegroup.
the class ResourceParametersImpl method basicSetAvailability.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAvailability(Parameter newAvailability, NotificationChain msgs) {
Parameter oldAvailability = availability;
availability = newAvailability;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, oldAvailability, newAvailability);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of bpsim.Parameter in project jbpm by kiegroup.
the class ResourceParametersImpl method basicSetSelection.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSelection(Parameter newSelection, NotificationChain msgs) {
Parameter oldSelection = selection;
selection = newSelection;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__SELECTION, oldSelection, newSelection);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations