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/PatternSpecificationImpl.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/PatternSpecificationImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java | 333 |
1 files changed, 167 insertions, 166 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java index 410ad21c..5240cfd4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java | |||
@@ -1,166 +1,167 @@ | |||
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.PatternEntry; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; |
9 | 9 | ||
10 | import java.util.Collection; | 10 | import java.util.Collection; |
11 | 11 | ||
12 | import org.eclipse.emf.common.notify.NotificationChain; | 12 | import org.eclipse.emf.common.notify.NotificationChain; |
13 | 13 | ||
14 | import org.eclipse.emf.common.util.EList; | 14 | import org.eclipse.emf.common.util.EList; |
15 | 15 | ||
16 | import org.eclipse.emf.ecore.EClass; | 16 | import org.eclipse.emf.ecore.EClass; |
17 | import org.eclipse.emf.ecore.InternalEObject; | 17 | import org.eclipse.emf.ecore.InternalEObject; |
18 | 18 | ||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | 19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; |
20 | import org.eclipse.emf.ecore.util.InternalEList; | 20 | import org.eclipse.emf.ecore.util.InternalEList; |
21 | 21 | ||
22 | /** | 22 | /** |
23 | * <!-- begin-user-doc --> | 23 | * <!-- begin-user-doc --> |
24 | * An implementation of the model object '<em><b>Pattern Specification</b></em>'. | 24 | * An implementation of the model object '<em><b>Pattern Specification</b></em>'. |
25 | * <!-- end-user-doc --> | 25 | * <!-- end-user-doc --> |
26 | * <p> | 26 | * <p> |
27 | * The following features are implemented: | 27 | * The following features are implemented: |
28 | * </p> | 28 | * </p> |
29 | * <ul> | 29 | * <ul> |
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl#getEntries <em>Entries</em>}</li> | 30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl#getEntries <em>Entries</em>}</li> |
31 | * </ul> | 31 | * </ul> |
32 | * | 32 | * |
33 | * @generated | 33 | * @generated |
34 | */ | 34 | */ |
35 | public class PatternSpecificationImpl extends GraphPatternImpl implements PatternSpecification | 35 | public class PatternSpecificationImpl extends GraphPatternImpl implements PatternSpecification |
36 | { | 36 | { |
37 | /** | 37 | /** |
38 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. | 38 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. |
39 | * <!-- begin-user-doc --> | 39 | * <!-- begin-user-doc --> |
40 | * <!-- end-user-doc --> | 40 | * <!-- end-user-doc --> |
41 | * @see #getEntries() | 41 | * @see #getEntries() |
42 | * @generated | 42 | * @generated |
43 | * @ordered | 43 | * @ordered |
44 | */ | 44 | */ |
45 | protected EList<PatternEntry> entries; | 45 | protected EList<PatternEntry> entries; |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * <!-- begin-user-doc --> | 48 | * <!-- begin-user-doc --> |
49 | * <!-- end-user-doc --> | 49 | * <!-- end-user-doc --> |
50 | * @generated | 50 | * @generated |
51 | */ | 51 | */ |
52 | protected PatternSpecificationImpl() | 52 | protected PatternSpecificationImpl() |
53 | { | 53 | { |
54 | super(); | 54 | super(); |
55 | } | 55 | } |
56 | 56 | ||
57 | /** | 57 | /** |
58 | * <!-- begin-user-doc --> | 58 | * <!-- begin-user-doc --> |
59 | * <!-- end-user-doc --> | 59 | * <!-- end-user-doc --> |
60 | * @generated | 60 | * @generated |
61 | */ | 61 | */ |
62 | @Override | 62 | @Override |
63 | protected EClass eStaticClass() | 63 | protected EClass eStaticClass() |
64 | { | 64 | { |
65 | return ApplicationConfigurationPackage.Literals.PATTERN_SPECIFICATION; | 65 | return ApplicationConfigurationPackage.Literals.PATTERN_SPECIFICATION; |
66 | } | 66 | } |
67 | 67 | ||
68 | /** | 68 | /** |
69 | * <!-- begin-user-doc --> | 69 | * <!-- begin-user-doc --> |
70 | * <!-- end-user-doc --> | 70 | * <!-- end-user-doc --> |
71 | * @generated | 71 | * @generated |
72 | */ | 72 | */ |
73 | public EList<PatternEntry> getEntries() | 73 | @Override |
74 | { | 74 | public EList<PatternEntry> getEntries() |
75 | if (entries == null) | 75 | { |
76 | { | 76 | if (entries == null) |
77 | entries = new EObjectContainmentEList<PatternEntry>(PatternEntry.class, this, ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES); | 77 | { |
78 | } | 78 | entries = new EObjectContainmentEList<PatternEntry>(PatternEntry.class, this, ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES); |
79 | return entries; | 79 | } |
80 | } | 80 | return entries; |
81 | 81 | } | |
82 | /** | 82 | |
83 | * <!-- begin-user-doc --> | 83 | /** |
84 | * <!-- end-user-doc --> | 84 | * <!-- begin-user-doc --> |
85 | * @generated | 85 | * <!-- end-user-doc --> |
86 | */ | 86 | * @generated |
87 | @Override | 87 | */ |
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 88 | @Override |
89 | { | 89 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
90 | switch (featureID) | 90 | { |
91 | { | 91 | switch (featureID) |
92 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | 92 | { |
93 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); | 93 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: |
94 | } | 94 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); |
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | 95 | } |
96 | } | 96 | return super.eInverseRemove(otherEnd, featureID, msgs); |
97 | 97 | } | |
98 | /** | 98 | |
99 | * <!-- begin-user-doc --> | 99 | /** |
100 | * <!-- end-user-doc --> | 100 | * <!-- begin-user-doc --> |
101 | * @generated | 101 | * <!-- end-user-doc --> |
102 | */ | 102 | * @generated |
103 | @Override | 103 | */ |
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 104 | @Override |
105 | { | 105 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
106 | switch (featureID) | 106 | { |
107 | { | 107 | switch (featureID) |
108 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | 108 | { |
109 | return getEntries(); | 109 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: |
110 | } | 110 | return getEntries(); |
111 | return super.eGet(featureID, resolve, coreType); | 111 | } |
112 | } | 112 | return super.eGet(featureID, resolve, coreType); |
113 | 113 | } | |
114 | /** | 114 | |
115 | * <!-- begin-user-doc --> | 115 | /** |
116 | * <!-- end-user-doc --> | 116 | * <!-- begin-user-doc --> |
117 | * @generated | 117 | * <!-- end-user-doc --> |
118 | */ | 118 | * @generated |
119 | @SuppressWarnings("unchecked") | 119 | */ |
120 | @Override | 120 | @SuppressWarnings("unchecked") |
121 | public void eSet(int featureID, Object newValue) | 121 | @Override |
122 | { | 122 | public void eSet(int featureID, Object newValue) |
123 | switch (featureID) | 123 | { |
124 | { | 124 | switch (featureID) |
125 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | 125 | { |
126 | getEntries().clear(); | 126 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: |
127 | getEntries().addAll((Collection<? extends PatternEntry>)newValue); | 127 | getEntries().clear(); |
128 | return; | 128 | getEntries().addAll((Collection<? extends PatternEntry>)newValue); |
129 | } | 129 | return; |
130 | super.eSet(featureID, newValue); | 130 | } |
131 | } | 131 | super.eSet(featureID, newValue); |
132 | 132 | } | |
133 | /** | 133 | |
134 | * <!-- begin-user-doc --> | 134 | /** |
135 | * <!-- end-user-doc --> | 135 | * <!-- begin-user-doc --> |
136 | * @generated | 136 | * <!-- end-user-doc --> |
137 | */ | 137 | * @generated |
138 | @Override | 138 | */ |
139 | public void eUnset(int featureID) | 139 | @Override |
140 | { | 140 | public void eUnset(int featureID) |
141 | switch (featureID) | 141 | { |
142 | { | 142 | switch (featureID) |
143 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | 143 | { |
144 | getEntries().clear(); | 144 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: |
145 | return; | 145 | getEntries().clear(); |
146 | } | 146 | return; |
147 | super.eUnset(featureID); | 147 | } |
148 | } | 148 | super.eUnset(featureID); |
149 | 149 | } | |
150 | /** | 150 | |
151 | * <!-- begin-user-doc --> | 151 | /** |
152 | * <!-- end-user-doc --> | 152 | * <!-- begin-user-doc --> |
153 | * @generated | 153 | * <!-- end-user-doc --> |
154 | */ | 154 | * @generated |
155 | @Override | 155 | */ |
156 | public boolean eIsSet(int featureID) | 156 | @Override |
157 | { | 157 | public boolean eIsSet(int featureID) |
158 | switch (featureID) | 158 | { |
159 | { | 159 | switch (featureID) |
160 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | 160 | { |
161 | return entries != null && !entries.isEmpty(); | 161 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: |
162 | } | 162 | return entries != null && !entries.isEmpty(); |
163 | return super.eIsSet(featureID); | 163 | } |
164 | } | 164 | return super.eIsSet(featureID); |
165 | 165 | } | |
166 | } //PatternSpecificationImpl | 166 | |
167 | } //PatternSpecificationImpl | ||