diff options
author | 2020-06-25 19:55:10 +0200 | |
---|---|---|
committer | 2020-06-25 19:55:10 +0200 | |
commit | c3a6d4b9cf3657070d180aa65ddbf0459e880329 (patch) | |
tree | 780c4fc61578dcb309af53fb0c164c7627e51676 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java | |
parent | New configuration language parser WIP (diff) | |
parent | Scope unsat benchmarks (diff) | |
download | VIATRA-Generator-c3a6d4b9cf3657070d180aa65ddbf0459e880329.tar.gz VIATRA-Generator-c3a6d4b9cf3657070d180aa65ddbf0459e880329.tar.zst VIATRA-Generator-c3a6d4b9cf3657070d180aa65ddbf0459e880329.zip |
Merge branch 'kris'
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java | 390 |
1 files changed, 196 insertions, 194 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java index 894b951e..5220ee0c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java | |||
@@ -1,194 +1,196 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.21.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | 4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
11 | import org.eclipse.emf.common.notify.NotificationChain; | 11 | import org.eclipse.emf.common.notify.NotificationChain; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | 14 | import org.eclipse.emf.ecore.InternalEObject; |
15 | 15 | ||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
17 | 17 | ||
18 | /** | 18 | /** |
19 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
20 | * An implementation of the model object '<em><b>Graph Pattern Declaration</b></em>'. | 20 | * An implementation of the model object '<em><b>Graph Pattern Declaration</b></em>'. |
21 | * <!-- end-user-doc --> | 21 | * <!-- end-user-doc --> |
22 | * <p> | 22 | * <p> |
23 | * The following features are implemented: | 23 | * The following features are implemented: |
24 | * </p> | 24 | * </p> |
25 | * <ul> | 25 | * <ul> |
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl#getSpecification <em>Specification</em>}</li> | 26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl#getSpecification <em>Specification</em>}</li> |
27 | * </ul> | 27 | * </ul> |
28 | * | 28 | * |
29 | * @generated | 29 | * @generated |
30 | */ | 30 | */ |
31 | public class GraphPatternDeclarationImpl extends DeclarationImpl implements GraphPatternDeclaration | 31 | public class GraphPatternDeclarationImpl extends DeclarationImpl implements GraphPatternDeclaration |
32 | { | 32 | { |
33 | /** | 33 | /** |
34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | 34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. |
35 | * <!-- begin-user-doc --> | 35 | * <!-- begin-user-doc --> |
36 | * <!-- end-user-doc --> | 36 | * <!-- end-user-doc --> |
37 | * @see #getSpecification() | 37 | * @see #getSpecification() |
38 | * @generated | 38 | * @generated |
39 | * @ordered | 39 | * @ordered |
40 | */ | 40 | */ |
41 | protected PatternSpecification specification; | 41 | protected PatternSpecification specification; |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
45 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
46 | * @generated | 46 | * @generated |
47 | */ | 47 | */ |
48 | protected GraphPatternDeclarationImpl() | 48 | protected GraphPatternDeclarationImpl() |
49 | { | 49 | { |
50 | super(); | 50 | super(); |
51 | } | 51 | } |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * <!-- begin-user-doc --> | 54 | * <!-- begin-user-doc --> |
55 | * <!-- end-user-doc --> | 55 | * <!-- end-user-doc --> |
56 | * @generated | 56 | * @generated |
57 | */ | 57 | */ |
58 | @Override | 58 | @Override |
59 | protected EClass eStaticClass() | 59 | protected EClass eStaticClass() |
60 | { | 60 | { |
61 | return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION; | 61 | return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION; |
62 | } | 62 | } |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * <!-- begin-user-doc --> | 65 | * <!-- begin-user-doc --> |
66 | * <!-- end-user-doc --> | 66 | * <!-- end-user-doc --> |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
69 | public PatternSpecification getSpecification() | 69 | @Override |
70 | { | 70 | public PatternSpecification getSpecification() |
71 | return specification; | 71 | { |
72 | } | 72 | return specification; |
73 | 73 | } | |
74 | /** | 74 | |
75 | * <!-- begin-user-doc --> | 75 | /** |
76 | * <!-- end-user-doc --> | 76 | * <!-- begin-user-doc --> |
77 | * @generated | 77 | * <!-- end-user-doc --> |
78 | */ | 78 | * @generated |
79 | public NotificationChain basicSetSpecification(PatternSpecification newSpecification, NotificationChain msgs) | 79 | */ |
80 | { | 80 | public NotificationChain basicSetSpecification(PatternSpecification newSpecification, NotificationChain msgs) |
81 | PatternSpecification oldSpecification = specification; | 81 | { |
82 | specification = newSpecification; | 82 | PatternSpecification oldSpecification = specification; |
83 | if (eNotificationRequired()) | 83 | specification = newSpecification; |
84 | { | 84 | if (eNotificationRequired()) |
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | 85 | { |
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | 86 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); |
87 | } | 87 | if (msgs == null) msgs = notification; else msgs.add(notification); |
88 | return msgs; | 88 | } |
89 | } | 89 | return msgs; |
90 | 90 | } | |
91 | /** | 91 | |
92 | * <!-- begin-user-doc --> | 92 | /** |
93 | * <!-- end-user-doc --> | 93 | * <!-- begin-user-doc --> |
94 | * @generated | 94 | * <!-- end-user-doc --> |
95 | */ | 95 | * @generated |
96 | public void setSpecification(PatternSpecification newSpecification) | 96 | */ |
97 | { | 97 | @Override |
98 | if (newSpecification != specification) | 98 | public void setSpecification(PatternSpecification newSpecification) |
99 | { | 99 | { |
100 | NotificationChain msgs = null; | 100 | if (newSpecification != specification) |
101 | if (specification != null) | 101 | { |
102 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); | 102 | NotificationChain msgs = null; |
103 | if (newSpecification != null) | 103 | if (specification != null) |
104 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); | 104 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); |
105 | msgs = basicSetSpecification(newSpecification, msgs); | 105 | if (newSpecification != null) |
106 | if (msgs != null) msgs.dispatch(); | 106 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); |
107 | } | 107 | msgs = basicSetSpecification(newSpecification, msgs); |
108 | else if (eNotificationRequired()) | 108 | if (msgs != null) msgs.dispatch(); |
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | 109 | } |
110 | } | 110 | else if (eNotificationRequired()) |
111 | 111 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | |
112 | /** | 112 | } |
113 | * <!-- begin-user-doc --> | 113 | |
114 | * <!-- end-user-doc --> | 114 | /** |
115 | * @generated | 115 | * <!-- begin-user-doc --> |
116 | */ | 116 | * <!-- end-user-doc --> |
117 | @Override | 117 | * @generated |
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 118 | */ |
119 | { | 119 | @Override |
120 | switch (featureID) | 120 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
121 | { | 121 | { |
122 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | 122 | switch (featureID) |
123 | return basicSetSpecification(null, msgs); | 123 | { |
124 | } | 124 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: |
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | 125 | return basicSetSpecification(null, msgs); |
126 | } | 126 | } |
127 | 127 | return super.eInverseRemove(otherEnd, featureID, msgs); | |
128 | /** | 128 | } |
129 | * <!-- begin-user-doc --> | 129 | |
130 | * <!-- end-user-doc --> | 130 | /** |
131 | * @generated | 131 | * <!-- begin-user-doc --> |
132 | */ | 132 | * <!-- end-user-doc --> |
133 | @Override | 133 | * @generated |
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 134 | */ |
135 | { | 135 | @Override |
136 | switch (featureID) | 136 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
137 | { | 137 | { |
138 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | 138 | switch (featureID) |
139 | return getSpecification(); | 139 | { |
140 | } | 140 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: |
141 | return super.eGet(featureID, resolve, coreType); | 141 | return getSpecification(); |
142 | } | 142 | } |
143 | 143 | return super.eGet(featureID, resolve, coreType); | |
144 | /** | 144 | } |
145 | * <!-- begin-user-doc --> | 145 | |
146 | * <!-- end-user-doc --> | 146 | /** |
147 | * @generated | 147 | * <!-- begin-user-doc --> |
148 | */ | 148 | * <!-- end-user-doc --> |
149 | @Override | 149 | * @generated |
150 | public void eSet(int featureID, Object newValue) | 150 | */ |
151 | { | 151 | @Override |
152 | switch (featureID) | 152 | public void eSet(int featureID, Object newValue) |
153 | { | 153 | { |
154 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | 154 | switch (featureID) |
155 | setSpecification((PatternSpecification)newValue); | 155 | { |
156 | return; | 156 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: |
157 | } | 157 | setSpecification((PatternSpecification)newValue); |
158 | super.eSet(featureID, newValue); | 158 | return; |
159 | } | 159 | } |
160 | 160 | super.eSet(featureID, newValue); | |
161 | /** | 161 | } |
162 | * <!-- begin-user-doc --> | 162 | |
163 | * <!-- end-user-doc --> | 163 | /** |
164 | * @generated | 164 | * <!-- begin-user-doc --> |
165 | */ | 165 | * <!-- end-user-doc --> |
166 | @Override | 166 | * @generated |
167 | public void eUnset(int featureID) | 167 | */ |
168 | { | 168 | @Override |
169 | switch (featureID) | 169 | public void eUnset(int featureID) |
170 | { | 170 | { |
171 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | 171 | switch (featureID) |
172 | setSpecification((PatternSpecification)null); | 172 | { |
173 | return; | 173 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: |
174 | } | 174 | setSpecification((PatternSpecification)null); |
175 | super.eUnset(featureID); | 175 | return; |
176 | } | 176 | } |
177 | 177 | super.eUnset(featureID); | |
178 | /** | 178 | } |
179 | * <!-- begin-user-doc --> | 179 | |
180 | * <!-- end-user-doc --> | 180 | /** |
181 | * @generated | 181 | * <!-- begin-user-doc --> |
182 | */ | 182 | * <!-- end-user-doc --> |
183 | @Override | 183 | * @generated |
184 | public boolean eIsSet(int featureID) | 184 | */ |
185 | { | 185 | @Override |
186 | switch (featureID) | 186 | public boolean eIsSet(int featureID) |
187 | { | 187 | { |
188 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | 188 | switch (featureID) |
189 | return specification != null; | 189 | { |
190 | } | 190 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: |
191 | return super.eIsSet(featureID); | 191 | return specification != null; |
192 | } | 192 | } |
193 | 193 | return super.eIsSet(featureID); | |
194 | } //GraphPatternDeclarationImpl | 194 | } |
195 | |||
196 | } //GraphPatternDeclarationImpl | ||