Search in sources :

Example 31 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class TimeParametersImpl method basicSetWaitTime.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetWaitTime(Parameter newWaitTime, NotificationChain msgs) {
    Parameter oldWaitTime = waitTime;
    waitTime = newWaitTime;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__WAIT_TIME, oldWaitTime, newWaitTime);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 32 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class TimeParametersImpl method basicSetQueueTime.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetQueueTime(Parameter newQueueTime, NotificationChain msgs) {
    Parameter oldQueueTime = queueTime;
    queueTime = newQueueTime;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, oldQueueTime, newQueueTime);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 33 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class ControlParametersImpl method basicSetInterTriggerTimer.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetInterTriggerTimer(Parameter newInterTriggerTimer, NotificationChain msgs) {
    Parameter oldInterTriggerTimer = interTriggerTimer;
    interTriggerTimer = newInterTriggerTimer;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, oldInterTriggerTimer, newInterTriggerTimer);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 34 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class ControlParametersImpl method basicSetCondition.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetCondition(Parameter newCondition, NotificationChain msgs) {
    Parameter oldCondition = condition;
    condition = newCondition;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__CONDITION, oldCondition, newCondition);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) Parameter(bpsim.Parameter)

Example 35 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class PriorityParametersImpl method basicSetInterruptible.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetInterruptible(Parameter newInterruptible, NotificationChain msgs) {
    Parameter oldInterruptible = interruptible;
    interruptible = newInterruptible;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, oldInterruptible, newInterruptible);
        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