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