Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java')
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java366
1 files changed, 170 insertions, 196 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java
index 9eb909fcc..1d4a9ad85 100644
--- a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java
@@ -43,33 +43,37 @@ import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Activity</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Activity</b></em>'. <!--
+ * end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getIoSpecification <em>Io Specification</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getBoundaryEventRefs <em>Boundary Event Refs</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDataInputAssociations <em>Data Input Associations</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDataOutputAssociations <em>Data Output Associations</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getResources <em>Resources</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getLoopCharacteristics <em>Loop Characteristics</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getCompletionQuantity <em>Completion Quantity</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDefault <em>Default</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#isIsForCompensation <em>Is For Compensation</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getStartQuantity <em>Start Quantity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getBoundaryEventRefs <em>Boundary Event Refs</em>}
+ * </li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDataInputAssociations <em>Data Input
+ * Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDataOutputAssociations <em>Data Output
+ * Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getResources <em>Resources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getLoopCharacteristics <em>Loop Characteristics
+ * </em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getCompletionQuantity <em>Completion Quantity
+ * </em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#isIsForCompensation <em>Is For Compensation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getStartQuantity <em>Start Quantity</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ActivityImpl extends FlowNodeImpl implements Activity {
/**
- * The cached value of the '{@link #getIoSpecification() <em>Io Specification</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getIoSpecification() <em>Io Specification</em>}' containment
+ * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getIoSpecification()
* @generated
* @ordered
@@ -77,9 +81,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected InputOutputSpecification ioSpecification;
/**
- * The cached value of the '{@link #getBoundaryEventRefs() <em>Boundary Event Refs</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getBoundaryEventRefs() <em>Boundary Event Refs</em>}'
+ * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getBoundaryEventRefs()
* @generated
* @ordered
@@ -87,9 +91,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected EList<BoundaryEvent> boundaryEventRefs;
/**
- * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference
+ * list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getProperties()
* @generated
* @ordered
@@ -97,9 +101,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected EList<Property> properties;
/**
- * The cached value of the '{@link #getDataInputAssociations() <em>Data Input Associations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getDataInputAssociations() <em>Data Input Associations</em>}'
+ * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getDataInputAssociations()
* @generated
* @ordered
@@ -107,9 +111,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected EList<DataInputAssociation> dataInputAssociations;
/**
- * The cached value of the '{@link #getDataOutputAssociations() <em>Data Output Associations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getDataOutputAssociations() <em>Data Output Associations</em>}
+ * ' containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getDataOutputAssociations()
* @generated
* @ordered
@@ -117,9 +121,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected EList<DataOutputAssociation> dataOutputAssociations;
/**
- * The cached value of the '{@link #getResources() <em>Resources</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getResources() <em>Resources</em>}' containment reference
+ * list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getResources()
* @generated
* @ordered
@@ -127,9 +131,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected EList<ResourceRole> resources;
/**
- * The cached value of the '{@link #getLoopCharacteristics() <em>Loop Characteristics</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getLoopCharacteristics() <em>Loop Characteristics</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getLoopCharacteristics()
* @generated
* @ordered
@@ -137,9 +141,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected LoopCharacteristics loopCharacteristics;
/**
- * The default value of the '{@link #getCompletionQuantity() <em>Completion Quantity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #getCompletionQuantity() <em>Completion Quantity</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getCompletionQuantity()
* @generated
* @ordered
@@ -147,9 +151,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected static final int COMPLETION_QUANTITY_EDEFAULT = 1;
/**
- * The cached value of the '{@link #getCompletionQuantity() <em>Completion Quantity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getCompletionQuantity() <em>Completion Quantity</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getCompletionQuantity()
* @generated
* @ordered
@@ -157,9 +161,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected int completionQuantity = COMPLETION_QUANTITY_EDEFAULT;
/**
- * The cached value of the '{@link #getDefault() <em>Default</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' reference. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @see #getDefault()
* @generated
* @ordered
@@ -167,9 +171,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected SequenceFlow default_;
/**
- * The default value of the '{@link #isIsForCompensation() <em>Is For Compensation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #isIsForCompensation() <em>Is For Compensation</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isIsForCompensation()
* @generated
* @ordered
@@ -177,9 +181,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected static final boolean IS_FOR_COMPENSATION_EDEFAULT = false;
/**
- * The cached value of the '{@link #isIsForCompensation() <em>Is For Compensation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #isIsForCompensation() <em>Is For Compensation</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isIsForCompensation()
* @generated
* @ordered
@@ -187,9 +191,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected boolean isForCompensation = IS_FOR_COMPENSATION_EDEFAULT;
/**
- * The default value of the '{@link #getStartQuantity() <em>Start Quantity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #getStartQuantity() <em>Start Quantity</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getStartQuantity()
* @generated
* @ordered
@@ -197,9 +201,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected static final int START_QUANTITY_EDEFAULT = 1;
/**
- * The cached value of the '{@link #getStartQuantity() <em>Start Quantity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getStartQuantity() <em>Start Quantity</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getStartQuantity()
* @generated
* @ordered
@@ -207,8 +211,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
protected int startQuantity = START_QUANTITY_EDEFAULT;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected ActivityImpl() {
@@ -216,8 +220,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -226,8 +230,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public InputOutputSpecification getIoSpecification() {
@@ -235,18 +239,17 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- public NotificationChain basicSetIoSpecification(
- InputOutputSpecification newIoSpecification, NotificationChain msgs) {
+ public NotificationChain basicSetIoSpecification(InputOutputSpecification newIoSpecification,
+ NotificationChain msgs) {
InputOutputSpecification oldIoSpecification = ioSpecification;
ioSpecification = newIoSpecification;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
- oldIoSpecification, newIoSpecification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__IO_SPECIFICATION, oldIoSpecification, newIoSpecification);
if (msgs == null)
msgs = notification;
else
@@ -256,104 +259,95 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setIoSpecification(InputOutputSpecification newIoSpecification) {
if (newIoSpecification != ioSpecification) {
NotificationChain msgs = null;
if (ioSpecification != null)
- msgs = ((InternalEObject) ioSpecification).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
- null, msgs);
+ msgs = ((InternalEObject) ioSpecification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__IO_SPECIFICATION, null, msgs);
if (newIoSpecification != null)
- msgs = ((InternalEObject) newIoSpecification).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
- null, msgs);
+ msgs = ((InternalEObject) newIoSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__IO_SPECIFICATION, null, msgs);
msgs = basicSetIoSpecification(newIoSpecification, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
- newIoSpecification, newIoSpecification));
+ Bpmn2Package.ACTIVITY__IO_SPECIFICATION, newIoSpecification, newIoSpecification));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<BoundaryEvent> getBoundaryEventRefs() {
if (boundaryEventRefs == null) {
- boundaryEventRefs = new EObjectWithInverseEList<BoundaryEvent>(
- BoundaryEvent.class, this,
- Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS,
- Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF);
+ boundaryEventRefs = new EObjectWithInverseEList<BoundaryEvent>(BoundaryEvent.class, this,
+ Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS, Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF);
}
return boundaryEventRefs;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<Property> getProperties() {
if (properties == null) {
- properties = new EObjectContainmentEList<Property>(Property.class,
- this, Bpmn2Package.ACTIVITY__PROPERTIES);
+ properties = new EObjectContainmentEList<Property>(Property.class, this,
+ Bpmn2Package.ACTIVITY__PROPERTIES);
}
return properties;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<DataInputAssociation> getDataInputAssociations() {
if (dataInputAssociations == null) {
dataInputAssociations = new EObjectContainmentEList<DataInputAssociation>(
- DataInputAssociation.class, this,
- Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS);
+ DataInputAssociation.class, this, Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS);
}
return dataInputAssociations;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<DataOutputAssociation> getDataOutputAssociations() {
if (dataOutputAssociations == null) {
dataOutputAssociations = new EObjectContainmentEList<DataOutputAssociation>(
- DataOutputAssociation.class, this,
- Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS);
+ DataOutputAssociation.class, this, Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS);
}
return dataOutputAssociations;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<ResourceRole> getResources() {
if (resources == null) {
- resources = new EObjectContainmentEList<ResourceRole>(
- ResourceRole.class, this, Bpmn2Package.ACTIVITY__RESOURCES);
+ resources = new EObjectContainmentEList<ResourceRole>(ResourceRole.class, this,
+ Bpmn2Package.ACTIVITY__RESOURCES);
}
return resources;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public LoopCharacteristics getLoopCharacteristics() {
@@ -361,19 +355,18 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- public NotificationChain basicSetLoopCharacteristics(
- LoopCharacteristics newLoopCharacteristics, NotificationChain msgs) {
+ public NotificationChain basicSetLoopCharacteristics(LoopCharacteristics newLoopCharacteristics,
+ NotificationChain msgs) {
LoopCharacteristics oldLoopCharacteristics = loopCharacteristics;
loopCharacteristics = newLoopCharacteristics;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET,
- Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
- oldLoopCharacteristics, newLoopCharacteristics);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS, oldLoopCharacteristics,
+ newLoopCharacteristics);
if (msgs == null)
msgs = notification;
else
@@ -383,36 +376,31 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- public void setLoopCharacteristics(
- LoopCharacteristics newLoopCharacteristics) {
+ public void setLoopCharacteristics(LoopCharacteristics newLoopCharacteristics) {
if (newLoopCharacteristics != loopCharacteristics) {
NotificationChain msgs = null;
if (loopCharacteristics != null)
- msgs = ((InternalEObject) loopCharacteristics).eInverseRemove(
- this, EOPPOSITE_FEATURE_BASE
- - Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
- null, msgs);
+ msgs = ((InternalEObject) loopCharacteristics).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS, null, msgs);
if (newLoopCharacteristics != null)
- msgs = ((InternalEObject) newLoopCharacteristics).eInverseAdd(
- this, EOPPOSITE_FEATURE_BASE
- - Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
- null, msgs);
+ msgs = ((InternalEObject) newLoopCharacteristics).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS, null, msgs);
msgs = basicSetLoopCharacteristics(newLoopCharacteristics, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
- newLoopCharacteristics, newLoopCharacteristics));
+ Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS, newLoopCharacteristics,
+ newLoopCharacteristics));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public int getCompletionQuantity() {
@@ -420,8 +408,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setCompletionQuantity(int newCompletionQuantity) {
@@ -429,13 +417,12 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
completionQuantity = newCompletionQuantity;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY,
- oldCompletionQuantity, completionQuantity));
+ Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY, oldCompletionQuantity, completionQuantity));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public SequenceFlow getDefault() {
@@ -443,21 +430,21 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setDefault(SequenceFlow newDefault) {
SequenceFlow oldDefault = default_;
default_ = newDefault;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.ACTIVITY__DEFAULT, oldDefault, default_));
+ eNotify(new ENotificationImpl(this, Notification.SET, Bpmn2Package.ACTIVITY__DEFAULT,
+ oldDefault, default_));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isIsForCompensation() {
@@ -465,8 +452,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setIsForCompensation(boolean newIsForCompensation) {
@@ -474,13 +461,12 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
isForCompensation = newIsForCompensation;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION,
- oldIsForCompensation, isForCompensation));
+ Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION, oldIsForCompensation, isForCompensation));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public int getStartQuantity() {
@@ -488,62 +474,56 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setStartQuantity(int newStartQuantity) {
int oldStartQuantity = startQuantity;
startQuantity = newStartQuantity;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.ACTIVITY__START_QUANTITY, oldStartQuantity,
- startQuantity));
+ eNotify(new ENotificationImpl(this, Notification.SET, Bpmn2Package.ACTIVITY__START_QUANTITY,
+ oldStartQuantity, startQuantity));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd,
- int featureID, NotificationChain msgs) {
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID,
+ NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getBoundaryEventRefs())
- .basicAdd(otherEnd, msgs);
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getBoundaryEventRefs()).basicAdd(
+ otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd,
- int featureID, NotificationChain msgs) {
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
+ NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.ACTIVITY__IO_SPECIFICATION:
return basicSetIoSpecification(null, msgs);
case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
- return ((InternalEList<?>) getBoundaryEventRefs()).basicRemove(
- otherEnd, msgs);
+ return ((InternalEList<?>) getBoundaryEventRefs()).basicRemove(otherEnd, msgs);
case Bpmn2Package.ACTIVITY__PROPERTIES:
- return ((InternalEList<?>) getProperties()).basicRemove(otherEnd,
- msgs);
+ return ((InternalEList<?>) getProperties()).basicRemove(otherEnd, msgs);
case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
- return ((InternalEList<?>) getDataInputAssociations()).basicRemove(
- otherEnd, msgs);
+ return ((InternalEList<?>) getDataInputAssociations()).basicRemove(otherEnd, msgs);
case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
- return ((InternalEList<?>) getDataOutputAssociations())
- .basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getDataOutputAssociations()).basicRemove(otherEnd, msgs);
case Bpmn2Package.ACTIVITY__RESOURCES:
- return ((InternalEList<?>) getResources()).basicRemove(otherEnd,
- msgs);
+ return ((InternalEList<?>) getResources()).basicRemove(otherEnd, msgs);
case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
return basicSetLoopCharacteristics(null, msgs);
}
@@ -551,8 +531,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -585,8 +565,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -598,8 +578,7 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
return;
case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
getBoundaryEventRefs().clear();
- getBoundaryEventRefs().addAll(
- (Collection<? extends BoundaryEvent>) newValue);
+ getBoundaryEventRefs().addAll((Collection<? extends BoundaryEvent>) newValue);
return;
case Bpmn2Package.ACTIVITY__PROPERTIES:
getProperties().clear();
@@ -607,18 +586,15 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
return;
case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
getDataInputAssociations().clear();
- getDataInputAssociations().addAll(
- (Collection<? extends DataInputAssociation>) newValue);
+ getDataInputAssociations().addAll((Collection<? extends DataInputAssociation>) newValue);
return;
case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
getDataOutputAssociations().clear();
- getDataOutputAssociations().addAll(
- (Collection<? extends DataOutputAssociation>) newValue);
+ getDataOutputAssociations().addAll((Collection<? extends DataOutputAssociation>) newValue);
return;
case Bpmn2Package.ACTIVITY__RESOURCES:
getResources().clear();
- getResources()
- .addAll((Collection<? extends ResourceRole>) newValue);
+ getResources().addAll((Collection<? extends ResourceRole>) newValue);
return;
case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
setLoopCharacteristics((LoopCharacteristics) newValue);
@@ -640,8 +616,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -685,8 +661,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -699,11 +675,9 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
case Bpmn2Package.ACTIVITY__PROPERTIES:
return properties != null && !properties.isEmpty();
case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
- return dataInputAssociations != null
- && !dataInputAssociations.isEmpty();
+ return dataInputAssociations != null && !dataInputAssociations.isEmpty();
case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
- return dataOutputAssociations != null
- && !dataOutputAssociations.isEmpty();
+ return dataOutputAssociations != null && !dataOutputAssociations.isEmpty();
case Bpmn2Package.ACTIVITY__RESOURCES:
return resources != null && !resources.isEmpty();
case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
@@ -721,8 +695,8 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -741,4 +715,4 @@ public class ActivityImpl extends FlowNodeImpl implements Activity {
return result.toString();
}
-} //ActivityImpl
+} // ActivityImpl

Back to the top