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 | 354 |
1 files changed, 177 insertions, 177 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 cb39def4..8d1df054 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,177 +1,177 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.21.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.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 | @Override | 70 | @Override |
71 | public PatternModel getPackage() | 71 | public PatternModel getPackage() |
72 | { | 72 | { |
73 | if (package_ != null && package_.eIsProxy()) | 73 | if (package_ != null && package_.eIsProxy()) |
74 | { | 74 | { |
75 | InternalEObject oldPackage = (InternalEObject)package_; | 75 | InternalEObject oldPackage = (InternalEObject)package_; |
76 | package_ = (PatternModel)eResolveProxy(oldPackage); | 76 | package_ = (PatternModel)eResolveProxy(oldPackage); |
77 | if (package_ != oldPackage) | 77 | if (package_ != oldPackage) |
78 | { | 78 | { |
79 | if (eNotificationRequired()) | 79 | if (eNotificationRequired()) |
80 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | 80 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); |
81 | } | 81 | } |
82 | } | 82 | } |
83 | return package_; | 83 | return package_; |
84 | } | 84 | } |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * <!-- begin-user-doc --> | 87 | * <!-- begin-user-doc --> |
88 | * <!-- end-user-doc --> | 88 | * <!-- end-user-doc --> |
89 | * @generated | 89 | * @generated |
90 | */ | 90 | */ |
91 | public PatternModel basicGetPackage() | 91 | public PatternModel basicGetPackage() |
92 | { | 92 | { |
93 | return package_; | 93 | return package_; |
94 | } | 94 | } |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * <!-- begin-user-doc --> | 97 | * <!-- begin-user-doc --> |
98 | * <!-- end-user-doc --> | 98 | * <!-- end-user-doc --> |
99 | * @generated | 99 | * @generated |
100 | */ | 100 | */ |
101 | @Override | 101 | @Override |
102 | public void setPackage(PatternModel newPackage) | 102 | public void setPackage(PatternModel newPackage) |
103 | { | 103 | { |
104 | PatternModel oldPackage = package_; | 104 | PatternModel oldPackage = package_; |
105 | package_ = newPackage; | 105 | package_ = newPackage; |
106 | if (eNotificationRequired()) | 106 | if (eNotificationRequired()) |
107 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | 107 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); |
108 | } | 108 | } |
109 | 109 | ||
110 | /** | 110 | /** |
111 | * <!-- begin-user-doc --> | 111 | * <!-- begin-user-doc --> |
112 | * <!-- end-user-doc --> | 112 | * <!-- end-user-doc --> |
113 | * @generated | 113 | * @generated |
114 | */ | 114 | */ |
115 | @Override | 115 | @Override |
116 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 116 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
117 | { | 117 | { |
118 | switch (featureID) | 118 | switch (featureID) |
119 | { | 119 | { |
120 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 120 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
121 | if (resolve) return getPackage(); | 121 | if (resolve) return getPackage(); |
122 | return basicGetPackage(); | 122 | return basicGetPackage(); |
123 | } | 123 | } |
124 | return super.eGet(featureID, resolve, coreType); | 124 | return super.eGet(featureID, resolve, coreType); |
125 | } | 125 | } |
126 | 126 | ||
127 | /** | 127 | /** |
128 | * <!-- begin-user-doc --> | 128 | * <!-- begin-user-doc --> |
129 | * <!-- end-user-doc --> | 129 | * <!-- end-user-doc --> |
130 | * @generated | 130 | * @generated |
131 | */ | 131 | */ |
132 | @Override | 132 | @Override |
133 | public void eSet(int featureID, Object newValue) | 133 | public void eSet(int featureID, Object newValue) |
134 | { | 134 | { |
135 | switch (featureID) | 135 | switch (featureID) |
136 | { | 136 | { |
137 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 137 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
138 | setPackage((PatternModel)newValue); | 138 | setPackage((PatternModel)newValue); |
139 | return; | 139 | return; |
140 | } | 140 | } |
141 | super.eSet(featureID, newValue); | 141 | super.eSet(featureID, newValue); |
142 | } | 142 | } |
143 | 143 | ||
144 | /** | 144 | /** |
145 | * <!-- begin-user-doc --> | 145 | * <!-- begin-user-doc --> |
146 | * <!-- end-user-doc --> | 146 | * <!-- end-user-doc --> |
147 | * @generated | 147 | * @generated |
148 | */ | 148 | */ |
149 | @Override | 149 | @Override |
150 | public void eUnset(int featureID) | 150 | public void eUnset(int featureID) |
151 | { | 151 | { |
152 | switch (featureID) | 152 | switch (featureID) |
153 | { | 153 | { |
154 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 154 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
155 | setPackage((PatternModel)null); | 155 | setPackage((PatternModel)null); |
156 | return; | 156 | return; |
157 | } | 157 | } |
158 | super.eUnset(featureID); | 158 | super.eUnset(featureID); |
159 | } | 159 | } |
160 | 160 | ||
161 | /** | 161 | /** |
162 | * <!-- begin-user-doc --> | 162 | * <!-- begin-user-doc --> |
163 | * <!-- end-user-doc --> | 163 | * <!-- end-user-doc --> |
164 | * @generated | 164 | * @generated |
165 | */ | 165 | */ |
166 | @Override | 166 | @Override |
167 | public boolean eIsSet(int featureID) | 167 | public boolean eIsSet(int featureID) |
168 | { | 168 | { |
169 | switch (featureID) | 169 | switch (featureID) |
170 | { | 170 | { |
171 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | 171 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: |
172 | return package_ != null; | 172 | return package_ != null; |
173 | } | 173 | } |
174 | return super.eIsSet(featureID); | 174 | return super.eIsSet(featureID); |
175 | } | 175 | } |
176 | 176 | ||
177 | } //PatternEntryImpl | 177 | } //PatternEntryImpl |