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/DocumentationEntryImpl.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/DocumentationEntryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java | 358 |
1 files changed, 180 insertions, 178 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java index 3ea64130..5c2543a9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java | |||
@@ -1,178 +1,180 @@ | |||
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.DocumentLevelSpecification; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
11 | 11 | ||
12 | import org.eclipse.emf.ecore.EClass; | 12 | import org.eclipse.emf.ecore.EClass; |
13 | 13 | ||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
15 | 15 | ||
16 | /** | 16 | /** |
17 | * <!-- begin-user-doc --> | 17 | * <!-- begin-user-doc --> |
18 | * An implementation of the model object '<em><b>Documentation Entry</b></em>'. | 18 | * An implementation of the model object '<em><b>Documentation Entry</b></em>'. |
19 | * <!-- end-user-doc --> | 19 | * <!-- end-user-doc --> |
20 | * <p> | 20 | * <p> |
21 | * The following features are implemented: | 21 | * The following features are implemented: |
22 | * </p> | 22 | * </p> |
23 | * <ul> | 23 | * <ul> |
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl#getLevel <em>Level</em>}</li> | 24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl#getLevel <em>Level</em>}</li> |
25 | * </ul> | 25 | * </ul> |
26 | * | 26 | * |
27 | * @generated | 27 | * @generated |
28 | */ | 28 | */ |
29 | public class DocumentationEntryImpl extends ConfigEntryImpl implements DocumentationEntry | 29 | public class DocumentationEntryImpl extends ConfigEntryImpl implements DocumentationEntry |
30 | { | 30 | { |
31 | /** | 31 | /** |
32 | * The default value of the '{@link #getLevel() <em>Level</em>}' attribute. | 32 | * The default value of the '{@link #getLevel() <em>Level</em>}' attribute. |
33 | * <!-- begin-user-doc --> | 33 | * <!-- begin-user-doc --> |
34 | * <!-- end-user-doc --> | 34 | * <!-- end-user-doc --> |
35 | * @see #getLevel() | 35 | * @see #getLevel() |
36 | * @generated | 36 | * @generated |
37 | * @ordered | 37 | * @ordered |
38 | */ | 38 | */ |
39 | protected static final DocumentLevelSpecification LEVEL_EDEFAULT = DocumentLevelSpecification.NONE; | 39 | protected static final DocumentLevelSpecification LEVEL_EDEFAULT = DocumentLevelSpecification.NONE; |
40 | 40 | ||
41 | /** | 41 | /** |
42 | * The cached value of the '{@link #getLevel() <em>Level</em>}' attribute. | 42 | * The cached value of the '{@link #getLevel() <em>Level</em>}' attribute. |
43 | * <!-- begin-user-doc --> | 43 | * <!-- begin-user-doc --> |
44 | * <!-- end-user-doc --> | 44 | * <!-- end-user-doc --> |
45 | * @see #getLevel() | 45 | * @see #getLevel() |
46 | * @generated | 46 | * @generated |
47 | * @ordered | 47 | * @ordered |
48 | */ | 48 | */ |
49 | protected DocumentLevelSpecification level = LEVEL_EDEFAULT; | 49 | protected DocumentLevelSpecification level = LEVEL_EDEFAULT; |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * <!-- begin-user-doc --> | 52 | * <!-- begin-user-doc --> |
53 | * <!-- end-user-doc --> | 53 | * <!-- end-user-doc --> |
54 | * @generated | 54 | * @generated |
55 | */ | 55 | */ |
56 | protected DocumentationEntryImpl() | 56 | protected DocumentationEntryImpl() |
57 | { | 57 | { |
58 | super(); | 58 | super(); |
59 | } | 59 | } |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * <!-- begin-user-doc --> | 62 | * <!-- begin-user-doc --> |
63 | * <!-- end-user-doc --> | 63 | * <!-- end-user-doc --> |
64 | * @generated | 64 | * @generated |
65 | */ | 65 | */ |
66 | @Override | 66 | @Override |
67 | protected EClass eStaticClass() | 67 | protected EClass eStaticClass() |
68 | { | 68 | { |
69 | return ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY; | 69 | return ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY; |
70 | } | 70 | } |
71 | 71 | ||
72 | /** | 72 | /** |
73 | * <!-- begin-user-doc --> | 73 | * <!-- begin-user-doc --> |
74 | * <!-- end-user-doc --> | 74 | * <!-- end-user-doc --> |
75 | * @generated | 75 | * @generated |
76 | */ | 76 | */ |
77 | public DocumentLevelSpecification getLevel() | 77 | @Override |
78 | { | 78 | public DocumentLevelSpecification getLevel() |
79 | return level; | 79 | { |
80 | } | 80 | return level; |
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 | public void setLevel(DocumentLevelSpecification newLevel) | 87 | */ |
88 | { | 88 | @Override |
89 | DocumentLevelSpecification oldLevel = level; | 89 | public void setLevel(DocumentLevelSpecification newLevel) |
90 | level = newLevel == null ? LEVEL_EDEFAULT : newLevel; | 90 | { |
91 | if (eNotificationRequired()) | 91 | DocumentLevelSpecification oldLevel = level; |
92 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL, oldLevel, level)); | 92 | level = newLevel == null ? LEVEL_EDEFAULT : newLevel; |
93 | } | 93 | if (eNotificationRequired()) |
94 | 94 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL, oldLevel, level)); | |
95 | /** | 95 | } |
96 | * <!-- begin-user-doc --> | 96 | |
97 | * <!-- end-user-doc --> | 97 | /** |
98 | * @generated | 98 | * <!-- begin-user-doc --> |
99 | */ | 99 | * <!-- end-user-doc --> |
100 | @Override | 100 | * @generated |
101 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 101 | */ |
102 | { | 102 | @Override |
103 | switch (featureID) | 103 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
104 | { | 104 | { |
105 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: | 105 | switch (featureID) |
106 | return getLevel(); | 106 | { |
107 | } | 107 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: |
108 | return super.eGet(featureID, resolve, coreType); | 108 | return getLevel(); |
109 | } | 109 | } |
110 | 110 | return super.eGet(featureID, resolve, coreType); | |
111 | /** | 111 | } |
112 | * <!-- begin-user-doc --> | 112 | |
113 | * <!-- end-user-doc --> | 113 | /** |
114 | * @generated | 114 | * <!-- begin-user-doc --> |
115 | */ | 115 | * <!-- end-user-doc --> |
116 | @Override | 116 | * @generated |
117 | public void eSet(int featureID, Object newValue) | 117 | */ |
118 | { | 118 | @Override |
119 | switch (featureID) | 119 | public void eSet(int featureID, Object newValue) |
120 | { | 120 | { |
121 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: | 121 | switch (featureID) |
122 | setLevel((DocumentLevelSpecification)newValue); | 122 | { |
123 | return; | 123 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: |
124 | } | 124 | setLevel((DocumentLevelSpecification)newValue); |
125 | super.eSet(featureID, newValue); | 125 | return; |
126 | } | 126 | } |
127 | 127 | super.eSet(featureID, newValue); | |
128 | /** | 128 | } |
129 | * <!-- begin-user-doc --> | 129 | |
130 | * <!-- end-user-doc --> | 130 | /** |
131 | * @generated | 131 | * <!-- begin-user-doc --> |
132 | */ | 132 | * <!-- end-user-doc --> |
133 | @Override | 133 | * @generated |
134 | public void eUnset(int featureID) | 134 | */ |
135 | { | 135 | @Override |
136 | switch (featureID) | 136 | public void eUnset(int featureID) |
137 | { | 137 | { |
138 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: | 138 | switch (featureID) |
139 | setLevel(LEVEL_EDEFAULT); | 139 | { |
140 | return; | 140 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: |
141 | } | 141 | setLevel(LEVEL_EDEFAULT); |
142 | super.eUnset(featureID); | 142 | return; |
143 | } | 143 | } |
144 | 144 | super.eUnset(featureID); | |
145 | /** | 145 | } |
146 | * <!-- begin-user-doc --> | 146 | |
147 | * <!-- end-user-doc --> | 147 | /** |
148 | * @generated | 148 | * <!-- begin-user-doc --> |
149 | */ | 149 | * <!-- end-user-doc --> |
150 | @Override | 150 | * @generated |
151 | public boolean eIsSet(int featureID) | 151 | */ |
152 | { | 152 | @Override |
153 | switch (featureID) | 153 | public boolean eIsSet(int featureID) |
154 | { | 154 | { |
155 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: | 155 | switch (featureID) |
156 | return level != LEVEL_EDEFAULT; | 156 | { |
157 | } | 157 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: |
158 | return super.eIsSet(featureID); | 158 | return level != LEVEL_EDEFAULT; |
159 | } | 159 | } |
160 | 160 | return super.eIsSet(featureID); | |
161 | /** | 161 | } |
162 | * <!-- begin-user-doc --> | 162 | |
163 | * <!-- end-user-doc --> | 163 | /** |
164 | * @generated | 164 | * <!-- begin-user-doc --> |
165 | */ | 165 | * <!-- end-user-doc --> |
166 | @Override | 166 | * @generated |
167 | public String toString() | 167 | */ |
168 | { | 168 | @Override |
169 | if (eIsProxy()) return super.toString(); | 169 | public String toString() |
170 | 170 | { | |
171 | StringBuffer result = new StringBuffer(super.toString()); | 171 | if (eIsProxy()) return super.toString(); |
172 | result.append(" (level: "); | 172 | |
173 | result.append(level); | 173 | StringBuilder result = new StringBuilder(super.toString()); |
174 | result.append(')'); | 174 | result.append(" (level: "); |
175 | return result.toString(); | 175 | result.append(level); |
176 | } | 176 | result.append(')'); |
177 | 177 | return result.toString(); | |
178 | } //DocumentationEntryImpl | 178 | } |
179 | |||
180 | } //DocumentationEntryImpl | ||