diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java | 352 |
1 files changed, 177 insertions, 175 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java index d00accae..af9bfb78 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java | |||
@@ -1,175 +1,177 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.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.PatternEntry; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; |
8 | 8 | ||
9 | import org.eclipse.emf.common.notify.Notification; | 9 | import org.eclipse.emf.common.notify.Notification; |
10 | 10 | ||
11 | import org.eclipse.emf.ecore.EClass; | 11 | import org.eclipse.emf.ecore.EClass; |
12 | import org.eclipse.emf.ecore.InternalEObject; | 12 | import org.eclipse.emf.ecore.InternalEObject; |
13 | 13 | ||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
16 | 16 | ||
17 | import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternModel; | 17 | import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternModel; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * <!-- begin-user-doc --> | 20 | * <!-- begin-user-doc --> |
21 | * An implementation of the model object '<em><b>Pattern Entry</b></em>'. | 21 | * An implementation of the model object '<em><b>Pattern Entry</b></em>'. |
22 | * <!-- end-user-doc --> | 22 | * <!-- end-user-doc --> |
23 | * <p> | 23 | * <p> |
24 | * The following features are implemented: | 24 | * The following features are implemented: |
25 | * </p> | 25 | * </p> |
26 | * <ul> | 26 | * <ul> |
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl#getPackage <em>Package</em>}</li> | 27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl#getPackage <em>Package</em>}</li> |
28 | * </ul> | 28 | * </ul> |
29 | * | 29 | * |
30 | * @generated | 30 | * @generated |
31 | */ | 31 | */ |
32 | public class PatternEntryImpl extends MinimalEObjectImpl.Container implements PatternEntry | 32 | public class PatternEntryImpl extends MinimalEObjectImpl.Container implements PatternEntry |
33 | { | 33 | { |
34 | /** | 34 | /** |
35 | * The cached value of the '{@link #getPackage() <em>Package</em>}' reference. | 35 | * The cached value of the '{@link #getPackage() <em>Package</em>}' reference. |
36 | * <!-- begin-user-doc --> | 36 | * <!-- begin-user-doc --> |
37 | * <!-- end-user-doc --> | 37 | * <!-- end-user-doc --> |
38 | * @see #getPackage() | 38 | * @see #getPackage() |
39 | * @generated | 39 | * @generated |
40 | * @ordered | 40 | * @ordered |
41 | */ | 41 | */ |
42 | protected PatternModel package_; | 42 | protected PatternModel package_; |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * <!-- begin-user-doc --> | 45 | * <!-- begin-user-doc --> |
46 | * <!-- end-user-doc --> | 46 | * <!-- end-user-doc --> |
47 | * @generated | 47 | * @generated |
48 | */ | 48 | */ |
49 | protected PatternEntryImpl() | 49 | protected PatternEntryImpl() |
50 | { | 50 | { |
51 | super(); | 51 | super(); |
52 | } | 52 | } |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * <!-- begin-user-doc --> | 55 | * <!-- begin-user-doc --> |
56 | * <!-- end-user-doc --> | 56 | * <!-- end-user-doc --> |
57 | * @generated | 57 | * @generated |
58 | */ | 58 | */ |
59 | @Override | 59 | @Override |
60 | protected EClass eStaticClass() | 60 | protected EClass eStaticClass() |
61 | { | 61 | { |
62 | return ApplicationConfigurationPackage.Literals.PATTERN_ENTRY; | 62 | return ApplicationConfigurationPackage.Literals.PATTERN_ENTRY; |
63 | } | 63 | } |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * <!-- begin-user-doc --> | 66 | * <!-- begin-user-doc --> |
67 | * <!-- end-user-doc --> | 67 | * <!-- end-user-doc --> |
68 | * @generated | 68 | * @generated |
69 | */ | 69 | */ |
70 | public PatternModel getPackage() | 70 | @Override |
71 | { | 71 | public PatternModel getPackage() |
72 | if (package_ != null && package_.eIsProxy()) | 72 | { |
73 | { | 73 | if (package_ != null && package_.eIsProxy()) |
74 | InternalEObject oldPackage = (InternalEObject)package_; | 74 | { |
75 | package_ = (PatternModel)eResolveProxy(oldPackage); | 75 | InternalEObject oldPackage = (InternalEObject)package_; |
76 | if (package_ != oldPackage) | 76 | package_ = (PatternModel)eResolveProxy(oldPackage); |
77 | { | 77 | if (package_ != oldPackage) |
78 | if (eNotificationRequired()) | 78 | { |
79 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | 79 | if (eNotificationRequired()) |
80 | } | 80 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); |
81 | } | 81 | } |
82 | return package_; | 82 | } |
83 | } | 83 | return package_; |
84 | 84 | } | |
85 | /** | 85 | |
86 | * <!-- begin-user-doc --> | 86 | /** |
87 | * <!-- end-user-doc --> | 87 | * <!-- begin-user-doc --> |
88 | * @generated | 88 | * <!-- end-user-doc --> |
89 | */ | 89 | * @generated |
90 | public PatternModel basicGetPackage() | 90 | */ |
91 | { | 91 | public PatternModel basicGetPackage() |
92 | return package_; | 92 | { |
93 | } | 93 | return package_; |
94 | 94 | } | |
95 | /** | 95 | |
96 | * <!-- begin-user-doc --> | 96 | /** |
97 | * <!-- end-user-doc --> | 97 | * <!-- begin-user-doc --> |
98 | * @generated | 98 | * <!-- end-user-doc --> |
99 | */ | 99 | * @generated |
100 | public void setPackage(PatternModel newPackage) | 100 | */ |
101 | { | 101 | @Override |
102 | PatternModel oldPackage = package_; | 102 | public void setPackage(PatternModel newPackage) |
103 | package_ = newPackage; | 103 | { |
104 | if (eNotificationRequired()) | 104 | PatternModel oldPackage = package_; |
105 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | 105 | package_ = newPackage; |
106 | } | 106 | if (eNotificationRequired()) |
107 | 107 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | |
108 | /** | 108 | } |
109 | * <!-- begin-user-doc --> | 109 | |
110 | * <!-- end-user-doc --> | 110 | /** |
111 | * @generated | 111 | * <!-- begin-user-doc --> |
112 | */ | 112 | * <!-- end-user-doc --> |
113 | @Override | 113 | * @generated |
114 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 114 | */ |
115 | { | 115 | @Override |
116 | switch (featureID) | 116 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
117 | { | 117 | { |
118 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 118 | switch (featureID) |
119 | if (resolve) return getPackage(); | 119 | { |
120 | return basicGetPackage(); | 120 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
121 | } | 121 | if (resolve) return getPackage(); |
122 | return super.eGet(featureID, resolve, coreType); | 122 | return basicGetPackage(); |
123 | } | 123 | } |
124 | 124 | return super.eGet(featureID, resolve, coreType); | |
125 | /** | 125 | } |
126 | * <!-- begin-user-doc --> | 126 | |
127 | * <!-- end-user-doc --> | 127 | /** |
128 | * @generated | 128 | * <!-- begin-user-doc --> |
129 | */ | 129 | * <!-- end-user-doc --> |
130 | @Override | 130 | * @generated |
131 | public void eSet(int featureID, Object newValue) | 131 | */ |
132 | { | 132 | @Override |
133 | switch (featureID) | 133 | public void eSet(int featureID, Object newValue) |
134 | { | 134 | { |
135 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 135 | switch (featureID) |
136 | setPackage((PatternModel)newValue); | 136 | { |
137 | return; | 137 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
138 | } | 138 | setPackage((PatternModel)newValue); |
139 | super.eSet(featureID, newValue); | 139 | return; |
140 | } | 140 | } |
141 | 141 | super.eSet(featureID, newValue); | |
142 | /** | 142 | } |
143 | * <!-- begin-user-doc --> | 143 | |
144 | * <!-- end-user-doc --> | 144 | /** |
145 | * @generated | 145 | * <!-- begin-user-doc --> |
146 | */ | 146 | * <!-- end-user-doc --> |
147 | @Override | 147 | * @generated |
148 | public void eUnset(int featureID) | 148 | */ |
149 | { | 149 | @Override |
150 | switch (featureID) | 150 | public void eUnset(int featureID) |
151 | { | 151 | { |
152 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 152 | switch (featureID) |
153 | setPackage((PatternModel)null); | 153 | { |
154 | return; | 154 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
155 | } | 155 | setPackage((PatternModel)null); |
156 | super.eUnset(featureID); | 156 | return; |
157 | } | 157 | } |
158 | 158 | super.eUnset(featureID); | |
159 | /** | 159 | } |
160 | * <!-- begin-user-doc --> | 160 | |
161 | * <!-- end-user-doc --> | 161 | /** |
162 | * @generated | 162 | * <!-- begin-user-doc --> |
163 | */ | 163 | * <!-- end-user-doc --> |
164 | @Override | 164 | * @generated |
165 | public boolean eIsSet(int featureID) | 165 | */ |
166 | { | 166 | @Override |
167 | switch (featureID) | 167 | public boolean eIsSet(int featureID) |
168 | { | 168 | { |
169 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 169 | switch (featureID) |
170 | return package_ != null; | 170 | { |
171 | } | 171 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
172 | return super.eIsSet(featureID); | 172 | return package_ != null; |
173 | } | 173 | } |
174 | 174 | return super.eIsSet(featureID); | |
175 | } //PatternEntryImpl | 175 | } |
176 | |||
177 | } //PatternEntryImpl | ||