aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java')
-rw-r--r--Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java68
1 files changed, 68 insertions, 0 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java
index beb45529..da9b1472 100644
--- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java
+++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java
@@ -6,11 +6,16 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement;
6import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation; 6import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation;
7import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage; 7import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage;
8 8
9import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope;
9import java.util.Collection; 10import java.util.Collection;
11import org.eclipse.emf.common.notify.NotificationChain;
10import org.eclipse.emf.common.util.EList; 12import org.eclipse.emf.common.util.EList;
11import org.eclipse.emf.ecore.EClass; 13import org.eclipse.emf.ecore.EClass;
14import org.eclipse.emf.ecore.InternalEObject;
12import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 15import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
13import org.eclipse.emf.ecore.util.EObjectResolvingEList; 16import org.eclipse.emf.ecore.util.EObjectResolvingEList;
17import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
18import org.eclipse.emf.ecore.util.InternalEList;
14 19
15/** 20/**
16 * <!-- begin-user-doc --> 21 * <!-- begin-user-doc -->
@@ -21,6 +26,7 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList;
21 * </p> 26 * </p>
22 * <ul> 27 * <ul>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialTypeInterpratationImpl#getElements <em>Elements</em>}</li> 28 * <li>{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialTypeInterpratationImpl#getElements <em>Elements</em>}</li>
29 * <li>{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialTypeInterpratationImpl#getScopes <em>Scopes</em>}</li>
24 * </ul> 30 * </ul>
25 * 31 *
26 * @generated 32 * @generated
@@ -37,6 +43,16 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C
37 protected EList<DefinedElement> elements; 43 protected EList<DefinedElement> elements;
38 44
39 /** 45 /**
46 * The cached value of the '{@link #getScopes() <em>Scopes</em>}' reference list.
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @see #getScopes()
50 * @generated
51 * @ordered
52 */
53 protected EList<Scope> scopes;
54
55 /**
40 * <!-- begin-user-doc --> 56 * <!-- begin-user-doc -->
41 * <!-- end-user-doc --> 57 * <!-- end-user-doc -->
42 * @generated 58 * @generated
@@ -72,11 +88,54 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C
72 * <!-- end-user-doc --> 88 * <!-- end-user-doc -->
73 * @generated 89 * @generated
74 */ 90 */
91 public EList<Scope> getScopes() {
92 if (scopes == null) {
93 scopes = new EObjectWithInverseResolvingEList<Scope>(Scope.class, this, PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES, PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION);
94 }
95 return scopes;
96 }
97
98 /**
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 */
103 @SuppressWarnings("unchecked")
104 @Override
105 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
106 switch (featureID) {
107 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES:
108 return ((InternalEList<InternalEObject>)(InternalEList<?>)getScopes()).basicAdd(otherEnd, msgs);
109 }
110 return super.eInverseAdd(otherEnd, featureID, msgs);
111 }
112
113 /**
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 @Override
119 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
120 switch (featureID) {
121 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES:
122 return ((InternalEList<?>)getScopes()).basicRemove(otherEnd, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
75 @Override 132 @Override
76 public Object eGet(int featureID, boolean resolve, boolean coreType) { 133 public Object eGet(int featureID, boolean resolve, boolean coreType) {
77 switch (featureID) { 134 switch (featureID) {
78 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS: 135 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS:
79 return getElements(); 136 return getElements();
137 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES:
138 return getScopes();
80 } 139 }
81 return super.eGet(featureID, resolve, coreType); 140 return super.eGet(featureID, resolve, coreType);
82 } 141 }
@@ -94,6 +153,10 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C
94 getElements().clear(); 153 getElements().clear();
95 getElements().addAll((Collection<? extends DefinedElement>)newValue); 154 getElements().addAll((Collection<? extends DefinedElement>)newValue);
96 return; 155 return;
156 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES:
157 getScopes().clear();
158 getScopes().addAll((Collection<? extends Scope>)newValue);
159 return;
97 } 160 }
98 super.eSet(featureID, newValue); 161 super.eSet(featureID, newValue);
99 } 162 }
@@ -109,6 +172,9 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C
109 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS: 172 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS:
110 getElements().clear(); 173 getElements().clear();
111 return; 174 return;
175 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES:
176 getScopes().clear();
177 return;
112 } 178 }
113 super.eUnset(featureID); 179 super.eUnset(featureID);
114 } 180 }
@@ -123,6 +189,8 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C
123 switch (featureID) { 189 switch (featureID) {
124 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS: 190 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS:
125 return elements != null && !elements.isEmpty(); 191 return elements != null && !elements.isEmpty();
192 case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES:
193 return scopes != null && !scopes.isEmpty();
126 } 194 }
127 return super.eIsSet(featureID); 195 return super.eIsSet(featureID);
128 } 196 }