diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | 2214 |
1 files changed, 1232 insertions, 982 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java index 7f485ec5..dbd717e5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | |||
@@ -1,982 +1,1232 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.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.*; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | import org.eclipse.emf.ecore.EDataType; | 9 | import org.eclipse.emf.ecore.EDataType; |
10 | import org.eclipse.emf.ecore.EObject; | 10 | import org.eclipse.emf.ecore.EObject; |
11 | import org.eclipse.emf.ecore.EPackage; | 11 | import org.eclipse.emf.ecore.EPackage; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | 13 | import org.eclipse.emf.ecore.impl.EFactoryImpl; |
14 | 14 | ||
15 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | 15 | import org.eclipse.emf.ecore.plugin.EcorePlugin; |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * <!-- begin-user-doc --> | 18 | * <!-- begin-user-doc --> |
19 | * An implementation of the model <b>Factory</b>. | 19 | * An implementation of the model <b>Factory</b>. |
20 | * <!-- end-user-doc --> | 20 | * <!-- end-user-doc --> |
21 | * @generated | 21 | * @generated |
22 | */ | 22 | */ |
23 | public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements ApplicationConfigurationFactory | 23 | public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements ApplicationConfigurationFactory |
24 | { | 24 | { |
25 | /** | 25 | /** |
26 | * Creates the default factory implementation. | 26 | * Creates the default factory implementation. |
27 | * <!-- begin-user-doc --> | 27 | * <!-- begin-user-doc --> |
28 | * <!-- end-user-doc --> | 28 | * <!-- end-user-doc --> |
29 | * @generated | 29 | * @generated |
30 | */ | 30 | */ |
31 | public static ApplicationConfigurationFactory init() | 31 | public static ApplicationConfigurationFactory init() |
32 | { | 32 | { |
33 | try | 33 | try |
34 | { | 34 | { |
35 | ApplicationConfigurationFactory theApplicationConfigurationFactory = (ApplicationConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ApplicationConfigurationPackage.eNS_URI); | 35 | ApplicationConfigurationFactory theApplicationConfigurationFactory = (ApplicationConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ApplicationConfigurationPackage.eNS_URI); |
36 | if (theApplicationConfigurationFactory != null) | 36 | if (theApplicationConfigurationFactory != null) |
37 | { | 37 | { |
38 | return theApplicationConfigurationFactory; | 38 | return theApplicationConfigurationFactory; |
39 | } | 39 | } |
40 | } | 40 | } |
41 | catch (Exception exception) | 41 | catch (Exception exception) |
42 | { | 42 | { |
43 | EcorePlugin.INSTANCE.log(exception); | 43 | EcorePlugin.INSTANCE.log(exception); |
44 | } | 44 | } |
45 | return new ApplicationConfigurationFactoryImpl(); | 45 | return new ApplicationConfigurationFactoryImpl(); |
46 | } | 46 | } |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * Creates an instance of the factory. | 49 | * Creates an instance of the factory. |
50 | * <!-- begin-user-doc --> | 50 | * <!-- begin-user-doc --> |
51 | * <!-- end-user-doc --> | 51 | * <!-- end-user-doc --> |
52 | * @generated | 52 | * @generated |
53 | */ | 53 | */ |
54 | public ApplicationConfigurationFactoryImpl() | 54 | public ApplicationConfigurationFactoryImpl() |
55 | { | 55 | { |
56 | super(); | 56 | super(); |
57 | } | 57 | } |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * <!-- begin-user-doc --> | 60 | * <!-- begin-user-doc --> |
61 | * <!-- end-user-doc --> | 61 | * <!-- end-user-doc --> |
62 | * @generated | 62 | * @generated |
63 | */ | 63 | */ |
64 | @Override | 64 | @Override |
65 | public EObject create(EClass eClass) | 65 | public EObject create(EClass eClass) |
66 | { | 66 | { |
67 | switch (eClass.getClassifierID()) | 67 | switch (eClass.getClassifierID()) |
68 | { | 68 | { |
69 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); | 69 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); |
70 | case ApplicationConfigurationPackage.COMMAND: return createCommand(); | 70 | case ApplicationConfigurationPackage.COMMAND: return createCommand(); |
71 | case ApplicationConfigurationPackage.IMPORT: return createImport(); | 71 | case ApplicationConfigurationPackage.IMPORT: return createImport(); |
72 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); | 72 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); |
73 | case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); | 73 | case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); |
74 | case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); | 74 | case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); |
75 | case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification(); | 75 | case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification(); |
76 | case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration(); | 76 | case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration(); |
77 | case ApplicationConfigurationPackage.FILE_REFERENCE: return createFileReference(); | 77 | case ApplicationConfigurationPackage.FILE_REFERENCE: return createFileReference(); |
78 | case ApplicationConfigurationPackage.FILE: return createFile(); | 78 | case ApplicationConfigurationPackage.FILE: return createFile(); |
79 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); | 79 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); |
80 | case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); | 80 | case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); |
81 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); | 81 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); |
82 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: return createMetamodelElement(); | 82 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: return createMetamodelElement(); |
83 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); | 83 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); |
84 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); | 84 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); |
85 | case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); | 85 | case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); |
86 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: return createPartialModelSpecification(); | 86 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: return createPartialModelSpecification(); |
87 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: return createPartialModelEntry(); | 87 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: return createPartialModelEntry(); |
88 | case ApplicationConfigurationPackage.MODEL_ENTRY: return createModelEntry(); | 88 | case ApplicationConfigurationPackage.MODEL_ENTRY: return createModelEntry(); |
89 | case ApplicationConfigurationPackage.FOLDER_ENTRY: return createFolderEntry(); | 89 | case ApplicationConfigurationPackage.FOLDER_ENTRY: return createFolderEntry(); |
90 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: return createPartialModelDeclaration(); | 90 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: return createPartialModelDeclaration(); |
91 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: return createPartialModelReference(); | 91 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: return createPartialModelReference(); |
92 | case ApplicationConfigurationPackage.PARTIAL_MODEL: return createPartialModel(); | 92 | case ApplicationConfigurationPackage.PARTIAL_MODEL: return createPartialModel(); |
93 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: return createPatternSpecification(); | 93 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: return createPatternSpecification(); |
94 | case ApplicationConfigurationPackage.PATTERN_ENTRY: return createPatternEntry(); | 94 | case ApplicationConfigurationPackage.PATTERN_ENTRY: return createPatternEntry(); |
95 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: return createAllPatternEntry(); | 95 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: return createAllPatternEntry(); |
96 | case ApplicationConfigurationPackage.PATTERN_ELEMENT: return createPatternElement(); | 96 | case ApplicationConfigurationPackage.PATTERN_ELEMENT: return createPatternElement(); |
97 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: return createGraphPatternDeclaration(); | 97 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: return createGraphPatternDeclaration(); |
98 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: return createGraphPatternReference(); | 98 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: return createGraphPatternReference(); |
99 | case ApplicationConfigurationPackage.GRAPH_PATTERN: return createGraphPattern(); | 99 | case ApplicationConfigurationPackage.GRAPH_PATTERN: return createGraphPattern(); |
100 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); | 100 | case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: return createObjectiveSpecification(); |
101 | case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); | 101 | case ApplicationConfigurationPackage.OBJECTIVE_ENTRY: return createObjectiveEntry(); |
102 | case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); | 102 | case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: return createOptimizationEntry(); |
103 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: return createDocumentationEntry(); | 103 | case ApplicationConfigurationPackage.THRESHOLD_ENTRY: return createThresholdEntry(); |
104 | case ApplicationConfigurationPackage.RUNTIME_ENTRY: return createRuntimeEntry(); | 104 | case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: return createObjectiveFunction(); |
105 | case ApplicationConfigurationPackage.MEMORY_ENTRY: return createMemoryEntry(); | 105 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: return createCostObjectiveFunction(); |
106 | case ApplicationConfigurationPackage.CUSTOM_ENTRY: return createCustomEntry(); | 106 | case ApplicationConfigurationPackage.COST_ENTRY: return createCostEntry(); |
107 | case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); | 107 | case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: return createObjectiveDeclaration(); |
108 | case ApplicationConfigurationPackage.CONFIG: return createConfig(); | 108 | case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: return createObjectiveReference(); |
109 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); | 109 | case ApplicationConfigurationPackage.OBJECTIVE: return createObjective(); |
110 | case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); | 110 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); |
111 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: return createClassTypeScope(); | 111 | case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); |
112 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: return createObjectTypeScope(); | 112 | case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); |
113 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: return createIntegerTypeScope(); | 113 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: return createDocumentationEntry(); |
114 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: return createRealTypeScope(); | 114 | case ApplicationConfigurationPackage.RUNTIME_ENTRY: return createRuntimeEntry(); |
115 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: return createStringTypeScope(); | 115 | case ApplicationConfigurationPackage.MEMORY_ENTRY: return createMemoryEntry(); |
116 | case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); | 116 | case ApplicationConfigurationPackage.CUSTOM_ENTRY: return createCustomEntry(); |
117 | case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); | 117 | case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); |
118 | case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); | 118 | case ApplicationConfigurationPackage.CONFIG: return createConfig(); |
119 | case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); | 119 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); |
120 | case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); | 120 | case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); |
121 | case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); | 121 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: return createClassTypeScope(); |
122 | case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: return createNumberSpecification(); | 122 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: return createObjectTypeScope(); |
123 | case ApplicationConfigurationPackage.EXACT_NUMBER: return createExactNumber(); | 123 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: return createIntegerTypeScope(); |
124 | case ApplicationConfigurationPackage.INTERVALL_NUMBER: return createIntervallNumber(); | 124 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: return createRealTypeScope(); |
125 | case ApplicationConfigurationPackage.INT_ENUMBERATION: return createIntEnumberation(); | 125 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: return createStringTypeScope(); |
126 | case ApplicationConfigurationPackage.REAL_ENUMERATION: return createRealEnumeration(); | 126 | case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); |
127 | case ApplicationConfigurationPackage.STRING_ENUMERATION: return createStringEnumeration(); | 127 | case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); |
128 | case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); | 128 | case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); |
129 | case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); | 129 | case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); |
130 | case ApplicationConfigurationPackage.SCOPE: return createScope(); | 130 | case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); |
131 | case ApplicationConfigurationPackage.TASK: return createTask(); | 131 | case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); |
132 | case ApplicationConfigurationPackage.GENERATION_TASK: return createGenerationTask(); | 132 | case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: return createNumberSpecification(); |
133 | case ApplicationConfigurationPackage.INTEGER_SCOPE: return createIntegerScope(); | 133 | case ApplicationConfigurationPackage.EXACT_NUMBER: return createExactNumber(); |
134 | case ApplicationConfigurationPackage.REAL_SCOPE: return createRealScope(); | 134 | case ApplicationConfigurationPackage.INTERVALL_NUMBER: return createIntervallNumber(); |
135 | case ApplicationConfigurationPackage.STRING_SCOPE: return createStringScope(); | 135 | case ApplicationConfigurationPackage.INT_ENUMBERATION: return createIntEnumberation(); |
136 | default: | 136 | case ApplicationConfigurationPackage.REAL_ENUMERATION: return createRealEnumeration(); |
137 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | 137 | case ApplicationConfigurationPackage.STRING_ENUMERATION: return createStringEnumeration(); |
138 | } | 138 | case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); |
139 | } | 139 | case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); |
140 | 140 | case ApplicationConfigurationPackage.SCOPE: return createScope(); | |
141 | /** | 141 | case ApplicationConfigurationPackage.TASK: return createTask(); |
142 | * <!-- begin-user-doc --> | 142 | case ApplicationConfigurationPackage.GENERATION_TASK: return createGenerationTask(); |
143 | * <!-- end-user-doc --> | 143 | case ApplicationConfigurationPackage.INTEGER_SCOPE: return createIntegerScope(); |
144 | * @generated | 144 | case ApplicationConfigurationPackage.REAL_SCOPE: return createRealScope(); |
145 | */ | 145 | case ApplicationConfigurationPackage.STRING_SCOPE: return createStringScope(); |
146 | @Override | 146 | default: |
147 | public Object createFromString(EDataType eDataType, String initialValue) | 147 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); |
148 | { | 148 | } |
149 | switch (eDataType.getClassifierID()) | 149 | } |
150 | { | 150 | |
151 | case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: | 151 | /** |
152 | return createDocumentLevelSpecificationFromString(eDataType, initialValue); | 152 | * <!-- begin-user-doc --> |
153 | case ApplicationConfigurationPackage.SOLVER: | 153 | * <!-- end-user-doc --> |
154 | return createSolverFromString(eDataType, initialValue); | 154 | * @generated |
155 | default: | 155 | */ |
156 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | 156 | @Override |
157 | } | 157 | public Object createFromString(EDataType eDataType, String initialValue) |
158 | } | 158 | { |
159 | 159 | switch (eDataType.getClassifierID()) | |
160 | /** | 160 | { |
161 | * <!-- begin-user-doc --> | 161 | case ApplicationConfigurationPackage.OPTIMIZATION_DIRECTION: |
162 | * <!-- end-user-doc --> | 162 | return createOptimizationDirectionFromString(eDataType, initialValue); |
163 | * @generated | 163 | case ApplicationConfigurationPackage.COMPARISON_OPERATOR: |
164 | */ | 164 | return createComparisonOperatorFromString(eDataType, initialValue); |
165 | @Override | 165 | case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: |
166 | public String convertToString(EDataType eDataType, Object instanceValue) | 166 | return createDocumentLevelSpecificationFromString(eDataType, initialValue); |
167 | { | 167 | case ApplicationConfigurationPackage.SOLVER: |
168 | switch (eDataType.getClassifierID()) | 168 | return createSolverFromString(eDataType, initialValue); |
169 | { | 169 | default: |
170 | case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: | 170 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); |
171 | return convertDocumentLevelSpecificationToString(eDataType, instanceValue); | 171 | } |
172 | case ApplicationConfigurationPackage.SOLVER: | 172 | } |
173 | return convertSolverToString(eDataType, instanceValue); | 173 | |
174 | default: | 174 | /** |
175 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | 175 | * <!-- begin-user-doc --> |
176 | } | 176 | * <!-- end-user-doc --> |
177 | } | 177 | * @generated |
178 | 178 | */ | |
179 | /** | 179 | @Override |
180 | * <!-- begin-user-doc --> | 180 | public String convertToString(EDataType eDataType, Object instanceValue) |
181 | * <!-- end-user-doc --> | 181 | { |
182 | * @generated | 182 | switch (eDataType.getClassifierID()) |
183 | */ | 183 | { |
184 | public ConfigurationScript createConfigurationScript() | 184 | case ApplicationConfigurationPackage.OPTIMIZATION_DIRECTION: |
185 | { | 185 | return convertOptimizationDirectionToString(eDataType, instanceValue); |
186 | ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); | 186 | case ApplicationConfigurationPackage.COMPARISON_OPERATOR: |
187 | return configurationScript; | 187 | return convertComparisonOperatorToString(eDataType, instanceValue); |
188 | } | 188 | case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: |
189 | 189 | return convertDocumentLevelSpecificationToString(eDataType, instanceValue); | |
190 | /** | 190 | case ApplicationConfigurationPackage.SOLVER: |
191 | * <!-- begin-user-doc --> | 191 | return convertSolverToString(eDataType, instanceValue); |
192 | * <!-- end-user-doc --> | 192 | default: |
193 | * @generated | 193 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); |
194 | */ | 194 | } |
195 | public Command createCommand() | 195 | } |
196 | { | 196 | |
197 | CommandImpl command = new CommandImpl(); | 197 | /** |
198 | return command; | 198 | * <!-- begin-user-doc --> |
199 | } | 199 | * <!-- end-user-doc --> |
200 | 200 | * @generated | |
201 | /** | 201 | */ |
202 | * <!-- begin-user-doc --> | 202 | @Override |
203 | * <!-- end-user-doc --> | 203 | public ConfigurationScript createConfigurationScript() |
204 | * @generated | 204 | { |
205 | */ | 205 | ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); |
206 | public Import createImport() | 206 | return configurationScript; |
207 | { | 207 | } |
208 | ImportImpl import_ = new ImportImpl(); | 208 | |
209 | return import_; | 209 | /** |
210 | } | 210 | * <!-- begin-user-doc --> |
211 | 211 | * <!-- end-user-doc --> | |
212 | /** | 212 | * @generated |
213 | * <!-- begin-user-doc --> | 213 | */ |
214 | * <!-- end-user-doc --> | 214 | @Override |
215 | * @generated | 215 | public Command createCommand() |
216 | */ | 216 | { |
217 | public EPackageImport createEPackageImport() | 217 | CommandImpl command = new CommandImpl(); |
218 | { | 218 | return command; |
219 | EPackageImportImpl ePackageImport = new EPackageImportImpl(); | 219 | } |
220 | return ePackageImport; | 220 | |
221 | } | 221 | /** |
222 | 222 | * <!-- begin-user-doc --> | |
223 | /** | 223 | * <!-- end-user-doc --> |
224 | * <!-- begin-user-doc --> | 224 | * @generated |
225 | * <!-- end-user-doc --> | 225 | */ |
226 | * @generated | 226 | @Override |
227 | */ | 227 | public Import createImport() |
228 | public ViatraImport createViatraImport() | 228 | { |
229 | { | 229 | ImportImpl import_ = new ImportImpl(); |
230 | ViatraImportImpl viatraImport = new ViatraImportImpl(); | 230 | return import_; |
231 | return viatraImport; | 231 | } |
232 | } | 232 | |
233 | 233 | /** | |
234 | /** | 234 | * <!-- begin-user-doc --> |
235 | * <!-- begin-user-doc --> | 235 | * <!-- end-user-doc --> |
236 | * <!-- end-user-doc --> | 236 | * @generated |
237 | * @generated | 237 | */ |
238 | */ | 238 | @Override |
239 | public Declaration createDeclaration() | 239 | public EPackageImport createEPackageImport() |
240 | { | 240 | { |
241 | DeclarationImpl declaration = new DeclarationImpl(); | 241 | EPackageImportImpl ePackageImport = new EPackageImportImpl(); |
242 | return declaration; | 242 | return ePackageImport; |
243 | } | 243 | } |
244 | 244 | ||
245 | /** | 245 | /** |
246 | * <!-- begin-user-doc --> | 246 | * <!-- begin-user-doc --> |
247 | * <!-- end-user-doc --> | 247 | * <!-- end-user-doc --> |
248 | * @generated | 248 | * @generated |
249 | */ | 249 | */ |
250 | public FileSpecification createFileSpecification() | 250 | @Override |
251 | { | 251 | public ViatraImport createViatraImport() |
252 | FileSpecificationImpl fileSpecification = new FileSpecificationImpl(); | 252 | { |
253 | return fileSpecification; | 253 | ViatraImportImpl viatraImport = new ViatraImportImpl(); |
254 | } | 254 | return viatraImport; |
255 | 255 | } | |
256 | /** | 256 | |
257 | * <!-- begin-user-doc --> | 257 | /** |
258 | * <!-- end-user-doc --> | 258 | * <!-- begin-user-doc --> |
259 | * @generated | 259 | * <!-- end-user-doc --> |
260 | */ | 260 | * @generated |
261 | public FileDeclaration createFileDeclaration() | 261 | */ |
262 | { | 262 | @Override |
263 | FileDeclarationImpl fileDeclaration = new FileDeclarationImpl(); | 263 | public Declaration createDeclaration() |
264 | return fileDeclaration; | 264 | { |
265 | } | 265 | DeclarationImpl declaration = new DeclarationImpl(); |
266 | 266 | return declaration; | |
267 | /** | 267 | } |
268 | * <!-- begin-user-doc --> | 268 | |
269 | * <!-- end-user-doc --> | 269 | /** |
270 | * @generated | 270 | * <!-- begin-user-doc --> |
271 | */ | 271 | * <!-- end-user-doc --> |
272 | public FileReference createFileReference() | 272 | * @generated |
273 | { | 273 | */ |
274 | FileReferenceImpl fileReference = new FileReferenceImpl(); | 274 | @Override |
275 | return fileReference; | 275 | public FileSpecification createFileSpecification() |
276 | } | 276 | { |
277 | 277 | FileSpecificationImpl fileSpecification = new FileSpecificationImpl(); | |
278 | /** | 278 | return fileSpecification; |
279 | * <!-- begin-user-doc --> | 279 | } |
280 | * <!-- end-user-doc --> | 280 | |
281 | * @generated | 281 | /** |
282 | */ | 282 | * <!-- begin-user-doc --> |
283 | public File createFile() | 283 | * <!-- end-user-doc --> |
284 | { | 284 | * @generated |
285 | FileImpl file = new FileImpl(); | 285 | */ |
286 | return file; | 286 | @Override |
287 | } | 287 | public FileDeclaration createFileDeclaration() |
288 | 288 | { | |
289 | /** | 289 | FileDeclarationImpl fileDeclaration = new FileDeclarationImpl(); |
290 | * <!-- begin-user-doc --> | 290 | return fileDeclaration; |
291 | * <!-- end-user-doc --> | 291 | } |
292 | * @generated | 292 | |
293 | */ | 293 | /** |
294 | public MetamodelSpecification createMetamodelSpecification() | 294 | * <!-- begin-user-doc --> |
295 | { | 295 | * <!-- end-user-doc --> |
296 | MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl(); | 296 | * @generated |
297 | return metamodelSpecification; | 297 | */ |
298 | } | 298 | @Override |
299 | 299 | public FileReference createFileReference() | |
300 | /** | 300 | { |
301 | * <!-- begin-user-doc --> | 301 | FileReferenceImpl fileReference = new FileReferenceImpl(); |
302 | * <!-- end-user-doc --> | 302 | return fileReference; |
303 | * @generated | 303 | } |
304 | */ | 304 | |
305 | public MetamodelEntry createMetamodelEntry() | 305 | /** |
306 | { | 306 | * <!-- begin-user-doc --> |
307 | MetamodelEntryImpl metamodelEntry = new MetamodelEntryImpl(); | 307 | * <!-- end-user-doc --> |
308 | return metamodelEntry; | 308 | * @generated |
309 | } | 309 | */ |
310 | 310 | @Override | |
311 | /** | 311 | public File createFile() |
312 | * <!-- begin-user-doc --> | 312 | { |
313 | * <!-- end-user-doc --> | 313 | FileImpl file = new FileImpl(); |
314 | * @generated | 314 | return file; |
315 | */ | 315 | } |
316 | public AllPackageEntry createAllPackageEntry() | 316 | |
317 | { | 317 | /** |
318 | AllPackageEntryImpl allPackageEntry = new AllPackageEntryImpl(); | 318 | * <!-- begin-user-doc --> |
319 | return allPackageEntry; | 319 | * <!-- end-user-doc --> |
320 | } | 320 | * @generated |
321 | 321 | */ | |
322 | /** | 322 | @Override |
323 | * <!-- begin-user-doc --> | 323 | public MetamodelSpecification createMetamodelSpecification() |
324 | * <!-- end-user-doc --> | 324 | { |
325 | * @generated | 325 | MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl(); |
326 | */ | 326 | return metamodelSpecification; |
327 | public MetamodelElement createMetamodelElement() | 327 | } |
328 | { | 328 | |
329 | MetamodelElementImpl metamodelElement = new MetamodelElementImpl(); | 329 | /** |
330 | return metamodelElement; | 330 | * <!-- begin-user-doc --> |
331 | } | 331 | * <!-- end-user-doc --> |
332 | 332 | * @generated | |
333 | /** | 333 | */ |
334 | * <!-- begin-user-doc --> | 334 | @Override |
335 | * <!-- end-user-doc --> | 335 | public MetamodelEntry createMetamodelEntry() |
336 | * @generated | 336 | { |
337 | */ | 337 | MetamodelEntryImpl metamodelEntry = new MetamodelEntryImpl(); |
338 | public MetamodelDeclaration createMetamodelDeclaration() | 338 | return metamodelEntry; |
339 | { | 339 | } |
340 | MetamodelDeclarationImpl metamodelDeclaration = new MetamodelDeclarationImpl(); | 340 | |
341 | return metamodelDeclaration; | 341 | /** |
342 | } | 342 | * <!-- begin-user-doc --> |
343 | 343 | * <!-- end-user-doc --> | |
344 | /** | 344 | * @generated |
345 | * <!-- begin-user-doc --> | 345 | */ |
346 | * <!-- end-user-doc --> | 346 | @Override |
347 | * @generated | 347 | public AllPackageEntry createAllPackageEntry() |
348 | */ | 348 | { |
349 | public MetamodelReference createMetamodelReference() | 349 | AllPackageEntryImpl allPackageEntry = new AllPackageEntryImpl(); |
350 | { | 350 | return allPackageEntry; |
351 | MetamodelReferenceImpl metamodelReference = new MetamodelReferenceImpl(); | 351 | } |
352 | return metamodelReference; | 352 | |
353 | } | 353 | /** |
354 | 354 | * <!-- begin-user-doc --> | |
355 | /** | 355 | * <!-- end-user-doc --> |
356 | * <!-- begin-user-doc --> | 356 | * @generated |
357 | * <!-- end-user-doc --> | 357 | */ |
358 | * @generated | 358 | @Override |
359 | */ | 359 | public MetamodelElement createMetamodelElement() |
360 | public Metamodel createMetamodel() | 360 | { |
361 | { | 361 | MetamodelElementImpl metamodelElement = new MetamodelElementImpl(); |
362 | MetamodelImpl metamodel = new MetamodelImpl(); | 362 | return metamodelElement; |
363 | return metamodel; | 363 | } |
364 | } | 364 | |
365 | 365 | /** | |
366 | /** | 366 | * <!-- begin-user-doc --> |
367 | * <!-- begin-user-doc --> | 367 | * <!-- end-user-doc --> |
368 | * <!-- end-user-doc --> | 368 | * @generated |
369 | * @generated | 369 | */ |
370 | */ | 370 | @Override |
371 | public PartialModelSpecification createPartialModelSpecification() | 371 | public MetamodelDeclaration createMetamodelDeclaration() |
372 | { | 372 | { |
373 | PartialModelSpecificationImpl partialModelSpecification = new PartialModelSpecificationImpl(); | 373 | MetamodelDeclarationImpl metamodelDeclaration = new MetamodelDeclarationImpl(); |
374 | return partialModelSpecification; | 374 | return metamodelDeclaration; |
375 | } | 375 | } |
376 | 376 | ||
377 | /** | 377 | /** |
378 | * <!-- begin-user-doc --> | 378 | * <!-- begin-user-doc --> |
379 | * <!-- end-user-doc --> | 379 | * <!-- end-user-doc --> |
380 | * @generated | 380 | * @generated |
381 | */ | 381 | */ |
382 | public PartialModelEntry createPartialModelEntry() | 382 | @Override |
383 | { | 383 | public MetamodelReference createMetamodelReference() |
384 | PartialModelEntryImpl partialModelEntry = new PartialModelEntryImpl(); | 384 | { |
385 | return partialModelEntry; | 385 | MetamodelReferenceImpl metamodelReference = new MetamodelReferenceImpl(); |
386 | } | 386 | return metamodelReference; |
387 | 387 | } | |
388 | /** | 388 | |
389 | * <!-- begin-user-doc --> | 389 | /** |
390 | * <!-- end-user-doc --> | 390 | * <!-- begin-user-doc --> |
391 | * @generated | 391 | * <!-- end-user-doc --> |
392 | */ | 392 | * @generated |
393 | public ModelEntry createModelEntry() | 393 | */ |
394 | { | 394 | @Override |
395 | ModelEntryImpl modelEntry = new ModelEntryImpl(); | 395 | public Metamodel createMetamodel() |
396 | return modelEntry; | 396 | { |
397 | } | 397 | MetamodelImpl metamodel = new MetamodelImpl(); |
398 | 398 | return metamodel; | |
399 | /** | 399 | } |
400 | * <!-- begin-user-doc --> | 400 | |
401 | * <!-- end-user-doc --> | 401 | /** |
402 | * @generated | 402 | * <!-- begin-user-doc --> |
403 | */ | 403 | * <!-- end-user-doc --> |
404 | public FolderEntry createFolderEntry() | 404 | * @generated |
405 | { | 405 | */ |
406 | FolderEntryImpl folderEntry = new FolderEntryImpl(); | 406 | @Override |
407 | return folderEntry; | 407 | public PartialModelSpecification createPartialModelSpecification() |
408 | } | 408 | { |
409 | 409 | PartialModelSpecificationImpl partialModelSpecification = new PartialModelSpecificationImpl(); | |
410 | /** | 410 | return partialModelSpecification; |
411 | * <!-- begin-user-doc --> | 411 | } |
412 | * <!-- end-user-doc --> | 412 | |
413 | * @generated | 413 | /** |
414 | */ | 414 | * <!-- begin-user-doc --> |
415 | public PartialModelDeclaration createPartialModelDeclaration() | 415 | * <!-- end-user-doc --> |
416 | { | 416 | * @generated |
417 | PartialModelDeclarationImpl partialModelDeclaration = new PartialModelDeclarationImpl(); | 417 | */ |
418 | return partialModelDeclaration; | 418 | @Override |
419 | } | 419 | public PartialModelEntry createPartialModelEntry() |
420 | 420 | { | |
421 | /** | 421 | PartialModelEntryImpl partialModelEntry = new PartialModelEntryImpl(); |
422 | * <!-- begin-user-doc --> | 422 | return partialModelEntry; |
423 | * <!-- end-user-doc --> | 423 | } |
424 | * @generated | 424 | |
425 | */ | 425 | /** |
426 | public PartialModelReference createPartialModelReference() | 426 | * <!-- begin-user-doc --> |
427 | { | 427 | * <!-- end-user-doc --> |
428 | PartialModelReferenceImpl partialModelReference = new PartialModelReferenceImpl(); | 428 | * @generated |
429 | return partialModelReference; | 429 | */ |
430 | } | 430 | @Override |
431 | 431 | public ModelEntry createModelEntry() | |
432 | /** | 432 | { |
433 | * <!-- begin-user-doc --> | 433 | ModelEntryImpl modelEntry = new ModelEntryImpl(); |
434 | * <!-- end-user-doc --> | 434 | return modelEntry; |
435 | * @generated | 435 | } |
436 | */ | 436 | |
437 | public PartialModel createPartialModel() | 437 | /** |
438 | { | 438 | * <!-- begin-user-doc --> |
439 | PartialModelImpl partialModel = new PartialModelImpl(); | 439 | * <!-- end-user-doc --> |
440 | return partialModel; | 440 | * @generated |
441 | } | 441 | */ |
442 | 442 | @Override | |
443 | /** | 443 | public FolderEntry createFolderEntry() |
444 | * <!-- begin-user-doc --> | 444 | { |
445 | * <!-- end-user-doc --> | 445 | FolderEntryImpl folderEntry = new FolderEntryImpl(); |
446 | * @generated | 446 | return folderEntry; |
447 | */ | 447 | } |
448 | public PatternSpecification createPatternSpecification() | 448 | |
449 | { | 449 | /** |
450 | PatternSpecificationImpl patternSpecification = new PatternSpecificationImpl(); | 450 | * <!-- begin-user-doc --> |
451 | return patternSpecification; | 451 | * <!-- end-user-doc --> |
452 | } | 452 | * @generated |
453 | 453 | */ | |
454 | /** | 454 | @Override |
455 | * <!-- begin-user-doc --> | 455 | public PartialModelDeclaration createPartialModelDeclaration() |
456 | * <!-- end-user-doc --> | 456 | { |
457 | * @generated | 457 | PartialModelDeclarationImpl partialModelDeclaration = new PartialModelDeclarationImpl(); |
458 | */ | 458 | return partialModelDeclaration; |
459 | public PatternEntry createPatternEntry() | 459 | } |
460 | { | 460 | |
461 | PatternEntryImpl patternEntry = new PatternEntryImpl(); | 461 | /** |
462 | return patternEntry; | 462 | * <!-- begin-user-doc --> |
463 | } | 463 | * <!-- end-user-doc --> |
464 | 464 | * @generated | |
465 | /** | 465 | */ |
466 | * <!-- begin-user-doc --> | 466 | @Override |
467 | * <!-- end-user-doc --> | 467 | public PartialModelReference createPartialModelReference() |
468 | * @generated | 468 | { |
469 | */ | 469 | PartialModelReferenceImpl partialModelReference = new PartialModelReferenceImpl(); |
470 | public AllPatternEntry createAllPatternEntry() | 470 | return partialModelReference; |
471 | { | 471 | } |
472 | AllPatternEntryImpl allPatternEntry = new AllPatternEntryImpl(); | 472 | |
473 | return allPatternEntry; | 473 | /** |
474 | } | 474 | * <!-- begin-user-doc --> |
475 | 475 | * <!-- end-user-doc --> | |
476 | /** | 476 | * @generated |
477 | * <!-- begin-user-doc --> | 477 | */ |
478 | * <!-- end-user-doc --> | 478 | @Override |
479 | * @generated | 479 | public PartialModel createPartialModel() |
480 | */ | 480 | { |
481 | public PatternElement createPatternElement() | 481 | PartialModelImpl partialModel = new PartialModelImpl(); |
482 | { | 482 | return partialModel; |
483 | PatternElementImpl patternElement = new PatternElementImpl(); | 483 | } |
484 | return patternElement; | 484 | |
485 | } | 485 | /** |
486 | 486 | * <!-- begin-user-doc --> | |
487 | /** | 487 | * <!-- end-user-doc --> |
488 | * <!-- begin-user-doc --> | 488 | * @generated |
489 | * <!-- end-user-doc --> | 489 | */ |
490 | * @generated | 490 | @Override |
491 | */ | 491 | public PatternSpecification createPatternSpecification() |
492 | public GraphPatternDeclaration createGraphPatternDeclaration() | 492 | { |
493 | { | 493 | PatternSpecificationImpl patternSpecification = new PatternSpecificationImpl(); |
494 | GraphPatternDeclarationImpl graphPatternDeclaration = new GraphPatternDeclarationImpl(); | 494 | return patternSpecification; |
495 | return graphPatternDeclaration; | 495 | } |
496 | } | 496 | |
497 | 497 | /** | |
498 | /** | 498 | * <!-- begin-user-doc --> |
499 | * <!-- begin-user-doc --> | 499 | * <!-- end-user-doc --> |
500 | * <!-- end-user-doc --> | 500 | * @generated |
501 | * @generated | 501 | */ |
502 | */ | 502 | @Override |
503 | public GraphPatternReference createGraphPatternReference() | 503 | public PatternEntry createPatternEntry() |
504 | { | 504 | { |
505 | GraphPatternReferenceImpl graphPatternReference = new GraphPatternReferenceImpl(); | 505 | PatternEntryImpl patternEntry = new PatternEntryImpl(); |
506 | return graphPatternReference; | 506 | return patternEntry; |
507 | } | 507 | } |
508 | 508 | ||
509 | /** | 509 | /** |
510 | * <!-- begin-user-doc --> | 510 | * <!-- begin-user-doc --> |
511 | * <!-- end-user-doc --> | 511 | * <!-- end-user-doc --> |
512 | * @generated | 512 | * @generated |
513 | */ | 513 | */ |
514 | public GraphPattern createGraphPattern() | 514 | @Override |
515 | { | 515 | public AllPatternEntry createAllPatternEntry() |
516 | GraphPatternImpl graphPattern = new GraphPatternImpl(); | 516 | { |
517 | return graphPattern; | 517 | AllPatternEntryImpl allPatternEntry = new AllPatternEntryImpl(); |
518 | } | 518 | return allPatternEntry; |
519 | 519 | } | |
520 | /** | 520 | |
521 | * <!-- begin-user-doc --> | 521 | /** |
522 | * <!-- end-user-doc --> | 522 | * <!-- begin-user-doc --> |
523 | * @generated | 523 | * <!-- end-user-doc --> |
524 | */ | 524 | * @generated |
525 | public ConfigSpecification createConfigSpecification() | 525 | */ |
526 | { | 526 | @Override |
527 | ConfigSpecificationImpl configSpecification = new ConfigSpecificationImpl(); | 527 | public PatternElement createPatternElement() |
528 | return configSpecification; | 528 | { |
529 | } | 529 | PatternElementImpl patternElement = new PatternElementImpl(); |
530 | 530 | return patternElement; | |
531 | /** | 531 | } |
532 | * <!-- begin-user-doc --> | 532 | |
533 | * <!-- end-user-doc --> | 533 | /** |
534 | * @generated | 534 | * <!-- begin-user-doc --> |
535 | */ | 535 | * <!-- end-user-doc --> |
536 | public ConfigDeclaration createConfigDeclaration() | 536 | * @generated |
537 | { | 537 | */ |
538 | ConfigDeclarationImpl configDeclaration = new ConfigDeclarationImpl(); | 538 | @Override |
539 | return configDeclaration; | 539 | public GraphPatternDeclaration createGraphPatternDeclaration() |
540 | } | 540 | { |
541 | 541 | GraphPatternDeclarationImpl graphPatternDeclaration = new GraphPatternDeclarationImpl(); | |
542 | /** | 542 | return graphPatternDeclaration; |
543 | * <!-- begin-user-doc --> | 543 | } |
544 | * <!-- end-user-doc --> | 544 | |
545 | * @generated | 545 | /** |
546 | */ | 546 | * <!-- begin-user-doc --> |
547 | public ConfigEntry createConfigEntry() | 547 | * <!-- end-user-doc --> |
548 | { | 548 | * @generated |
549 | ConfigEntryImpl configEntry = new ConfigEntryImpl(); | 549 | */ |
550 | return configEntry; | 550 | @Override |
551 | } | 551 | public GraphPatternReference createGraphPatternReference() |
552 | 552 | { | |
553 | /** | 553 | GraphPatternReferenceImpl graphPatternReference = new GraphPatternReferenceImpl(); |
554 | * <!-- begin-user-doc --> | 554 | return graphPatternReference; |
555 | * <!-- end-user-doc --> | 555 | } |
556 | * @generated | 556 | |
557 | */ | 557 | /** |
558 | public DocumentationEntry createDocumentationEntry() | 558 | * <!-- begin-user-doc --> |
559 | { | 559 | * <!-- end-user-doc --> |
560 | DocumentationEntryImpl documentationEntry = new DocumentationEntryImpl(); | 560 | * @generated |
561 | return documentationEntry; | 561 | */ |
562 | } | 562 | @Override |
563 | 563 | public GraphPattern createGraphPattern() | |
564 | /** | 564 | { |
565 | * <!-- begin-user-doc --> | 565 | GraphPatternImpl graphPattern = new GraphPatternImpl(); |
566 | * <!-- end-user-doc --> | 566 | return graphPattern; |
567 | * @generated | 567 | } |
568 | */ | 568 | |
569 | public RuntimeEntry createRuntimeEntry() | 569 | /** |
570 | { | 570 | * <!-- begin-user-doc --> |
571 | RuntimeEntryImpl runtimeEntry = new RuntimeEntryImpl(); | 571 | * <!-- end-user-doc --> |
572 | return runtimeEntry; | 572 | * @generated |
573 | } | 573 | */ |
574 | 574 | @Override | |
575 | /** | 575 | public ObjectiveSpecification createObjectiveSpecification() |
576 | * <!-- begin-user-doc --> | 576 | { |
577 | * <!-- end-user-doc --> | 577 | ObjectiveSpecificationImpl objectiveSpecification = new ObjectiveSpecificationImpl(); |
578 | * @generated | 578 | return objectiveSpecification; |
579 | */ | 579 | } |
580 | public MemoryEntry createMemoryEntry() | 580 | |
581 | { | 581 | /** |
582 | MemoryEntryImpl memoryEntry = new MemoryEntryImpl(); | 582 | * <!-- begin-user-doc --> |
583 | return memoryEntry; | 583 | * <!-- end-user-doc --> |
584 | } | 584 | * @generated |
585 | 585 | */ | |
586 | /** | 586 | @Override |
587 | * <!-- begin-user-doc --> | 587 | public ObjectiveEntry createObjectiveEntry() |
588 | * <!-- end-user-doc --> | 588 | { |
589 | * @generated | 589 | ObjectiveEntryImpl objectiveEntry = new ObjectiveEntryImpl(); |
590 | */ | 590 | return objectiveEntry; |
591 | public CustomEntry createCustomEntry() | 591 | } |
592 | { | 592 | |
593 | CustomEntryImpl customEntry = new CustomEntryImpl(); | 593 | /** |
594 | return customEntry; | 594 | * <!-- begin-user-doc --> |
595 | } | 595 | * <!-- end-user-doc --> |
596 | 596 | * @generated | |
597 | /** | 597 | */ |
598 | * <!-- begin-user-doc --> | 598 | @Override |
599 | * <!-- end-user-doc --> | 599 | public OptimizationEntry createOptimizationEntry() |
600 | * @generated | 600 | { |
601 | */ | 601 | OptimizationEntryImpl optimizationEntry = new OptimizationEntryImpl(); |
602 | public ConfigReference createConfigReference() | 602 | return optimizationEntry; |
603 | { | 603 | } |
604 | ConfigReferenceImpl configReference = new ConfigReferenceImpl(); | 604 | |
605 | return configReference; | 605 | /** |
606 | } | 606 | * <!-- begin-user-doc --> |
607 | 607 | * <!-- end-user-doc --> | |
608 | /** | 608 | * @generated |
609 | * <!-- begin-user-doc --> | 609 | */ |
610 | * <!-- end-user-doc --> | 610 | @Override |
611 | * @generated | 611 | public ThresholdEntry createThresholdEntry() |
612 | */ | 612 | { |
613 | public Config createConfig() | 613 | ThresholdEntryImpl thresholdEntry = new ThresholdEntryImpl(); |
614 | { | 614 | return thresholdEntry; |
615 | ConfigImpl config = new ConfigImpl(); | 615 | } |
616 | return config; | 616 | |
617 | } | 617 | /** |
618 | 618 | * <!-- begin-user-doc --> | |
619 | /** | 619 | * <!-- end-user-doc --> |
620 | * <!-- begin-user-doc --> | 620 | * @generated |
621 | * <!-- end-user-doc --> | 621 | */ |
622 | * @generated | 622 | @Override |
623 | */ | 623 | public ObjectiveFunction createObjectiveFunction() |
624 | public ScopeSpecification createScopeSpecification() | 624 | { |
625 | { | 625 | ObjectiveFunctionImpl objectiveFunction = new ObjectiveFunctionImpl(); |
626 | ScopeSpecificationImpl scopeSpecification = new ScopeSpecificationImpl(); | 626 | return objectiveFunction; |
627 | return scopeSpecification; | 627 | } |
628 | } | 628 | |
629 | 629 | /** | |
630 | /** | 630 | * <!-- begin-user-doc --> |
631 | * <!-- begin-user-doc --> | 631 | * <!-- end-user-doc --> |
632 | * <!-- end-user-doc --> | 632 | * @generated |
633 | * @generated | 633 | */ |
634 | */ | 634 | @Override |
635 | public TypeScope createTypeScope() | 635 | public CostObjectiveFunction createCostObjectiveFunction() |
636 | { | 636 | { |
637 | TypeScopeImpl typeScope = new TypeScopeImpl(); | 637 | CostObjectiveFunctionImpl costObjectiveFunction = new CostObjectiveFunctionImpl(); |
638 | return typeScope; | 638 | return costObjectiveFunction; |
639 | } | 639 | } |
640 | 640 | ||
641 | /** | 641 | /** |
642 | * <!-- begin-user-doc --> | 642 | * <!-- begin-user-doc --> |
643 | * <!-- end-user-doc --> | 643 | * <!-- end-user-doc --> |
644 | * @generated | 644 | * @generated |
645 | */ | 645 | */ |
646 | public ClassTypeScope createClassTypeScope() | 646 | @Override |
647 | { | 647 | public CostEntry createCostEntry() |
648 | ClassTypeScopeImpl classTypeScope = new ClassTypeScopeImpl(); | 648 | { |
649 | return classTypeScope; | 649 | CostEntryImpl costEntry = new CostEntryImpl(); |
650 | } | 650 | return costEntry; |
651 | 651 | } | |
652 | /** | 652 | |
653 | * <!-- begin-user-doc --> | 653 | /** |
654 | * <!-- end-user-doc --> | 654 | * <!-- begin-user-doc --> |
655 | * @generated | 655 | * <!-- end-user-doc --> |
656 | */ | 656 | * @generated |
657 | public ObjectTypeScope createObjectTypeScope() | 657 | */ |
658 | { | 658 | @Override |
659 | ObjectTypeScopeImpl objectTypeScope = new ObjectTypeScopeImpl(); | 659 | public ObjectiveDeclaration createObjectiveDeclaration() |
660 | return objectTypeScope; | 660 | { |
661 | } | 661 | ObjectiveDeclarationImpl objectiveDeclaration = new ObjectiveDeclarationImpl(); |
662 | 662 | return objectiveDeclaration; | |
663 | /** | 663 | } |
664 | * <!-- begin-user-doc --> | 664 | |
665 | * <!-- end-user-doc --> | 665 | /** |
666 | * @generated | 666 | * <!-- begin-user-doc --> |
667 | */ | 667 | * <!-- end-user-doc --> |
668 | public IntegerTypeScope createIntegerTypeScope() | 668 | * @generated |
669 | { | 669 | */ |
670 | IntegerTypeScopeImpl integerTypeScope = new IntegerTypeScopeImpl(); | 670 | @Override |
671 | return integerTypeScope; | 671 | public ObjectiveReference createObjectiveReference() |
672 | } | 672 | { |
673 | 673 | ObjectiveReferenceImpl objectiveReference = new ObjectiveReferenceImpl(); | |
674 | /** | 674 | return objectiveReference; |
675 | * <!-- begin-user-doc --> | 675 | } |
676 | * <!-- end-user-doc --> | 676 | |
677 | * @generated | 677 | /** |
678 | */ | 678 | * <!-- begin-user-doc --> |
679 | public RealTypeScope createRealTypeScope() | 679 | * <!-- end-user-doc --> |
680 | { | 680 | * @generated |
681 | RealTypeScopeImpl realTypeScope = new RealTypeScopeImpl(); | 681 | */ |
682 | return realTypeScope; | 682 | @Override |
683 | } | 683 | public Objective createObjective() |
684 | 684 | { | |
685 | /** | 685 | ObjectiveImpl objective = new ObjectiveImpl(); |
686 | * <!-- begin-user-doc --> | 686 | return objective; |
687 | * <!-- end-user-doc --> | 687 | } |
688 | * @generated | 688 | |
689 | */ | 689 | /** |
690 | public StringTypeScope createStringTypeScope() | 690 | * <!-- begin-user-doc --> |
691 | { | 691 | * <!-- end-user-doc --> |
692 | StringTypeScopeImpl stringTypeScope = new StringTypeScopeImpl(); | 692 | * @generated |
693 | return stringTypeScope; | 693 | */ |
694 | } | 694 | @Override |
695 | 695 | public ConfigSpecification createConfigSpecification() | |
696 | /** | 696 | { |
697 | * <!-- begin-user-doc --> | 697 | ConfigSpecificationImpl configSpecification = new ConfigSpecificationImpl(); |
698 | * <!-- end-user-doc --> | 698 | return configSpecification; |
699 | * @generated | 699 | } |
700 | */ | 700 | |
701 | public TypeReference createTypeReference() | 701 | /** |
702 | { | 702 | * <!-- begin-user-doc --> |
703 | TypeReferenceImpl typeReference = new TypeReferenceImpl(); | 703 | * <!-- end-user-doc --> |
704 | return typeReference; | 704 | * @generated |
705 | } | 705 | */ |
706 | 706 | @Override | |
707 | /** | 707 | public ConfigDeclaration createConfigDeclaration() |
708 | * <!-- begin-user-doc --> | 708 | { |
709 | * <!-- end-user-doc --> | 709 | ConfigDeclarationImpl configDeclaration = new ConfigDeclarationImpl(); |
710 | * @generated | 710 | return configDeclaration; |
711 | */ | 711 | } |
712 | public ClassReference createClassReference() | 712 | |
713 | { | 713 | /** |
714 | ClassReferenceImpl classReference = new ClassReferenceImpl(); | 714 | * <!-- begin-user-doc --> |
715 | return classReference; | 715 | * <!-- end-user-doc --> |
716 | } | 716 | * @generated |
717 | 717 | */ | |
718 | /** | 718 | @Override |
719 | * <!-- begin-user-doc --> | 719 | public ConfigEntry createConfigEntry() |
720 | * <!-- end-user-doc --> | 720 | { |
721 | * @generated | 721 | ConfigEntryImpl configEntry = new ConfigEntryImpl(); |
722 | */ | 722 | return configEntry; |
723 | public ObjectReference createObjectReference() | 723 | } |
724 | { | 724 | |
725 | ObjectReferenceImpl objectReference = new ObjectReferenceImpl(); | 725 | /** |
726 | return objectReference; | 726 | * <!-- begin-user-doc --> |
727 | } | 727 | * <!-- end-user-doc --> |
728 | 728 | * @generated | |
729 | /** | 729 | */ |
730 | * <!-- begin-user-doc --> | 730 | @Override |
731 | * <!-- end-user-doc --> | 731 | public DocumentationEntry createDocumentationEntry() |
732 | * @generated | 732 | { |
733 | */ | 733 | DocumentationEntryImpl documentationEntry = new DocumentationEntryImpl(); |
734 | public IntegerReference createIntegerReference() | 734 | return documentationEntry; |
735 | { | 735 | } |
736 | IntegerReferenceImpl integerReference = new IntegerReferenceImpl(); | 736 | |
737 | return integerReference; | 737 | /** |
738 | } | 738 | * <!-- begin-user-doc --> |
739 | 739 | * <!-- end-user-doc --> | |
740 | /** | 740 | * @generated |
741 | * <!-- begin-user-doc --> | 741 | */ |
742 | * <!-- end-user-doc --> | 742 | @Override |
743 | * @generated | 743 | public RuntimeEntry createRuntimeEntry() |
744 | */ | 744 | { |
745 | public RealReference createRealReference() | 745 | RuntimeEntryImpl runtimeEntry = new RuntimeEntryImpl(); |
746 | { | 746 | return runtimeEntry; |
747 | RealReferenceImpl realReference = new RealReferenceImpl(); | 747 | } |
748 | return realReference; | 748 | |
749 | } | 749 | /** |
750 | 750 | * <!-- begin-user-doc --> | |
751 | /** | 751 | * <!-- end-user-doc --> |
752 | * <!-- begin-user-doc --> | 752 | * @generated |
753 | * <!-- end-user-doc --> | 753 | */ |
754 | * @generated | 754 | @Override |
755 | */ | 755 | public MemoryEntry createMemoryEntry() |
756 | public StringReference createStringReference() | 756 | { |
757 | { | 757 | MemoryEntryImpl memoryEntry = new MemoryEntryImpl(); |
758 | StringReferenceImpl stringReference = new StringReferenceImpl(); | 758 | return memoryEntry; |
759 | return stringReference; | 759 | } |
760 | } | 760 | |
761 | 761 | /** | |
762 | /** | 762 | * <!-- begin-user-doc --> |
763 | * <!-- begin-user-doc --> | 763 | * <!-- end-user-doc --> |
764 | * <!-- end-user-doc --> | 764 | * @generated |
765 | * @generated | 765 | */ |
766 | */ | 766 | @Override |
767 | public NumberSpecification createNumberSpecification() | 767 | public CustomEntry createCustomEntry() |
768 | { | 768 | { |
769 | NumberSpecificationImpl numberSpecification = new NumberSpecificationImpl(); | 769 | CustomEntryImpl customEntry = new CustomEntryImpl(); |
770 | return numberSpecification; | 770 | return customEntry; |
771 | } | 771 | } |
772 | 772 | ||
773 | /** | 773 | /** |
774 | * <!-- begin-user-doc --> | 774 | * <!-- begin-user-doc --> |
775 | * <!-- end-user-doc --> | 775 | * <!-- end-user-doc --> |
776 | * @generated | 776 | * @generated |
777 | */ | 777 | */ |
778 | public ExactNumber createExactNumber() | 778 | @Override |
779 | { | 779 | public ConfigReference createConfigReference() |
780 | ExactNumberImpl exactNumber = new ExactNumberImpl(); | 780 | { |
781 | return exactNumber; | 781 | ConfigReferenceImpl configReference = new ConfigReferenceImpl(); |
782 | } | 782 | return configReference; |
783 | 783 | } | |
784 | /** | 784 | |
785 | * <!-- begin-user-doc --> | 785 | /** |
786 | * <!-- end-user-doc --> | 786 | * <!-- begin-user-doc --> |
787 | * @generated | 787 | * <!-- end-user-doc --> |
788 | */ | 788 | * @generated |
789 | public IntervallNumber createIntervallNumber() | 789 | */ |
790 | { | 790 | @Override |
791 | IntervallNumberImpl intervallNumber = new IntervallNumberImpl(); | 791 | public Config createConfig() |
792 | return intervallNumber; | 792 | { |
793 | } | 793 | ConfigImpl config = new ConfigImpl(); |
794 | 794 | return config; | |
795 | /** | 795 | } |
796 | * <!-- begin-user-doc --> | 796 | |
797 | * <!-- end-user-doc --> | 797 | /** |
798 | * @generated | 798 | * <!-- begin-user-doc --> |
799 | */ | 799 | * <!-- end-user-doc --> |
800 | public IntEnumberation createIntEnumberation() | 800 | * @generated |
801 | { | 801 | */ |
802 | IntEnumberationImpl intEnumberation = new IntEnumberationImpl(); | 802 | @Override |
803 | return intEnumberation; | 803 | public ScopeSpecification createScopeSpecification() |
804 | } | 804 | { |
805 | 805 | ScopeSpecificationImpl scopeSpecification = new ScopeSpecificationImpl(); | |
806 | /** | 806 | return scopeSpecification; |
807 | * <!-- begin-user-doc --> | 807 | } |
808 | * <!-- end-user-doc --> | 808 | |
809 | * @generated | 809 | /** |
810 | */ | 810 | * <!-- begin-user-doc --> |
811 | public RealEnumeration createRealEnumeration() | 811 | * <!-- end-user-doc --> |
812 | { | 812 | * @generated |
813 | RealEnumerationImpl realEnumeration = new RealEnumerationImpl(); | 813 | */ |
814 | return realEnumeration; | 814 | @Override |
815 | } | 815 | public TypeScope createTypeScope() |
816 | 816 | { | |
817 | /** | 817 | TypeScopeImpl typeScope = new TypeScopeImpl(); |
818 | * <!-- begin-user-doc --> | 818 | return typeScope; |
819 | * <!-- end-user-doc --> | 819 | } |
820 | * @generated | 820 | |
821 | */ | 821 | /** |
822 | public StringEnumeration createStringEnumeration() | 822 | * <!-- begin-user-doc --> |
823 | { | 823 | * <!-- end-user-doc --> |
824 | StringEnumerationImpl stringEnumeration = new StringEnumerationImpl(); | 824 | * @generated |
825 | return stringEnumeration; | 825 | */ |
826 | } | 826 | @Override |
827 | 827 | public ClassTypeScope createClassTypeScope() | |
828 | /** | 828 | { |
829 | * <!-- begin-user-doc --> | 829 | ClassTypeScopeImpl classTypeScope = new ClassTypeScopeImpl(); |
830 | * <!-- end-user-doc --> | 830 | return classTypeScope; |
831 | * @generated | 831 | } |
832 | */ | 832 | |
833 | public ScopeDeclaration createScopeDeclaration() | 833 | /** |
834 | { | 834 | * <!-- begin-user-doc --> |
835 | ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); | 835 | * <!-- end-user-doc --> |
836 | return scopeDeclaration; | 836 | * @generated |
837 | } | 837 | */ |
838 | 838 | @Override | |
839 | /** | 839 | public ObjectTypeScope createObjectTypeScope() |
840 | * <!-- begin-user-doc --> | 840 | { |
841 | * <!-- end-user-doc --> | 841 | ObjectTypeScopeImpl objectTypeScope = new ObjectTypeScopeImpl(); |
842 | * @generated | 842 | return objectTypeScope; |
843 | */ | 843 | } |
844 | public ScopeReference createScopeReference() | 844 | |
845 | { | 845 | /** |
846 | ScopeReferenceImpl scopeReference = new ScopeReferenceImpl(); | 846 | * <!-- begin-user-doc --> |
847 | return scopeReference; | 847 | * <!-- end-user-doc --> |
848 | } | 848 | * @generated |
849 | 849 | */ | |
850 | /** | 850 | @Override |
851 | * <!-- begin-user-doc --> | 851 | public IntegerTypeScope createIntegerTypeScope() |
852 | * <!-- end-user-doc --> | 852 | { |
853 | * @generated | 853 | IntegerTypeScopeImpl integerTypeScope = new IntegerTypeScopeImpl(); |
854 | */ | 854 | return integerTypeScope; |
855 | public Scope createScope() | 855 | } |
856 | { | 856 | |
857 | ScopeImpl scope = new ScopeImpl(); | 857 | /** |
858 | return scope; | 858 | * <!-- begin-user-doc --> |
859 | } | 859 | * <!-- end-user-doc --> |
860 | 860 | * @generated | |
861 | /** | 861 | */ |
862 | * <!-- begin-user-doc --> | 862 | @Override |
863 | * <!-- end-user-doc --> | 863 | public RealTypeScope createRealTypeScope() |
864 | * @generated | 864 | { |
865 | */ | 865 | RealTypeScopeImpl realTypeScope = new RealTypeScopeImpl(); |
866 | public Task createTask() | 866 | return realTypeScope; |
867 | { | 867 | } |
868 | TaskImpl task = new TaskImpl(); | 868 | |
869 | return task; | 869 | /** |
870 | } | 870 | * <!-- begin-user-doc --> |
871 | 871 | * <!-- end-user-doc --> | |
872 | /** | 872 | * @generated |
873 | * <!-- begin-user-doc --> | 873 | */ |
874 | * <!-- end-user-doc --> | 874 | @Override |
875 | * @generated | 875 | public StringTypeScope createStringTypeScope() |
876 | */ | 876 | { |
877 | public GenerationTask createGenerationTask() | 877 | StringTypeScopeImpl stringTypeScope = new StringTypeScopeImpl(); |
878 | { | 878 | return stringTypeScope; |
879 | GenerationTaskImpl generationTask = new GenerationTaskImpl(); | 879 | } |
880 | return generationTask; | 880 | |
881 | } | 881 | /** |
882 | 882 | * <!-- begin-user-doc --> | |
883 | /** | 883 | * <!-- end-user-doc --> |
884 | * <!-- begin-user-doc --> | 884 | * @generated |
885 | * <!-- end-user-doc --> | 885 | */ |
886 | * @generated | 886 | @Override |
887 | */ | 887 | public TypeReference createTypeReference() |
888 | public IntegerScope createIntegerScope() | 888 | { |
889 | { | 889 | TypeReferenceImpl typeReference = new TypeReferenceImpl(); |
890 | IntegerScopeImpl integerScope = new IntegerScopeImpl(); | 890 | return typeReference; |
891 | return integerScope; | 891 | } |
892 | } | 892 | |
893 | 893 | /** | |
894 | /** | 894 | * <!-- begin-user-doc --> |
895 | * <!-- begin-user-doc --> | 895 | * <!-- end-user-doc --> |
896 | * <!-- end-user-doc --> | 896 | * @generated |
897 | * @generated | 897 | */ |
898 | */ | 898 | @Override |
899 | public RealScope createRealScope() | 899 | public ClassReference createClassReference() |
900 | { | 900 | { |
901 | RealScopeImpl realScope = new RealScopeImpl(); | 901 | ClassReferenceImpl classReference = new ClassReferenceImpl(); |
902 | return realScope; | 902 | return classReference; |
903 | } | 903 | } |
904 | 904 | ||
905 | /** | 905 | /** |
906 | * <!-- begin-user-doc --> | 906 | * <!-- begin-user-doc --> |
907 | * <!-- end-user-doc --> | 907 | * <!-- end-user-doc --> |
908 | * @generated | 908 | * @generated |
909 | */ | 909 | */ |
910 | public StringScope createStringScope() | 910 | @Override |
911 | { | 911 | public ObjectReference createObjectReference() |
912 | StringScopeImpl stringScope = new StringScopeImpl(); | 912 | { |
913 | return stringScope; | 913 | ObjectReferenceImpl objectReference = new ObjectReferenceImpl(); |
914 | } | 914 | return objectReference; |
915 | 915 | } | |
916 | /** | 916 | |
917 | * <!-- begin-user-doc --> | 917 | /** |
918 | * <!-- end-user-doc --> | 918 | * <!-- begin-user-doc --> |
919 | * @generated | 919 | * <!-- end-user-doc --> |
920 | */ | 920 | * @generated |
921 | public DocumentLevelSpecification createDocumentLevelSpecificationFromString(EDataType eDataType, String initialValue) | 921 | */ |
922 | { | 922 | @Override |
923 | DocumentLevelSpecification result = DocumentLevelSpecification.get(initialValue); | 923 | public IntegerReference createIntegerReference() |
924 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | 924 | { |
925 | return result; | 925 | IntegerReferenceImpl integerReference = new IntegerReferenceImpl(); |
926 | } | 926 | return integerReference; |
927 | 927 | } | |
928 | /** | 928 | |
929 | * <!-- begin-user-doc --> | 929 | /** |
930 | * <!-- end-user-doc --> | 930 | * <!-- begin-user-doc --> |
931 | * @generated | 931 | * <!-- end-user-doc --> |
932 | */ | 932 | * @generated |
933 | public String convertDocumentLevelSpecificationToString(EDataType eDataType, Object instanceValue) | 933 | */ |
934 | { | 934 | @Override |
935 | return instanceValue == null ? null : instanceValue.toString(); | 935 | public RealReference createRealReference() |
936 | } | 936 | { |
937 | 937 | RealReferenceImpl realReference = new RealReferenceImpl(); | |
938 | /** | 938 | return realReference; |
939 | * <!-- begin-user-doc --> | 939 | } |
940 | * <!-- end-user-doc --> | 940 | |
941 | * @generated | 941 | /** |
942 | */ | 942 | * <!-- begin-user-doc --> |
943 | public Solver createSolverFromString(EDataType eDataType, String initialValue) | 943 | * <!-- end-user-doc --> |
944 | { | 944 | * @generated |
945 | Solver result = Solver.get(initialValue); | 945 | */ |
946 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | 946 | @Override |
947 | return result; | 947 | public StringReference createStringReference() |
948 | } | 948 | { |
949 | 949 | StringReferenceImpl stringReference = new StringReferenceImpl(); | |
950 | /** | 950 | return stringReference; |
951 | * <!-- begin-user-doc --> | 951 | } |
952 | * <!-- end-user-doc --> | 952 | |
953 | * @generated | 953 | /** |
954 | */ | 954 | * <!-- begin-user-doc --> |
955 | public String convertSolverToString(EDataType eDataType, Object instanceValue) | 955 | * <!-- end-user-doc --> |
956 | { | 956 | * @generated |
957 | return instanceValue == null ? null : instanceValue.toString(); | 957 | */ |
958 | } | 958 | @Override |
959 | 959 | public NumberSpecification createNumberSpecification() | |
960 | /** | 960 | { |
961 | * <!-- begin-user-doc --> | 961 | NumberSpecificationImpl numberSpecification = new NumberSpecificationImpl(); |
962 | * <!-- end-user-doc --> | 962 | return numberSpecification; |
963 | * @generated | 963 | } |
964 | */ | 964 | |
965 | public ApplicationConfigurationPackage getApplicationConfigurationPackage() | 965 | /** |
966 | { | 966 | * <!-- begin-user-doc --> |
967 | return (ApplicationConfigurationPackage)getEPackage(); | 967 | * <!-- end-user-doc --> |
968 | } | 968 | * @generated |
969 | 969 | */ | |
970 | /** | 970 | @Override |
971 | * <!-- begin-user-doc --> | 971 | public ExactNumber createExactNumber() |
972 | * <!-- end-user-doc --> | 972 | { |
973 | * @deprecated | 973 | ExactNumberImpl exactNumber = new ExactNumberImpl(); |
974 | * @generated | 974 | return exactNumber; |
975 | */ | 975 | } |
976 | @Deprecated | 976 | |
977 | public static ApplicationConfigurationPackage getPackage() | 977 | /** |
978 | { | 978 | * <!-- begin-user-doc --> |
979 | return ApplicationConfigurationPackage.eINSTANCE; | 979 | * <!-- end-user-doc --> |
980 | } | 980 | * @generated |
981 | 981 | */ | |
982 | } //ApplicationConfigurationFactoryImpl | 982 | @Override |
983 | public IntervallNumber createIntervallNumber() | ||
984 | { | ||
985 | IntervallNumberImpl intervallNumber = new IntervallNumberImpl(); | ||
986 | return intervallNumber; | ||
987 | } | ||
988 | |||
989 | /** | ||
990 | * <!-- begin-user-doc --> | ||
991 | * <!-- end-user-doc --> | ||
992 | * @generated | ||
993 | */ | ||
994 | @Override | ||
995 | public IntEnumberation createIntEnumberation() | ||
996 | { | ||
997 | IntEnumberationImpl intEnumberation = new IntEnumberationImpl(); | ||
998 | return intEnumberation; | ||
999 | } | ||
1000 | |||
1001 | /** | ||
1002 | * <!-- begin-user-doc --> | ||
1003 | * <!-- end-user-doc --> | ||
1004 | * @generated | ||
1005 | */ | ||
1006 | @Override | ||
1007 | public RealEnumeration createRealEnumeration() | ||
1008 | { | ||
1009 | RealEnumerationImpl realEnumeration = new RealEnumerationImpl(); | ||
1010 | return realEnumeration; | ||
1011 | } | ||
1012 | |||
1013 | /** | ||
1014 | * <!-- begin-user-doc --> | ||
1015 | * <!-- end-user-doc --> | ||
1016 | * @generated | ||
1017 | */ | ||
1018 | @Override | ||
1019 | public StringEnumeration createStringEnumeration() | ||
1020 | { | ||
1021 | StringEnumerationImpl stringEnumeration = new StringEnumerationImpl(); | ||
1022 | return stringEnumeration; | ||
1023 | } | ||
1024 | |||
1025 | /** | ||
1026 | * <!-- begin-user-doc --> | ||
1027 | * <!-- end-user-doc --> | ||
1028 | * @generated | ||
1029 | */ | ||
1030 | @Override | ||
1031 | public ScopeDeclaration createScopeDeclaration() | ||
1032 | { | ||
1033 | ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); | ||
1034 | return scopeDeclaration; | ||
1035 | } | ||
1036 | |||
1037 | /** | ||
1038 | * <!-- begin-user-doc --> | ||
1039 | * <!-- end-user-doc --> | ||
1040 | * @generated | ||
1041 | */ | ||
1042 | @Override | ||
1043 | public ScopeReference createScopeReference() | ||
1044 | { | ||
1045 | ScopeReferenceImpl scopeReference = new ScopeReferenceImpl(); | ||
1046 | return scopeReference; | ||
1047 | } | ||
1048 | |||
1049 | /** | ||
1050 | * <!-- begin-user-doc --> | ||
1051 | * <!-- end-user-doc --> | ||
1052 | * @generated | ||
1053 | */ | ||
1054 | @Override | ||
1055 | public Scope createScope() | ||
1056 | { | ||
1057 | ScopeImpl scope = new ScopeImpl(); | ||
1058 | return scope; | ||
1059 | } | ||
1060 | |||
1061 | /** | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @generated | ||
1065 | */ | ||
1066 | @Override | ||
1067 | public Task createTask() | ||
1068 | { | ||
1069 | TaskImpl task = new TaskImpl(); | ||
1070 | return task; | ||
1071 | } | ||
1072 | |||
1073 | /** | ||
1074 | * <!-- begin-user-doc --> | ||
1075 | * <!-- end-user-doc --> | ||
1076 | * @generated | ||
1077 | */ | ||
1078 | @Override | ||
1079 | public GenerationTask createGenerationTask() | ||
1080 | { | ||
1081 | GenerationTaskImpl generationTask = new GenerationTaskImpl(); | ||
1082 | return generationTask; | ||
1083 | } | ||
1084 | |||
1085 | /** | ||
1086 | * <!-- begin-user-doc --> | ||
1087 | * <!-- end-user-doc --> | ||
1088 | * @generated | ||
1089 | */ | ||
1090 | @Override | ||
1091 | public IntegerScope createIntegerScope() | ||
1092 | { | ||
1093 | IntegerScopeImpl integerScope = new IntegerScopeImpl(); | ||
1094 | return integerScope; | ||
1095 | } | ||
1096 | |||
1097 | /** | ||
1098 | * <!-- begin-user-doc --> | ||
1099 | * <!-- end-user-doc --> | ||
1100 | * @generated | ||
1101 | */ | ||
1102 | @Override | ||
1103 | public RealScope createRealScope() | ||
1104 | { | ||
1105 | RealScopeImpl realScope = new RealScopeImpl(); | ||
1106 | return realScope; | ||
1107 | } | ||
1108 | |||
1109 | /** | ||
1110 | * <!-- begin-user-doc --> | ||
1111 | * <!-- end-user-doc --> | ||
1112 | * @generated | ||
1113 | */ | ||
1114 | @Override | ||
1115 | public StringScope createStringScope() | ||
1116 | { | ||
1117 | StringScopeImpl stringScope = new StringScopeImpl(); | ||
1118 | return stringScope; | ||
1119 | } | ||
1120 | |||
1121 | /** | ||
1122 | * <!-- begin-user-doc --> | ||
1123 | * <!-- end-user-doc --> | ||
1124 | * @generated | ||
1125 | */ | ||
1126 | public OptimizationDirection createOptimizationDirectionFromString(EDataType eDataType, String initialValue) | ||
1127 | { | ||
1128 | OptimizationDirection result = OptimizationDirection.get(initialValue); | ||
1129 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
1130 | return result; | ||
1131 | } | ||
1132 | |||
1133 | /** | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * <!-- end-user-doc --> | ||
1136 | * @generated | ||
1137 | */ | ||
1138 | public String convertOptimizationDirectionToString(EDataType eDataType, Object instanceValue) | ||
1139 | { | ||
1140 | return instanceValue == null ? null : instanceValue.toString(); | ||
1141 | } | ||
1142 | |||
1143 | /** | ||
1144 | * <!-- begin-user-doc --> | ||
1145 | * <!-- end-user-doc --> | ||
1146 | * @generated | ||
1147 | */ | ||
1148 | public ComparisonOperator createComparisonOperatorFromString(EDataType eDataType, String initialValue) | ||
1149 | { | ||
1150 | ComparisonOperator result = ComparisonOperator.get(initialValue); | ||
1151 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
1152 | return result; | ||
1153 | } | ||
1154 | |||
1155 | /** | ||
1156 | * <!-- begin-user-doc --> | ||
1157 | * <!-- end-user-doc --> | ||
1158 | * @generated | ||
1159 | */ | ||
1160 | public String convertComparisonOperatorToString(EDataType eDataType, Object instanceValue) | ||
1161 | { | ||
1162 | return instanceValue == null ? null : instanceValue.toString(); | ||
1163 | } | ||
1164 | |||
1165 | /** | ||
1166 | * <!-- begin-user-doc --> | ||
1167 | * <!-- end-user-doc --> | ||
1168 | * @generated | ||
1169 | */ | ||
1170 | public DocumentLevelSpecification createDocumentLevelSpecificationFromString(EDataType eDataType, String initialValue) | ||
1171 | { | ||
1172 | DocumentLevelSpecification result = DocumentLevelSpecification.get(initialValue); | ||
1173 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
1174 | return result; | ||
1175 | } | ||
1176 | |||
1177 | /** | ||
1178 | * <!-- begin-user-doc --> | ||
1179 | * <!-- end-user-doc --> | ||
1180 | * @generated | ||
1181 | */ | ||
1182 | public String convertDocumentLevelSpecificationToString(EDataType eDataType, Object instanceValue) | ||
1183 | { | ||
1184 | return instanceValue == null ? null : instanceValue.toString(); | ||
1185 | } | ||
1186 | |||
1187 | /** | ||
1188 | * <!-- begin-user-doc --> | ||
1189 | * <!-- end-user-doc --> | ||
1190 | * @generated | ||
1191 | */ | ||
1192 | public Solver createSolverFromString(EDataType eDataType, String initialValue) | ||
1193 | { | ||
1194 | Solver result = Solver.get(initialValue); | ||
1195 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
1196 | return result; | ||
1197 | } | ||
1198 | |||
1199 | /** | ||
1200 | * <!-- begin-user-doc --> | ||
1201 | * <!-- end-user-doc --> | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | public String convertSolverToString(EDataType eDataType, Object instanceValue) | ||
1205 | { | ||
1206 | return instanceValue == null ? null : instanceValue.toString(); | ||
1207 | } | ||
1208 | |||
1209 | /** | ||
1210 | * <!-- begin-user-doc --> | ||
1211 | * <!-- end-user-doc --> | ||
1212 | * @generated | ||
1213 | */ | ||
1214 | @Override | ||
1215 | public ApplicationConfigurationPackage getApplicationConfigurationPackage() | ||
1216 | { | ||
1217 | return (ApplicationConfigurationPackage)getEPackage(); | ||
1218 | } | ||
1219 | |||
1220 | /** | ||
1221 | * <!-- begin-user-doc --> | ||
1222 | * <!-- end-user-doc --> | ||
1223 | * @deprecated | ||
1224 | * @generated | ||
1225 | */ | ||
1226 | @Deprecated | ||
1227 | public static ApplicationConfigurationPackage getPackage() | ||
1228 | { | ||
1229 | return ApplicationConfigurationPackage.eINSTANCE; | ||
1230 | } | ||
1231 | |||
1232 | } //ApplicationConfigurationFactoryImpl | ||