diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java')
-rw-r--r-- | tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java | 145 |
1 files changed, 68 insertions, 77 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java index 6b0414e91..ce6af7511 100644 --- a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java +++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java @@ -30,25 +30,24 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.EObjectImpl; /** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Extension</b></em>'. - * <!-- end-user-doc --> + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Extension</b></em>'. <!-- + * end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#getDefinition <em>Definition</em>}</li> - * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#isMustUnderstand <em>Must Understand</em>}</li> - * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#getXsdDefinition <em>Xsd Definition</em>}</li> + * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#getDefinition <em>Definition</em>}</li> + * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#isMustUnderstand <em>Must Understand</em>}</li> + * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#getXsdDefinition <em>Xsd Definition</em>}</li> * </ul> * </p> - * + * * @generated */ public class ExtensionImpl extends EObjectImpl implements Extension { /** * The cached value of the '{@link #getDefinition() <em>Definition</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #getDefinition() * @generated * @ordered @@ -56,9 +55,9 @@ public class ExtensionImpl extends EObjectImpl implements Extension { protected ExtensionDefinition definition; /** - * The default value of the '{@link #isMustUnderstand() <em>Must Understand</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The default value of the '{@link #isMustUnderstand() <em>Must Understand</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @see #isMustUnderstand() * @generated * @ordered @@ -66,9 +65,9 @@ public class ExtensionImpl extends EObjectImpl implements Extension { protected static final boolean MUST_UNDERSTAND_EDEFAULT = false; /** - * The cached value of the '{@link #isMustUnderstand() <em>Must Understand</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The cached value of the '{@link #isMustUnderstand() <em>Must Understand</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @see #isMustUnderstand() * @generated * @ordered @@ -76,9 +75,9 @@ public class ExtensionImpl extends EObjectImpl implements Extension { protected boolean mustUnderstand = MUST_UNDERSTAND_EDEFAULT; /** - * The default value of the '{@link #getXsdDefinition() <em>Xsd Definition</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The default value of the '{@link #getXsdDefinition() <em>Xsd Definition</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @see #getXsdDefinition() * @generated * @ordered @@ -86,9 +85,9 @@ public class ExtensionImpl extends EObjectImpl implements Extension { protected static final QName XSD_DEFINITION_EDEFAULT = null; /** - * The cached value of the '{@link #getXsdDefinition() <em>Xsd Definition</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The cached value of the '{@link #getXsdDefinition() <em>Xsd Definition</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @see #getXsdDefinition() * @generated * @ordered @@ -96,8 +95,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { protected QName xsdDefinition = XSD_DEFINITION_EDEFAULT; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ protected ExtensionImpl() { @@ -105,8 +104,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -115,8 +114,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public ExtensionDefinition getDefinition() { @@ -124,18 +123,17 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ - public NotificationChain basicSetDefinition( - ExtensionDefinition newDefinition, NotificationChain msgs) { + public NotificationChain basicSetDefinition(ExtensionDefinition newDefinition, + NotificationChain msgs) { ExtensionDefinition oldDefinition = definition; definition = newDefinition; if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, - Notification.SET, Bpmn2Package.EXTENSION__DEFINITION, - oldDefinition, newDefinition); + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + Bpmn2Package.EXTENSION__DEFINITION, oldDefinition, newDefinition); if (msgs == null) msgs = notification; else @@ -145,35 +143,30 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void setDefinition(ExtensionDefinition newDefinition) { if (newDefinition != definition) { NotificationChain msgs = null; if (definition != null) - msgs = ((InternalEObject) definition).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - Bpmn2Package.EXTENSION__DEFINITION, null, - msgs); + msgs = ((InternalEObject) definition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - Bpmn2Package.EXTENSION__DEFINITION, null, msgs); if (newDefinition != null) - msgs = ((InternalEObject) newDefinition).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - Bpmn2Package.EXTENSION__DEFINITION, null, - msgs); + msgs = ((InternalEObject) newDefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - Bpmn2Package.EXTENSION__DEFINITION, null, msgs); msgs = basicSetDefinition(newDefinition, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - Bpmn2Package.EXTENSION__DEFINITION, newDefinition, - newDefinition)); + eNotify(new ENotificationImpl(this, Notification.SET, Bpmn2Package.EXTENSION__DEFINITION, + newDefinition, newDefinition)); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public boolean isMustUnderstand() { @@ -181,8 +174,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void setMustUnderstand(boolean newMustUnderstand) { @@ -190,13 +183,12 @@ public class ExtensionImpl extends EObjectImpl implements Extension { mustUnderstand = newMustUnderstand; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, - Bpmn2Package.EXTENSION__MUST_UNDERSTAND, oldMustUnderstand, - mustUnderstand)); + Bpmn2Package.EXTENSION__MUST_UNDERSTAND, oldMustUnderstand, mustUnderstand)); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public QName getXsdDefinition() { @@ -204,27 +196,26 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void setXsdDefinition(QName newXsdDefinition) { QName oldXsdDefinition = xsdDefinition; xsdDefinition = newXsdDefinition; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - Bpmn2Package.EXTENSION__XSD_DEFINITION, oldXsdDefinition, - xsdDefinition)); + eNotify(new ENotificationImpl(this, Notification.SET, Bpmn2Package.EXTENSION__XSD_DEFINITION, + oldXsdDefinition, xsdDefinition)); } /** - * <!-- 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.EXTENSION__DEFINITION: return basicSetDefinition(null, msgs); @@ -233,8 +224,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -251,8 +242,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -272,8 +263,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -293,8 +284,8 @@ public class ExtensionImpl extends EObjectImpl implements Extension { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -305,15 +296,15 @@ public class ExtensionImpl extends EObjectImpl implements Extension { case Bpmn2Package.EXTENSION__MUST_UNDERSTAND: return mustUnderstand != MUST_UNDERSTAND_EDEFAULT; case Bpmn2Package.EXTENSION__XSD_DEFINITION: - return XSD_DEFINITION_EDEFAULT == null ? xsdDefinition != null - : !XSD_DEFINITION_EDEFAULT.equals(xsdDefinition); + return XSD_DEFINITION_EDEFAULT == null ? xsdDefinition != null : !XSD_DEFINITION_EDEFAULT + .equals(xsdDefinition); } return super.eIsSet(featureID); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -330,4 +321,4 @@ public class ExtensionImpl extends EObjectImpl implements Extension { return result.toString(); } -} //ExtensionImpl +} // ExtensionImpl |