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/MetamodelEntryImpl.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/MetamodelEntryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java | 350 |
1 files changed, 176 insertions, 174 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java index af250b5b..1ab18c42 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java | |||
@@ -1,174 +1,176 @@ | |||
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.MetamodelEntry; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; |
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.EPackage; | 12 | import org.eclipse.emf.ecore.EPackage; |
13 | import org.eclipse.emf.ecore.InternalEObject; | 13 | import org.eclipse.emf.ecore.InternalEObject; |
14 | 14 | ||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
17 | 17 | ||
18 | /** | 18 | /** |
19 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
20 | * An implementation of the model object '<em><b>Metamodel Entry</b></em>'. | 20 | * An implementation of the model object '<em><b>Metamodel Entry</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.MetamodelEntryImpl#getPackage <em>Package</em>}</li> | 26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl#getPackage <em>Package</em>}</li> |
27 | * </ul> | 27 | * </ul> |
28 | * | 28 | * |
29 | * @generated | 29 | * @generated |
30 | */ | 30 | */ |
31 | public class MetamodelEntryImpl extends MinimalEObjectImpl.Container implements MetamodelEntry | 31 | public class MetamodelEntryImpl extends MinimalEObjectImpl.Container implements MetamodelEntry |
32 | { | 32 | { |
33 | /** | 33 | /** |
34 | * The cached value of the '{@link #getPackage() <em>Package</em>}' reference. | 34 | * The cached value of the '{@link #getPackage() <em>Package</em>}' reference. |
35 | * <!-- begin-user-doc --> | 35 | * <!-- begin-user-doc --> |
36 | * <!-- end-user-doc --> | 36 | * <!-- end-user-doc --> |
37 | * @see #getPackage() | 37 | * @see #getPackage() |
38 | * @generated | 38 | * @generated |
39 | * @ordered | 39 | * @ordered |
40 | */ | 40 | */ |
41 | protected EPackage package_; | 41 | protected EPackage package_; |
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 MetamodelEntryImpl() | 48 | protected MetamodelEntryImpl() |
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.METAMODEL_ENTRY; | 61 | return ApplicationConfigurationPackage.Literals.METAMODEL_ENTRY; |
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 EPackage getPackage() | 69 | @Override |
70 | { | 70 | public EPackage getPackage() |
71 | if (package_ != null && package_.eIsProxy()) | 71 | { |
72 | { | 72 | if (package_ != null && package_.eIsProxy()) |
73 | InternalEObject oldPackage = (InternalEObject)package_; | 73 | { |
74 | package_ = (EPackage)eResolveProxy(oldPackage); | 74 | InternalEObject oldPackage = (InternalEObject)package_; |
75 | if (package_ != oldPackage) | 75 | package_ = (EPackage)eResolveProxy(oldPackage); |
76 | { | 76 | if (package_ != oldPackage) |
77 | if (eNotificationRequired()) | 77 | { |
78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); | 78 | if (eNotificationRequired()) |
79 | } | 79 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); |
80 | } | 80 | } |
81 | return package_; | 81 | } |
82 | } | 82 | return package_; |
83 | 83 | } | |
84 | /** | 84 | |
85 | * <!-- begin-user-doc --> | 85 | /** |
86 | * <!-- end-user-doc --> | 86 | * <!-- begin-user-doc --> |
87 | * @generated | 87 | * <!-- end-user-doc --> |
88 | */ | 88 | * @generated |
89 | public EPackage basicGetPackage() | 89 | */ |
90 | { | 90 | public EPackage basicGetPackage() |
91 | return package_; | 91 | { |
92 | } | 92 | return package_; |
93 | 93 | } | |
94 | /** | 94 | |
95 | * <!-- begin-user-doc --> | 95 | /** |
96 | * <!-- end-user-doc --> | 96 | * <!-- begin-user-doc --> |
97 | * @generated | 97 | * <!-- end-user-doc --> |
98 | */ | 98 | * @generated |
99 | public void setPackage(EPackage newPackage) | 99 | */ |
100 | { | 100 | @Override |
101 | EPackage oldPackage = package_; | 101 | public void setPackage(EPackage newPackage) |
102 | package_ = newPackage; | 102 | { |
103 | if (eNotificationRequired()) | 103 | EPackage oldPackage = package_; |
104 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); | 104 | package_ = newPackage; |
105 | } | 105 | if (eNotificationRequired()) |
106 | 106 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); | |
107 | /** | 107 | } |
108 | * <!-- begin-user-doc --> | 108 | |
109 | * <!-- end-user-doc --> | 109 | /** |
110 | * @generated | 110 | * <!-- begin-user-doc --> |
111 | */ | 111 | * <!-- end-user-doc --> |
112 | @Override | 112 | * @generated |
113 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 113 | */ |
114 | { | 114 | @Override |
115 | switch (featureID) | 115 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
116 | { | 116 | { |
117 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | 117 | switch (featureID) |
118 | if (resolve) return getPackage(); | 118 | { |
119 | return basicGetPackage(); | 119 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: |
120 | } | 120 | if (resolve) return getPackage(); |
121 | return super.eGet(featureID, resolve, coreType); | 121 | return basicGetPackage(); |
122 | } | 122 | } |
123 | 123 | return super.eGet(featureID, resolve, coreType); | |
124 | /** | 124 | } |
125 | * <!-- begin-user-doc --> | 125 | |
126 | * <!-- end-user-doc --> | 126 | /** |
127 | * @generated | 127 | * <!-- begin-user-doc --> |
128 | */ | 128 | * <!-- end-user-doc --> |
129 | @Override | 129 | * @generated |
130 | public void eSet(int featureID, Object newValue) | 130 | */ |
131 | { | 131 | @Override |
132 | switch (featureID) | 132 | public void eSet(int featureID, Object newValue) |
133 | { | 133 | { |
134 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | 134 | switch (featureID) |
135 | setPackage((EPackage)newValue); | 135 | { |
136 | return; | 136 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: |
137 | } | 137 | setPackage((EPackage)newValue); |
138 | super.eSet(featureID, newValue); | 138 | return; |
139 | } | 139 | } |
140 | 140 | super.eSet(featureID, newValue); | |
141 | /** | 141 | } |
142 | * <!-- begin-user-doc --> | 142 | |
143 | * <!-- end-user-doc --> | 143 | /** |
144 | * @generated | 144 | * <!-- begin-user-doc --> |
145 | */ | 145 | * <!-- end-user-doc --> |
146 | @Override | 146 | * @generated |
147 | public void eUnset(int featureID) | 147 | */ |
148 | { | 148 | @Override |
149 | switch (featureID) | 149 | public void eUnset(int featureID) |
150 | { | 150 | { |
151 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | 151 | switch (featureID) |
152 | setPackage((EPackage)null); | 152 | { |
153 | return; | 153 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: |
154 | } | 154 | setPackage((EPackage)null); |
155 | super.eUnset(featureID); | 155 | return; |
156 | } | 156 | } |
157 | 157 | super.eUnset(featureID); | |
158 | /** | 158 | } |
159 | * <!-- begin-user-doc --> | 159 | |
160 | * <!-- end-user-doc --> | 160 | /** |
161 | * @generated | 161 | * <!-- begin-user-doc --> |
162 | */ | 162 | * <!-- end-user-doc --> |
163 | @Override | 163 | * @generated |
164 | public boolean eIsSet(int featureID) | 164 | */ |
165 | { | 165 | @Override |
166 | switch (featureID) | 166 | public boolean eIsSet(int featureID) |
167 | { | 167 | { |
168 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | 168 | switch (featureID) |
169 | return package_ != null; | 169 | { |
170 | } | 170 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: |
171 | return super.eIsSet(featureID); | 171 | return package_ != null; |
172 | } | 172 | } |
173 | 173 | return super.eIsSet(featureID); | |
174 | } //MetamodelEntryImpl | 174 | } |
175 | |||
176 | } //MetamodelEntryImpl | ||