aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java352
1 files changed, 176 insertions, 176 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java
index 101840d2..74f93f35 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java
@@ -1,176 +1,176 @@
1/** 1/**
2 * generated by Xtext 2.21.0 2 * generated by Xtext 2.21.0
3 */ 3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5 5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; 6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement;
8 8
9import org.eclipse.emf.common.notify.Notification; 9import org.eclipse.emf.common.notify.Notification;
10 10
11import org.eclipse.emf.ecore.EClass; 11import org.eclipse.emf.ecore.EClass;
12import org.eclipse.emf.ecore.InternalEObject; 12import org.eclipse.emf.ecore.InternalEObject;
13 13
14import org.eclipse.emf.ecore.impl.ENotificationImpl; 14import org.eclipse.emf.ecore.impl.ENotificationImpl;
15 15
16import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; 16import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern;
17 17
18/** 18/**
19 * <!-- begin-user-doc --> 19 * <!-- begin-user-doc -->
20 * An implementation of the model object '<em><b>Pattern Element</b></em>'. 20 * An implementation of the model object '<em><b>Pattern Element</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.PatternElementImpl#getPattern <em>Pattern</em>}</li> 26 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl#getPattern <em>Pattern</em>}</li>
27 * </ul> 27 * </ul>
28 * 28 *
29 * @generated 29 * @generated
30 */ 30 */
31public class PatternElementImpl extends PatternEntryImpl implements PatternElement 31public class PatternElementImpl extends PatternEntryImpl implements PatternElement
32{ 32{
33 /** 33 /**
34 * The cached value of the '{@link #getPattern() <em>Pattern</em>}' reference. 34 * The cached value of the '{@link #getPattern() <em>Pattern</em>}' reference.
35 * <!-- begin-user-doc --> 35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc --> 36 * <!-- end-user-doc -->
37 * @see #getPattern() 37 * @see #getPattern()
38 * @generated 38 * @generated
39 * @ordered 39 * @ordered
40 */ 40 */
41 protected Pattern pattern; 41 protected Pattern pattern;
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 PatternElementImpl() 48 protected PatternElementImpl()
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.PATTERN_ELEMENT; 61 return ApplicationConfigurationPackage.Literals.PATTERN_ELEMENT;
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 @Override 69 @Override
70 public Pattern getPattern() 70 public Pattern getPattern()
71 { 71 {
72 if (pattern != null && pattern.eIsProxy()) 72 if (pattern != null && pattern.eIsProxy())
73 { 73 {
74 InternalEObject oldPattern = (InternalEObject)pattern; 74 InternalEObject oldPattern = (InternalEObject)pattern;
75 pattern = (Pattern)eResolveProxy(oldPattern); 75 pattern = (Pattern)eResolveProxy(oldPattern);
76 if (pattern != oldPattern) 76 if (pattern != oldPattern)
77 { 77 {
78 if (eNotificationRequired()) 78 if (eNotificationRequired())
79 eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern)); 79 eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern));
80 } 80 }
81 } 81 }
82 return pattern; 82 return pattern;
83 } 83 }
84 84
85 /** 85 /**
86 * <!-- begin-user-doc --> 86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc --> 87 * <!-- end-user-doc -->
88 * @generated 88 * @generated
89 */ 89 */
90 public Pattern basicGetPattern() 90 public Pattern basicGetPattern()
91 { 91 {
92 return pattern; 92 return pattern;
93 } 93 }
94 94
95 /** 95 /**
96 * <!-- begin-user-doc --> 96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc --> 97 * <!-- end-user-doc -->
98 * @generated 98 * @generated
99 */ 99 */
100 @Override 100 @Override
101 public void setPattern(Pattern newPattern) 101 public void setPattern(Pattern newPattern)
102 { 102 {
103 Pattern oldPattern = pattern; 103 Pattern oldPattern = pattern;
104 pattern = newPattern; 104 pattern = newPattern;
105 if (eNotificationRequired()) 105 if (eNotificationRequired())
106 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern)); 106 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern));
107 } 107 }
108 108
109 /** 109 /**
110 * <!-- begin-user-doc --> 110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc --> 111 * <!-- end-user-doc -->
112 * @generated 112 * @generated
113 */ 113 */
114 @Override 114 @Override
115 public Object eGet(int featureID, boolean resolve, boolean coreType) 115 public Object eGet(int featureID, boolean resolve, boolean coreType)
116 { 116 {
117 switch (featureID) 117 switch (featureID)
118 { 118 {
119 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: 119 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN:
120 if (resolve) return getPattern(); 120 if (resolve) return getPattern();
121 return basicGetPattern(); 121 return basicGetPattern();
122 } 122 }
123 return super.eGet(featureID, resolve, coreType); 123 return super.eGet(featureID, resolve, coreType);
124 } 124 }
125 125
126 /** 126 /**
127 * <!-- begin-user-doc --> 127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc --> 128 * <!-- end-user-doc -->
129 * @generated 129 * @generated
130 */ 130 */
131 @Override 131 @Override
132 public void eSet(int featureID, Object newValue) 132 public void eSet(int featureID, Object newValue)
133 { 133 {
134 switch (featureID) 134 switch (featureID)
135 { 135 {
136 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: 136 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN:
137 setPattern((Pattern)newValue); 137 setPattern((Pattern)newValue);
138 return; 138 return;
139 } 139 }
140 super.eSet(featureID, newValue); 140 super.eSet(featureID, newValue);
141 } 141 }
142 142
143 /** 143 /**
144 * <!-- begin-user-doc --> 144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc --> 145 * <!-- end-user-doc -->
146 * @generated 146 * @generated
147 */ 147 */
148 @Override 148 @Override
149 public void eUnset(int featureID) 149 public void eUnset(int featureID)
150 { 150 {
151 switch (featureID) 151 switch (featureID)
152 { 152 {
153 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: 153 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN:
154 setPattern((Pattern)null); 154 setPattern((Pattern)null);
155 return; 155 return;
156 } 156 }
157 super.eUnset(featureID); 157 super.eUnset(featureID);
158 } 158 }
159 159
160 /** 160 /**
161 * <!-- begin-user-doc --> 161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc --> 162 * <!-- end-user-doc -->
163 * @generated 163 * @generated
164 */ 164 */
165 @Override 165 @Override
166 public boolean eIsSet(int featureID) 166 public boolean eIsSet(int featureID)
167 { 167 {
168 switch (featureID) 168 switch (featureID)
169 { 169 {
170 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: 170 case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN:
171 return pattern != null; 171 return pattern != null;
172 } 172 }
173 return super.eIsSet(featureID); 173 return super.eIsSet(featureID);
174 } 174 }
175 175
176} //PatternElementImpl 176} //PatternElementImpl