Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/impl/QueryImpl.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/impl/QueryImpl.java54
1 files changed, 38 insertions, 16 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/impl/QueryImpl.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/impl/QueryImpl.java
index 60bf8d1de3c..b1b6a8a60d2 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/impl/QueryImpl.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/impl/QueryImpl.java
@@ -1,15 +1,15 @@
/**
* Copyright (c) 2011 Mia-Software.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Gregoire Dupe (Mia-Software) - Design
* Nicolas Guyomar (Mia-Software) - Implementation
- *
+ *
*/
package org.eclipse.papyrus.emf.facet.efacet.impl;
@@ -40,10 +40,10 @@ import org.eclipse.papyrus.emf.facet.efacet.Query;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#getScope <em>Scope</em>}</li>
- * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#isHasSideEffect <em>Has Side Effect</em>}</li>
- * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#isCanBeCached <em>Can Be Cached</em>}</li>
- * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#getParameters <em>Parameters</em>}</li>
+ * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#getScope <em>Scope</em>}</li>
+ * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#isHasSideEffect <em>Has Side Effect</em>}</li>
+ * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#isCanBeCached <em>Can Be Cached</em>}</li>
+ * <li>{@link org.eclipse.papyrus.emf.facet.efacet.impl.QueryImpl#getParameters <em>Parameters</em>}</li>
* </ul>
* </p>
*
@@ -57,6 +57,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
* The cached value of the '{@link #getScope() <em>Scope</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getScope()
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
@@ -69,6 +70,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
* The default value of the '{@link #isHasSideEffect() <em>Has Side Effect</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isHasSideEffect()
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
@@ -81,6 +83,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
* The cached value of the '{@link #isHasSideEffect() <em>Has Side Effect</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isHasSideEffect()
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
@@ -93,6 +96,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
* The default value of the '{@link #isCanBeCached() <em>Can Be Cached</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isCanBeCached()
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
@@ -105,6 +109,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
* The cached value of the '{@link #isCanBeCached() <em>Can Be Cached</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isCanBeCached()
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
@@ -117,6 +122,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
* The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getParameters()
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
@@ -128,6 +134,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -139,6 +146,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -151,14 +159,15 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@Deprecated
public EClass getScope() {
if (this.scope != null && this.scope.eIsProxy()) {
- InternalEObject oldScope = (InternalEObject)this.scope;
- this.scope = (EClass)eResolveProxy(oldScope);
+ InternalEObject oldScope = (InternalEObject) this.scope;
+ this.scope = (EClass) eResolveProxy(oldScope);
if (this.scope != oldScope) {
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, EFacetPackage.QUERY__SCOPE, oldScope, this.scope));
@@ -171,6 +180,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -182,6 +192,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -197,6 +208,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -208,6 +220,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -223,6 +236,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -234,6 +248,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -249,6 +264,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -263,6 +279,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -271,7 +288,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
public NotificationChain eInverseRemove(final InternalEObject otherEnd, final int featureID, final NotificationChain msgs) {
switch (featureID) {
case EFacetPackage.QUERY__PARAMETERS:
- return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getParameters()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -279,6 +296,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -304,6 +322,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -313,17 +332,17 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
public void eSet(final int featureID, final Object newValue) {
switch (featureID) {
case EFacetPackage.QUERY__SCOPE:
- setScope((EClass)newValue);
+ setScope((EClass) newValue);
return;
case EFacetPackage.QUERY__HAS_SIDE_EFFECT:
- setHasSideEffect((Boolean)newValue);
+ setHasSideEffect((Boolean) newValue);
return;
case EFacetPackage.QUERY__CAN_BE_CACHED:
- setCanBeCached((Boolean)newValue);
+ setCanBeCached((Boolean) newValue);
return;
case EFacetPackage.QUERY__PARAMETERS:
getParameters().clear();
- getParameters().addAll((Collection<? extends Parameter>)newValue);
+ getParameters().addAll((Collection<? extends Parameter>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -332,6 +351,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -340,7 +360,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
public void eUnset(final int featureID) {
switch (featureID) {
case EFacetPackage.QUERY__SCOPE:
- setScope((EClass)null);
+ setScope((EClass) null);
return;
case EFacetPackage.QUERY__HAS_SIDE_EFFECT:
setHasSideEffect(QueryImpl.HAS_SIDE_EFFECT_EDEFAULT);
@@ -358,6 +378,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -380,6 +401,7 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @deprecated use the new eFacet2 metamodel in org.eclipse.papyrus.emf.facet.efacet2.metamodel
*/
@@ -399,4 +421,4 @@ public abstract class QueryImpl extends ETypedElementImpl implements Query {
return result.toString();
}
-} //QueryImpl
+} // QueryImpl

Back to the top