Search in sources :

Example 11 with Parameter

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;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 12 with Parameter

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;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 13 with Parameter

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;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 14 with Parameter

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;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 15 with Parameter

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;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Aggregations

Parameter (bpsim.Parameter)36 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)20 TimeParameters (bpsim.TimeParameters)13 UniformDistributionType (bpsim.UniformDistributionType)13 NormalDistributionType (bpsim.NormalDistributionType)12 PoissonDistributionType (bpsim.PoissonDistributionType)12 FloatingParameterType (bpsim.FloatingParameterType)10 CostParameters (bpsim.CostParameters)7 ElementParameters (bpsim.ElementParameters)7 ArrayList (java.util.ArrayList)7 EObject (org.eclipse.emf.ecore.EObject)7 DecimalFormat (java.text.DecimalFormat)6 EAttributeImpl (org.eclipse.emf.ecore.impl.EAttributeImpl)6 SimpleFeatureMapEntry (org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.SimpleFeatureMapEntry)6 ExtendedMetaData (org.eclipse.emf.ecore.util.ExtendedMetaData)6 ParameterValue (bpsim.ParameterValue)5 ResourceParameters (bpsim.ResourceParameters)5 Assignment (org.eclipse.bpmn2.Assignment)5 DataInput (org.eclipse.bpmn2.DataInput)5 DataInputAssociation (org.eclipse.bpmn2.DataInputAssociation)5