Search in sources :

Example 16 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class ScenarioParametersImpl method basicSetDuration.

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

Example 17 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class TimeParametersImpl method basicSetSetUpTime.

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

Example 18 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class TimeParametersImpl method basicSetValidationTime.

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

Example 19 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class TimeParametersImpl method basicSetReworkTime.

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

Example 20 with Parameter

use of bpsim.Parameter in project jbpm by kiegroup.

the class TimeParametersImpl method basicSetProcessingTime.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetProcessingTime(Parameter newProcessingTime, NotificationChain msgs) {
    Parameter oldProcessingTime = processingTime;
    processingTime = newProcessingTime;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, oldProcessingTime, newProcessingTime);
        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