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