Search in sources :

Example 36 with Parameter

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;
}
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