diff options
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/impl/PartialModelRelation2AssertionImpl.java')
1 files changed, 0 insertions, 59 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/impl/PartialModelRelation2AssertionImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/impl/PartialModelRelation2AssertionImpl.java index 92011d1c..c6d0c04f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/impl/PartialModelRelation2AssertionImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/impl/PartialModelRelation2AssertionImpl.java | |||
@@ -7,22 +7,11 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotat | |||
7 | 7 | ||
8 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.Partial2logicannotationsPackage; | 8 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.Partial2logicannotationsPackage; |
9 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.PartialModelRelation2Assertion; | 9 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.PartialModelRelation2Assertion; |
10 | |||
11 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink; | ||
12 | |||
13 | import java.util.Collection; | ||
14 | |||
15 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
16 | import org.eclipse.emf.common.notify.NotificationChain; | ||
17 | |||
18 | import org.eclipse.emf.common.util.EList; | ||
19 | |||
20 | import org.eclipse.emf.ecore.EClass; | 11 | import org.eclipse.emf.ecore.EClass; |
21 | import org.eclipse.emf.ecore.InternalEObject; | 12 | import org.eclipse.emf.ecore.InternalEObject; |
22 | 13 | ||
23 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
24 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
25 | import org.eclipse.emf.ecore.util.InternalEList; | ||
26 | 15 | ||
27 | /** | 16 | /** |
28 | * <!-- begin-user-doc --> | 17 | * <!-- begin-user-doc --> |
@@ -32,7 +21,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
32 | * The following features are implemented: | 21 | * The following features are implemented: |
33 | * </p> | 22 | * </p> |
34 | * <ul> | 23 | * <ul> |
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.impl.PartialModelRelation2AssertionImpl#getLinks <em>Links</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.impl.PartialModelRelation2AssertionImpl#getTargetRelation <em>Target Relation</em>}</li> | 24 | * <li>{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.impl.PartialModelRelation2AssertionImpl#getTargetRelation <em>Target Relation</em>}</li> |
37 | * </ul> | 25 | * </ul> |
38 | * | 26 | * |
@@ -40,16 +28,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
40 | */ | 28 | */ |
41 | public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl implements PartialModelRelation2Assertion { | 29 | public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl implements PartialModelRelation2Assertion { |
42 | /** | 30 | /** |
43 | * The cached value of the '{@link #getLinks() <em>Links</em>}' containment reference list. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getLinks() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected EList<RelationLink> links; | ||
51 | |||
52 | /** | ||
53 | * The cached value of the '{@link #getTargetRelation() <em>Target Relation</em>}' reference. | 31 | * The cached value of the '{@link #getTargetRelation() <em>Target Relation</em>}' reference. |
54 | * <!-- begin-user-doc --> | 32 | * <!-- begin-user-doc --> |
55 | * <!-- end-user-doc --> | 33 | * <!-- end-user-doc --> |
@@ -83,18 +61,6 @@ public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl | |||
83 | * <!-- end-user-doc --> | 61 | * <!-- end-user-doc --> |
84 | * @generated | 62 | * @generated |
85 | */ | 63 | */ |
86 | public EList<RelationLink> getLinks() { | ||
87 | if (links == null) { | ||
88 | links = new EObjectContainmentEList<RelationLink>(RelationLink.class, this, Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__LINKS); | ||
89 | } | ||
90 | return links; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public RelationDeclaration getTargetRelation() { | 64 | public RelationDeclaration getTargetRelation() { |
99 | if (targetRelation != null && targetRelation.eIsProxy()) { | 65 | if (targetRelation != null && targetRelation.eIsProxy()) { |
100 | InternalEObject oldTargetRelation = (InternalEObject)targetRelation; | 66 | InternalEObject oldTargetRelation = (InternalEObject)targetRelation; |
@@ -134,24 +100,8 @@ public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl | |||
134 | * @generated | 100 | * @generated |
135 | */ | 101 | */ |
136 | @Override | 102 | @Override |
137 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
138 | switch (featureID) { | ||
139 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__LINKS: | ||
140 | return ((InternalEList<?>)getLinks()).basicRemove(otherEnd, msgs); | ||
141 | } | ||
142 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 103 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
152 | switch (featureID) { | 104 | switch (featureID) { |
153 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__LINKS: | ||
154 | return getLinks(); | ||
155 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: | 105 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: |
156 | if (resolve) return getTargetRelation(); | 106 | if (resolve) return getTargetRelation(); |
157 | return basicGetTargetRelation(); | 107 | return basicGetTargetRelation(); |
@@ -168,10 +118,6 @@ public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl | |||
168 | @Override | 118 | @Override |
169 | public void eSet(int featureID, Object newValue) { | 119 | public void eSet(int featureID, Object newValue) { |
170 | switch (featureID) { | 120 | switch (featureID) { |
171 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__LINKS: | ||
172 | getLinks().clear(); | ||
173 | getLinks().addAll((Collection<? extends RelationLink>)newValue); | ||
174 | return; | ||
175 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: | 121 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: |
176 | setTargetRelation((RelationDeclaration)newValue); | 122 | setTargetRelation((RelationDeclaration)newValue); |
177 | return; | 123 | return; |
@@ -187,9 +133,6 @@ public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl | |||
187 | @Override | 133 | @Override |
188 | public void eUnset(int featureID) { | 134 | public void eUnset(int featureID) { |
189 | switch (featureID) { | 135 | switch (featureID) { |
190 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__LINKS: | ||
191 | getLinks().clear(); | ||
192 | return; | ||
193 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: | 136 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: |
194 | setTargetRelation((RelationDeclaration)null); | 137 | setTargetRelation((RelationDeclaration)null); |
195 | return; | 138 | return; |
@@ -205,8 +148,6 @@ public class PartialModelRelation2AssertionImpl extends AssertionAnnotationImpl | |||
205 | @Override | 148 | @Override |
206 | public boolean eIsSet(int featureID) { | 149 | public boolean eIsSet(int featureID) { |
207 | switch (featureID) { | 150 | switch (featureID) { |
208 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__LINKS: | ||
209 | return links != null && !links.isEmpty(); | ||
210 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: | 151 | case Partial2logicannotationsPackage.PARTIAL_MODEL_RELATION2_ASSERTION__TARGET_RELATION: |
211 | return targetRelation != null; | 152 | return targetRelation != null; |
212 | } | 153 | } |