1 7 package Olj.impl; 8 9 import Olj.*; 10 11 import org.eclipse.emf.ecore.EClass; 12 import org.eclipse.emf.ecore.EDataType; 13 import org.eclipse.emf.ecore.EObject; 14 15 import org.eclipse.emf.ecore.impl.EFactoryImpl; 16 17 import org.eclipse.emf.ecore.xml.type.XMLTypeFactory; 18 import org.eclipse.emf.ecore.xml.type.XMLTypePackage; 19 20 26 public class OljFactoryImpl extends EFactoryImpl implements OljFactory { 27 33 public OljFactoryImpl() { 34 super(); 35 } 36 37 42 public EObject create(EClass eClass) { 43 switch (eClass.getClassifierID()) { 44 case OljPackage.CONSTANT_COLUMNS_TYPE: return createConstantColumnsType(); 45 case OljPackage.CONSTANT_COLUMN_TYPE: return createConstantColumnType(); 46 case OljPackage.COPY_TABLE_TYPE: return createCopyTableType(); 47 case OljPackage.COUNTER_COLUMNS_TYPE: return createCounterColumnsType(); 48 case OljPackage.COUNTER_COLUMN_TYPE: return createCounterColumnType(); 49 case OljPackage.DEFINITION_INCLUDE_TYPE: return createDefinitionIncludeType(); 50 case OljPackage.DOCUMENT_ROOT: return createDocumentRoot(); 51 case OljPackage.ECHO_TYPE: return createEchoType(); 52 case OljPackage.IMPORT_DEFINITION_TYPE: return createImportDefinitionType(); 53 case OljPackage.INCLUDE_TYPE: return createIncludeType(); 54 case OljPackage.JAVA_SCRIPT_TYPE: return createJavaScriptType(); 55 case OljPackage.JDBC_DEFAULT_PARAMETERS_TYPE: return createJdbcDefaultParametersType(); 56 case OljPackage.JDBC_PARAMETERS_TYPE: return createJdbcParametersType(); 57 case OljPackage.JDBC_SOURCE_PARAMETERS_TYPE: return createJdbcSourceParametersType(); 58 case OljPackage.JDBC_SOURCE_PARAMETER_TYPE: return createJdbcSourceParameterType(); 59 case OljPackage.JDBC_SOURCE_TARGET_PARAMETERS_TYPE: return createJdbcSourceTargetParametersType(); 60 case OljPackage.JDBC_TARGET_PARAMETERS_TYPE: return createJdbcTargetParametersType(); 61 case OljPackage.JDBC_TARGET_PARAMETER_TYPE: return createJdbcTargetParameterType(); 62 case OljPackage.LOADER_JOB_TYPE: return createLoaderJobType(); 63 case OljPackage.RELATION_COLUMNS_TYPE: return createRelationColumnsType(); 64 case OljPackage.RELATION_COLUMN_TYPE: return createRelationColumnType(); 65 case OljPackage.RESTART_COUNTER_TYPE: return createRestartCounterType(); 66 case OljPackage.SORT_COLUMNS_TYPE: return createSortColumnsType(); 67 case OljPackage.SORT_COLUMN_TYPE: return createSortColumnType(); 68 case OljPackage.SOURCE_COLUMNS_TYPE: return createSourceColumnsType(); 69 case OljPackage.SOURCE_COLUMN_TYPE: return createSourceColumnType(); 70 case OljPackage.SQL_STMT_TYPE: return createSqlStmtType(); 71 case OljPackage.SQL_TYPE: return createSqlType(); 72 case OljPackage.SUB_COUNTER_COLUMN_TYPE: return createSubCounterColumnType(); 73 case OljPackage.SUB_COUNTER_KEY_COLUMN_TYPE: return createSubCounterKeyColumnType(); 74 case OljPackage.TABLES_TYPE: return createTablesType(); 75 case OljPackage.TABLE_TYPE: return createTableType(); 76 case OljPackage.TARGET_COLUMNS_TYPE: return createTargetColumnsType(); 77 case OljPackage.TARGET_COLUMN_TYPE: return createTargetColumnType(); 78 case OljPackage.TIME_STAMP_COLUMN_TYPE: return createTimeStampColumnType(); 79 case OljPackage.TRANSFORMATIONS_TYPE: return createTransformationsType(); 80 case OljPackage.TRANSFORMATION_TYPE: return createTransformationType(); 81 case OljPackage.USER_ID_COLUMN_TYPE: return createUserIDColumnType(); 82 case OljPackage.VALUE_COLUMNS_TYPE: return createValueColumnsType(); 83 case OljPackage.VALUE_COLUMN_TYPE: return createValueColumnType(); 84 case OljPackage.VARIABLE_COLUMNS_TYPE: return createVariableColumnsType(); 85 case OljPackage.VARIABLE_COLUMN_TYPE: return createVariableColumnType(); 86 case OljPackage.VARIABLES_TYPE: return createVariablesType(); 87 case OljPackage.VARIABLE_TYPE: return createVariableType(); 88 default: 89 throw new IllegalArgumentException ("The class '" + eClass.getName() + "' is not a valid classifier"); 90 } 91 } 92 93 98 public Object createFromString(EDataType eDataType, String initialValue) { 99 switch (eDataType.getClassifierID()) { 100 case OljPackage.AUTO_MAP_COLUMNS_TYPE: { 101 AutoMapColumnsType result = AutoMapColumnsType.get(initialValue); 102 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 103 return result; 104 } 105 case OljPackage.COMMIT_TYPE: { 106 CommitType result = CommitType.get(initialValue); 107 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 108 return result; 109 } 110 case OljPackage.COUNTER_START_VALUE_RESET_TYPE: { 111 CounterStartValueResetType result = CounterStartValueResetType.get(initialValue); 112 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 113 return result; 114 } 115 case OljPackage.DATA_CUT_OFF_TYPE: { 116 DataCutOffType result = DataCutOffType.get(initialValue); 117 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 118 return result; 119 } 120 case OljPackage.DATA_CUT_OFF_TYPE1: { 121 DataCutOffType1 result = DataCutOffType1.get(initialValue); 122 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 123 return result; 124 } 125 case OljPackage.DB_VENDOR_TYPE: { 126 DbVendorType result = DbVendorType.get(initialValue); 127 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 128 return result; 129 } 130 case OljPackage.DB_VENDOR_TYPE1: { 131 DbVendorType1 result = DbVendorType1.get(initialValue); 132 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 133 return result; 134 } 135 case OljPackage.DEFAULT_MODE_TYPE: { 136 DefaultModeType result = DefaultModeType.get(initialValue); 137 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 138 return result; 139 } 140 case OljPackage.FROM_HEX_TYPE: { 141 FromHexType result = FromHexType.get(initialValue); 142 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 143 return result; 144 } 145 case OljPackage.INSERT_TYPE: { 146 InsertType result = InsertType.get(initialValue); 147 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 148 return result; 149 } 150 case OljPackage.LOG_MODE_TYPE: { 151 LogModeType result = LogModeType.get(initialValue); 152 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 153 return result; 154 } 155 case OljPackage.LOG_MODE_TYPE1: { 156 LogModeType1 result = LogModeType1.get(initialValue); 157 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 158 return result; 159 } 160 case OljPackage.LOG_MODE_TYPE2: { 161 LogModeType2 result = LogModeType2.get(initialValue); 162 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 163 return result; 164 } 165 case OljPackage.LOG_MODE_TYPE3: { 166 LogModeType3 result = LogModeType3.get(initialValue); 167 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 168 return result; 169 } 170 case OljPackage.OID_LOGIC_TYPE: { 171 OidLogicType result = OidLogicType.get(initialValue); 172 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 173 return result; 174 } 175 case OljPackage.OID_LOGIC_TYPE1: { 176 OidLogicType1 result = OidLogicType1.get(initialValue); 177 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 178 return result; 179 } 180 case OljPackage.ON_ERROR_CONTINUE_TYPE: { 181 OnErrorContinueType result = OnErrorContinueType.get(initialValue); 182 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 183 return result; 184 } 185 case OljPackage.ON_ERROR_CONTINUE_TYPE1: { 186 OnErrorContinueType1 result = OnErrorContinueType1.get(initialValue); 187 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 188 return result; 189 } 190 case OljPackage.ON_ERROR_CONTINUE_TYPE2: { 191 OnErrorContinueType2 result = OnErrorContinueType2.get(initialValue); 192 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 193 return result; 194 } 195 case OljPackage.RELATION_MODE_TYPE: { 196 RelationModeType result = RelationModeType.get(initialValue); 197 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 198 return result; 199 } 200 case OljPackage.SET_CURSOR_NAME_TYPE: { 201 SetCursorNameType result = SetCursorNameType.get(initialValue); 202 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 203 return result; 204 } 205 case OljPackage.SET_CURSOR_NAME_TYPE1: { 206 SetCursorNameType1 result = SetCursorNameType1.get(initialValue); 207 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 208 return result; 209 } 210 case OljPackage.SET_CURSOR_NAME_TYPE2: { 211 SetCursorNameType2 result = SetCursorNameType2.get(initialValue); 212 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 213 return result; 214 } 215 case OljPackage.SET_FETCH_SIZE_TYPE: { 216 SetFetchSizeType result = SetFetchSizeType.get(initialValue); 217 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 218 return result; 219 } 220 case OljPackage.SET_FETCH_SIZE_TYPE1: { 221 SetFetchSizeType1 result = SetFetchSizeType1.get(initialValue); 222 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 223 return result; 224 } 225 case OljPackage.SET_FETCH_SIZE_TYPE2: { 226 SetFetchSizeType2 result = SetFetchSizeType2.get(initialValue); 227 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 228 return result; 229 } 230 case OljPackage.TABLE_MODE_TYPE: { 231 TableModeType result = TableModeType.get(initialValue); 232 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 233 return result; 234 } 235 case OljPackage.TO_HEX_TYPE: { 236 ToHexType result = ToHexType.get(initialValue); 237 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 238 return result; 239 } 240 case OljPackage.VALUE_MODE_TYPE: { 241 ValueModeType result = ValueModeType.get(initialValue); 242 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 243 return result; 244 } 245 case OljPackage.VALUE_MODE_TYPE1: { 246 ValueModeType1 result = ValueModeType1.get(initialValue); 247 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 248 return result; 249 } 250 case OljPackage.VALUE_MODE_TYPE2: { 251 ValueModeType2 result = ValueModeType2.get(initialValue); 252 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 253 return result; 254 } 255 case OljPackage.VALUE_MODE_TYPE3: { 256 ValueModeType3 result = ValueModeType3.get(initialValue); 257 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 258 return result; 259 } 260 case OljPackage.VALUE_MODE_TYPE4: { 261 ValueModeType4 result = ValueModeType4.get(initialValue); 262 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 263 return result; 264 } 265 case OljPackage.VALUE_MODE_TYPE5: { 266 ValueModeType5 result = ValueModeType5.get(initialValue); 267 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 268 return result; 269 } 270 case OljPackage.VALUE_MODE_TYPE6: { 271 ValueModeType6 result = ValueModeType6.get(initialValue); 272 if (result == null) throw new IllegalArgumentException ("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); 273 return result; 274 } 275 case OljPackage.AUTO_MAP_COLUMNS_TYPE_OBJECT: 276 return createAutoMapColumnsTypeObjectFromString(eDataType, initialValue); 277 case OljPackage.COMMIT_TYPE_OBJECT: 278 return createCommitTypeObjectFromString(eDataType, initialValue); 279 case OljPackage.COUNTER_START_VALUE_RESET_TYPE_OBJECT: 280 return createCounterStartValueResetTypeObjectFromString(eDataType, initialValue); 281 case OljPackage.DATA_CUT_OFF_TYPE_OBJECT: 282 return createDataCutOffTypeObjectFromString(eDataType, initialValue); 283 case OljPackage.DATA_CUT_OFF_TYPE_OBJECT1: 284 return createDataCutOffTypeObject1FromString(eDataType, initialValue); 285 case OljPackage.DB_VENDOR_TYPE_OBJECT: 286 return createDbVendorTypeObjectFromString(eDataType, initialValue); 287 case OljPackage.DB_VENDOR_TYPE_OBJECT1: 288 return createDbVendorTypeObject1FromString(eDataType, initialValue); 289 case OljPackage.DEFAULT_MODE_TYPE_OBJECT: 290 return createDefaultModeTypeObjectFromString(eDataType, initialValue); 291 case OljPackage.FROM_HEX_TYPE_OBJECT: 292 return createFromHexTypeObjectFromString(eDataType, initialValue); 293 case OljPackage.INSERT_TYPE_OBJECT: 294 return createInsertTypeObjectFromString(eDataType, initialValue); 295 case OljPackage.LOG_MODE_TYPE_OBJECT: 296 return createLogModeTypeObjectFromString(eDataType, initialValue); 297 case OljPackage.LOG_MODE_TYPE_OBJECT1: 298 return createLogModeTypeObject1FromString(eDataType, initialValue); 299 case OljPackage.LOG_MODE_TYPE_OBJECT2: 300 return createLogModeTypeObject2FromString(eDataType, initialValue); 301 case OljPackage.LOG_MODE_TYPE_OBJECT3: 302 return createLogModeTypeObject3FromString(eDataType, initialValue); 303 case OljPackage.NAME_TYPE: 304 return createNameTypeFromString(eDataType, initialValue); 305 case OljPackage.NAME_TYPE1: 306 return createNameType1FromString(eDataType, initialValue); 307 case OljPackage.OID_LOGIC_TYPE_OBJECT: 308 return createOidLogicTypeObjectFromString(eDataType, initialValue); 309 case OljPackage.OID_LOGIC_TYPE_OBJECT1: 310 return createOidLogicTypeObject1FromString(eDataType, initialValue); 311 case OljPackage.ON_ERROR_CONTINUE_TYPE_OBJECT: 312 return createOnErrorContinueTypeObjectFromString(eDataType, initialValue); 313 case OljPackage.ON_ERROR_CONTINUE_TYPE_OBJECT1: 314 return createOnErrorContinueTypeObject1FromString(eDataType, initialValue); 315 case OljPackage.ON_ERROR_CONTINUE_TYPE_OBJECT2: 316 return createOnErrorContinueTypeObject2FromString(eDataType, initialValue); 317 case OljPackage.RELATION_MODE_TYPE_OBJECT: 318 return createRelationModeTypeObjectFromString(eDataType, initialValue); 319 case OljPackage.SET_CURSOR_NAME_TYPE_OBJECT: 320 return createSetCursorNameTypeObjectFromString(eDataType, initialValue); 321 case OljPackage.SET_CURSOR_NAME_TYPE_OBJECT1: 322 return createSetCursorNameTypeObject1FromString(eDataType, initialValue); 323 case OljPackage.SET_CURSOR_NAME_TYPE_OBJECT2: 324 return createSetCursorNameTypeObject2FromString(eDataType, initialValue); 325 case OljPackage.SET_FETCH_SIZE_TYPE_OBJECT: 326 return createSetFetchSizeTypeObjectFromString(eDataType, initialValue); 327 case OljPackage.SET_FETCH_SIZE_TYPE_OBJECT1: 328 return createSetFetchSizeTypeObject1FromString(eDataType, initialValue); 329 case OljPackage.SET_FETCH_SIZE_TYPE_OBJECT2: 330 return createSetFetchSizeTypeObject2FromString(eDataType, initialValue); 331 case OljPackage.TABLE_MODE_TYPE_OBJECT: 332 return createTableModeTypeObjectFromString(eDataType, initialValue); 333 case OljPackage.TO_HEX_TYPE_OBJECT: 334 return createToHexTypeObjectFromString(eDataType, initialValue); 335 case OljPackage.VALUE_MODE_TYPE_OBJECT: 336 return createValueModeTypeObjectFromString(eDataType, initialValue); 337 case OljPackage.VALUE_MODE_TYPE_OBJECT1: 338 return createValueModeTypeObject1FromString(eDataType, initialValue); 339 case OljPackage.VALUE_MODE_TYPE_OBJECT2: 340 return createValueModeTypeObject2FromString(eDataType, initialValue); 341 case OljPackage.VALUE_MODE_TYPE_OBJECT3: 342 return createValueModeTypeObject3FromString(eDataType, initialValue); 343 case OljPackage.VALUE_MODE_TYPE_OBJECT4: 344 return createValueModeTypeObject4FromString(eDataType, initialValue); 345 case OljPackage.VALUE_MODE_TYPE_OBJECT5: 346 return createValueModeTypeObject5FromString(eDataType, initialValue); 347 case OljPackage.VALUE_MODE_TYPE_OBJECT6: 348 return createValueModeTypeObject6FromString(eDataType, initialValue); 349 default: 350 throw new IllegalArgumentException ("The datatype '" + eDataType.getName() + "' is not a valid classifier"); 351 } 352 } 353 354 359 public String convertToString(EDataType eDataType, Object instanceValue) { 360 switch (eDataType.getClassifierID()) { 361 case OljPackage.AUTO_MAP_COLUMNS_TYPE: 362 return instanceValue == null ? null : instanceValue.toString(); 363 case OljPackage.COMMIT_TYPE: 364 return instanceValue == null ? null : instanceValue.toString(); 365 case OljPackage.COUNTER_START_VALUE_RESET_TYPE: 366 return instanceValue == null ? null : instanceValue.toString(); 367 case OljPackage.DATA_CUT_OFF_TYPE: 368 return instanceValue == null ? null : instanceValue.toString(); 369 case OljPackage.DATA_CUT_OFF_TYPE1: 370 return instanceValue == null ? null : instanceValue.toString(); 371 case OljPackage.DB_VENDOR_TYPE: 372 return instanceValue == null ? null : instanceValue.toString(); 373 case OljPackage.DB_VENDOR_TYPE1: 374 return instanceValue == null ? null : instanceValue.toString(); 375 case OljPackage.DEFAULT_MODE_TYPE: 376 return instanceValue == null ? null : instanceValue.toString(); 377 case OljPackage.FROM_HEX_TYPE: 378 return instanceValue == null ? null : instanceValue.toString(); 379 case OljPackage.INSERT_TYPE: 380 return instanceValue == null ? null : instanceValue.toString(); 381 case OljPackage.LOG_MODE_TYPE: 382 return instanceValue == null ? null : instanceValue.toString(); 383 case OljPackage.LOG_MODE_TYPE1: 384 return instanceValue == null ? null : instanceValue.toString(); 385 case OljPackage.LOG_MODE_TYPE2: 386 return instanceValue == null ? null : instanceValue.toString(); 387 case OljPackage.LOG_MODE_TYPE3: 388 return instanceValue == null ? null : instanceValue.toString(); 389 case OljPackage.OID_LOGIC_TYPE: 390 return instanceValue == null ? null : instanceValue.toString(); 391 case OljPackage.OID_LOGIC_TYPE1: 392 return instanceValue == null ? null : instanceValue.toString(); 393 case OljPackage.ON_ERROR_CONTINUE_TYPE: 394 return instanceValue == null ? null : instanceValue.toString(); 395 case OljPackage.ON_ERROR_CONTINUE_TYPE1: 396 return instanceValue == null ? null : instanceValue.toString(); 397 case OljPackage.ON_ERROR_CONTINUE_TYPE2: 398 return instanceValue == null ? null : instanceValue.toString(); 399 case OljPackage.RELATION_MODE_TYPE: 400 return instanceValue == null ? null : instanceValue.toString(); 401 case OljPackage.SET_CURSOR_NAME_TYPE: 402 return instanceValue == null ? null : instanceValue.toString(); 403 case OljPackage.SET_CURSOR_NAME_TYPE1: 404 return instanceValue == null ? null : instanceValue.toString(); 405 case OljPackage.SET_CURSOR_NAME_TYPE2: 406 return instanceValue == null ? null : instanceValue.toString(); 407 case OljPackage.SET_FETCH_SIZE_TYPE: 408 return instanceValue == null ? null : instanceValue.toString(); 409 case OljPackage.SET_FETCH_SIZE_TYPE1: 410 return instanceValue == null ? null : instanceValue.toString(); 411 case OljPackage.SET_FETCH_SIZE_TYPE2: 412 return instanceValue == null ? null : instanceValue.toString(); 413 case OljPackage.TABLE_MODE_TYPE: 414 return instanceValue == null ? null : instanceValue.toString(); 415 case OljPackage.TO_HEX_TYPE: 416 return instanceValue == null ? null : instanceValue.toString(); 417 case OljPackage.VALUE_MODE_TYPE: 418 return instanceValue == null ? null : instanceValue.toString(); 419 case OljPackage.VALUE_MODE_TYPE1: 420 return instanceValue == null ? null : instanceValue.toString(); 421 case OljPackage.VALUE_MODE_TYPE2: 422 return instanceValue == null ? null : instanceValue.toString(); 423 case OljPackage.VALUE_MODE_TYPE3: 424 return instanceValue == null ? null : instanceValue.toString(); 425 case OljPackage.VALUE_MODE_TYPE4: 426 return instanceValue == null ? null : instanceValue.toString(); 427 case OljPackage.VALUE_MODE_TYPE5: 428 return instanceValue == null ? null : instanceValue.toString(); 429 case OljPackage.VALUE_MODE_TYPE6: 430 return instanceValue == null ? null : instanceValue.toString(); 431 case OljPackage.AUTO_MAP_COLUMNS_TYPE_OBJECT: 432 return convertAutoMapColumnsTypeObjectToString(eDataType, instanceValue); 433 case OljPackage.COMMIT_TYPE_OBJECT: 434 return convertCommitTypeObjectToString(eDataType, instanceValue); 435 case OljPackage.COUNTER_START_VALUE_RESET_TYPE_OBJECT: 436 return convertCounterStartValueResetTypeObjectToString(eDataType, instanceValue); 437 case OljPackage.DATA_CUT_OFF_TYPE_OBJECT: 438 return convertDataCutOffTypeObjectToString(eDataType, instanceValue); 439 case OljPackage.DATA_CUT_OFF_TYPE_OBJECT1: 440 return convertDataCutOffTypeObject1ToString(eDataType, instanceValue); 441 case OljPackage.DB_VENDOR_TYPE_OBJECT: 442 return convertDbVendorTypeObjectToString(eDataType, instanceValue); 443 case OljPackage.DB_VENDOR_TYPE_OBJECT1: 444 return convertDbVendorTypeObject1ToString(eDataType, instanceValue); 445 case OljPackage.DEFAULT_MODE_TYPE_OBJECT: 446 return convertDefaultModeTypeObjectToString(eDataType, instanceValue); 447 case OljPackage.FROM_HEX_TYPE_OBJECT: 448 return convertFromHexTypeObjectToString(eDataType, instanceValue); 449 case OljPackage.INSERT_TYPE_OBJECT: 450 return convertInsertTypeObjectToString(eDataType, instanceValue); 451 case OljPackage.LOG_MODE_TYPE_OBJECT: 452 return convertLogModeTypeObjectToString(eDataType, instanceValue); 453 case OljPackage.LOG_MODE_TYPE_OBJECT1: 454 return convertLogModeTypeObject1ToString(eDataType, instanceValue); 455 case OljPackage.LOG_MODE_TYPE_OBJECT2: 456 return convertLogModeTypeObject2ToString(eDataType, instanceValue); 457 case OljPackage.LOG_MODE_TYPE_OBJECT3: 458 return convertLogModeTypeObject3ToString(eDataType, instanceValue); 459 case OljPackage.NAME_TYPE: 460 return convertNameTypeToString(eDataType, instanceValue); 461 case OljPackage.NAME_TYPE1: 462 return convertNameType1ToString(eDataType, instanceValue); 463 case OljPackage.OID_LOGIC_TYPE_OBJECT: 464 return convertOidLogicTypeObjectToString(eDataType, instanceValue); 465 case OljPackage.OID_LOGIC_TYPE_OBJECT1: 466 return convertOidLogicTypeObject1ToString(eDataType, instanceValue); 467 case OljPackage.ON_ERROR_CONTINUE_TYPE_OBJECT: 468 return convertOnErrorContinueTypeObjectToString(eDataType, instanceValue); 469 case OljPackage.ON_ERROR_CONTINUE_TYPE_OBJECT1: 470 return convertOnErrorContinueTypeObject1ToString(eDataType, instanceValue); 471 case OljPackage.ON_ERROR_CONTINUE_TYPE_OBJECT2: 472 return convertOnErrorContinueTypeObject2ToString(eDataType, instanceValue); 473 case OljPackage.RELATION_MODE_TYPE_OBJECT: 474 return convertRelationModeTypeObjectToString(eDataType, instanceValue); 475 case OljPackage.SET_CURSOR_NAME_TYPE_OBJECT: 476 return convertSetCursorNameTypeObjectToString(eDataType, instanceValue); 477 case OljPackage.SET_CURSOR_NAME_TYPE_OBJECT1: 478 return convertSetCursorNameTypeObject1ToString(eDataType, instanceValue); 479 case OljPackage.SET_CURSOR_NAME_TYPE_OBJECT2: 480 return convertSetCursorNameTypeObject2ToString(eDataType, instanceValue); 481 case OljPackage.SET_FETCH_SIZE_TYPE_OBJECT: 482 return convertSetFetchSizeTypeObjectToString(eDataType, instanceValue); 483 case OljPackage.SET_FETCH_SIZE_TYPE_OBJECT1: 484 return convertSetFetchSizeTypeObject1ToString(eDataType, instanceValue); 485 case OljPackage.SET_FETCH_SIZE_TYPE_OBJECT2: 486 return convertSetFetchSizeTypeObject2ToString(eDataType, instanceValue); 487 case OljPackage.TABLE_MODE_TYPE_OBJECT: 488 return convertTableModeTypeObjectToString(eDataType, instanceValue); 489 case OljPackage.TO_HEX_TYPE_OBJECT: 490 return convertToHexTypeObjectToString(eDataType, instanceValue); 491 case OljPackage.VALUE_MODE_TYPE_OBJECT: 492 return convertValueModeTypeObjectToString(eDataType, instanceValue); 493 case OljPackage.VALUE_MODE_TYPE_OBJECT1: 494 return convertValueModeTypeObject1ToString(eDataType, instanceValue); 495 case OljPackage.VALUE_MODE_TYPE_OBJECT2: 496 return convertValueModeTypeObject2ToString(eDataType, instanceValue); 497 case OljPackage.VALUE_MODE_TYPE_OBJECT3: 498 return convertValueModeTypeObject3ToString(eDataType, instanceValue); 499 case OljPackage.VALUE_MODE_TYPE_OBJECT4: 500 return convertValueModeTypeObject4ToString(eDataType, instanceValue); 501 case OljPackage.VALUE_MODE_TYPE_OBJECT5: 502 return convertValueModeTypeObject5ToString(eDataType, instanceValue); 503 case OljPackage.VALUE_MODE_TYPE_OBJECT6: 504 return convertValueModeTypeObject6ToString(eDataType, instanceValue); 505 default: 506 throw new IllegalArgumentException ("The datatype '" + eDataType.getName() + "' is not a valid classifier"); 507 } 508 } 509 510 515 public ConstantColumnsType createConstantColumnsType() { 516 ConstantColumnsTypeImpl constantColumnsType = new ConstantColumnsTypeImpl(); 517 return constantColumnsType; 518 } 519 520 525 public ConstantColumnType createConstantColumnType() { 526 ConstantColumnTypeImpl constantColumnType = new ConstantColumnTypeImpl(); 527 return constantColumnType; 528 } 529 530 535 public CopyTableType createCopyTableType() { 536 CopyTableTypeImpl copyTableType = new CopyTableTypeImpl(); 537 return copyTableType; 538 } 539 540 545 public CounterColumnsType createCounterColumnsType() { 546 CounterColumnsTypeImpl counterColumnsType = new CounterColumnsTypeImpl(); 547 return counterColumnsType; 548 } 549 550 555 public CounterColumnType createCounterColumnType() { 556 CounterColumnTypeImpl counterColumnType = new CounterColumnTypeImpl(); 557 return counterColumnType; 558 } 559 560 565 public DefinitionIncludeType createDefinitionIncludeType() { 566 DefinitionIncludeTypeImpl definitionIncludeType = new DefinitionIncludeTypeImpl(); 567 return definitionIncludeType; 568 } 569 570 575 public DocumentRoot createDocumentRoot() { 576 DocumentRootImpl documentRoot = new DocumentRootImpl(); 577 return documentRoot; 578 } 579 580 585 public EchoType createEchoType() { 586 EchoTypeImpl echoType = new EchoTypeImpl(); 587 return echoType; 588 } 589 590 595 public ImportDefinitionType createImportDefinitionType() { 596 ImportDefinitionTypeImpl importDefinitionType = new ImportDefinitionTypeImpl(); 597 return importDefinitionType; 598 } 599 600 605 public IncludeType createIncludeType() { 606 IncludeTypeImpl includeType = new IncludeTypeImpl(); 607 return includeType; 608 } 609 610 615 public JavaScriptType createJavaScriptType() { 616 JavaScriptTypeImpl javaScriptType = new JavaScriptTypeImpl(); 617 return javaScriptType; 618 } 619 620 625 public JdbcDefaultParametersType createJdbcDefaultParametersType() { 626 JdbcDefaultParametersTypeImpl jdbcDefaultParametersType = new JdbcDefaultParametersTypeImpl(); 627 return jdbcDefaultParametersType; 628 } 629 630 635 public JdbcParametersType createJdbcParametersType() { 636 JdbcParametersTypeImpl jdbcParametersType = new JdbcParametersTypeImpl(); 637 return jdbcParametersType; 638 } 639 640 645 public JdbcSourceParametersType createJdbcSourceParametersType() { 646 JdbcSourceParametersTypeImpl jdbcSourceParametersType = new JdbcSourceParametersTypeImpl(); 647 return jdbcSourceParametersType; 648 } 649 650 655 public JdbcSourceParameterType createJdbcSourceParameterType() { 656 JdbcSourceParameterTypeImpl jdbcSourceParameterType = new JdbcSourceParameterTypeImpl(); 657 return jdbcSourceParameterType; 658 } 659 660 665 public JdbcSourceTargetParametersType createJdbcSourceTargetParametersType() { 666 JdbcSourceTargetParametersTypeImpl jdbcSourceTargetParametersType = new JdbcSourceTargetParametersTypeImpl(); 667 return jdbcSourceTargetParametersType; 668 } 669 670 675 public JdbcTargetParametersType createJdbcTargetParametersType() { 676 JdbcTargetParametersTypeImpl jdbcTargetParametersType = new JdbcTargetParametersTypeImpl(); 677 return jdbcTargetParametersType; 678 } 679 680 685 public JdbcTargetParameterType createJdbcTargetParameterType() { 686 JdbcTargetParameterTypeImpl jdbcTargetParameterType = new JdbcTargetParameterTypeImpl(); 687 return jdbcTargetParameterType; 688 } 689 690 695 public LoaderJobType createLoaderJobType() { 696 LoaderJobTypeImpl loaderJobType = new LoaderJobTypeImpl(); 697 return loaderJobType; 698 } 699 700 705 public RelationColumnsType createRelationColumnsType() { 706 RelationColumnsTypeImpl relationColumnsType = new RelationColumnsTypeImpl(); 707 return relationColumnsType; 708 } 709 710 715 public RelationColumnType createRelationColumnType() { 716 RelationColumnTypeImpl relationColumnType = new RelationColumnTypeImpl(); 717 return relationColumnType; 718 } 719 720 725 public RestartCounterType createRestartCounterType() { 726 RestartCounterTypeImpl restartCounterType = new RestartCounterTypeImpl(); 727 return restartCounterType; 728 } 729 730 735 public SortColumnsType createSortColumnsType() { 736 SortColumnsTypeImpl sortColumnsType = new SortColumnsTypeImpl(); 737 return sortColumnsType; 738 } 739 740 745 public SortColumnType createSortColumnType() { 746 SortColumnTypeImpl sortColumnType = new SortColumnTypeImpl(); 747 return sortColumnType; 748 } 749 750 755 public SourceColumnsType createSourceColumnsType() { 756 SourceColumnsTypeImpl sourceColumnsType = new SourceColumnsTypeImpl(); 757 return sourceColumnsType; 758 } 759 760 765 public SourceColumnType createSourceColumnType() { 766 SourceColumnTypeImpl sourceColumnType = new SourceColumnTypeImpl(); 767 return sourceColumnType; 768 } 769 770 775 public SqlStmtType createSqlStmtType() { 776 SqlStmtTypeImpl sqlStmtType = new SqlStmtTypeImpl(); 777 return sqlStmtType; 778 } 779 780 785 public SqlType createSqlType() { 786 SqlTypeImpl sqlType = new SqlTypeImpl(); 787 return sqlType; 788 } 789 790 795 public SubCounterColumnType createSubCounterColumnType() { 796 SubCounterColumnTypeImpl subCounterColumnType = new SubCounterColumnTypeImpl(); 797 return subCounterColumnType; 798 } 799 800 805 public SubCounterKeyColumnType createSubCounterKeyColumnType() { 806 SubCounterKeyColumnTypeImpl subCounterKeyColumnType = new SubCounterKeyColumnTypeImpl(); 807 return subCounterKeyColumnType; 808 } 809 810 815 public TablesType createTablesType() { 816 TablesTypeImpl tablesType = new TablesTypeImpl(); 817 return tablesType; 818 } 819 820 825 public TableType createTableType() { 826 TableTypeImpl tableType = new TableTypeImpl(); 827 return tableType; 828 } 829 830 835 public TargetColumnsType createTargetColumnsType() { 836 TargetColumnsTypeImpl targetColumnsType = new TargetColumnsTypeImpl(); 837 return targetColumnsType; 838 } 839 840 845 public TargetColumnType createTargetColumnType() { 846 TargetColumnTypeImpl targetColumnType = new TargetColumnTypeImpl(); 847 return targetColumnType; 848 } 849 850 855 public TimeStampColumnType createTimeStampColumnType() { 856 TimeStampColumnTypeImpl timeStampColumnType = new TimeStampColumnTypeImpl(); 857 return timeStampColumnType; 858 } 859 860 865 public TransformationsType createTransformationsType() { 866 TransformationsTypeImpl transformationsType = new TransformationsTypeImpl(); 867 return transformationsType; 868 } 869 870 875 public TransformationType createTransformationType() { 876 TransformationTypeImpl transformationType = new TransformationTypeImpl(); 877 return transformationType; 878 } 879 880 885 public UserIDColumnType createUserIDColumnType() { 886 UserIDColumnTypeImpl userIDColumnType = new UserIDColumnTypeImpl(); 887 return userIDColumnType; 888 } 889 890 895 public ValueColumnsType createValueColumnsType() { 896 ValueColumnsTypeImpl valueColumnsType = new ValueColumnsTypeImpl(); 897 return valueColumnsType; 898 } 899 900 905 public ValueColumnType createValueColumnType() { 906 ValueColumnTypeImpl valueColumnType = new ValueColumnTypeImpl(); 907 return valueColumnType; 908 } 909 910 915 public VariableColumnsType createVariableColumnsType() { 916 VariableColumnsTypeImpl variableColumnsType = new VariableColumnsTypeImpl(); 917 return variableColumnsType; 918 } 919 920 925 public VariableColumnType createVariableColumnType() { 926 VariableColumnTypeImpl variableColumnType = new VariableColumnTypeImpl(); 927 return variableColumnType; 928 } 929 930 935 public VariablesType createVariablesType() { 936 VariablesTypeImpl variablesType = new VariablesTypeImpl(); 937 return variablesType; 938 } 939 940 945 public VariableType createVariableType() { 946 VariableTypeImpl variableType = new VariableTypeImpl(); 947 return variableType; 948 } 949 950 955 public AutoMapColumnsType createAutoMapColumnsTypeObjectFromString(EDataType eDataType, String initialValue) { 956 return (AutoMapColumnsType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getAutoMapColumnsType(), initialValue); 957 } 958 959 964 public String convertAutoMapColumnsTypeObjectToString(EDataType eDataType, Object instanceValue) { 965 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getAutoMapColumnsType(), instanceValue); 966 } 967 968 973 public CommitType createCommitTypeObjectFromString(EDataType eDataType, String initialValue) { 974 return (CommitType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getCommitType(), initialValue); 975 } 976 977 982 public String convertCommitTypeObjectToString(EDataType eDataType, Object instanceValue) { 983 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getCommitType(), instanceValue); 984 } 985 986 991 public CounterStartValueResetType createCounterStartValueResetTypeObjectFromString(EDataType eDataType, String initialValue) { 992 return (CounterStartValueResetType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getCounterStartValueResetType(), initialValue); 993 } 994 995 1000 public String convertCounterStartValueResetTypeObjectToString(EDataType eDataType, Object instanceValue) { 1001 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getCounterStartValueResetType(), instanceValue); 1002 } 1003 1004 1009 public DataCutOffType createDataCutOffTypeObjectFromString(EDataType eDataType, String initialValue) { 1010 return (DataCutOffType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getDataCutOffType(), initialValue); 1011 } 1012 1013 1018 public String convertDataCutOffTypeObjectToString(EDataType eDataType, Object instanceValue) { 1019 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getDataCutOffType(), instanceValue); 1020 } 1021 1022 1027 public DataCutOffType createDataCutOffTypeObject1FromString(EDataType eDataType, String initialValue) { 1028 return (DataCutOffType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getDataCutOffType(), initialValue); 1029 } 1030 1031 1036 public String convertDataCutOffTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1037 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getDataCutOffType(), instanceValue); 1038 } 1039 1040 1045 public DbVendorType createDbVendorTypeObjectFromString(EDataType eDataType, String initialValue) { 1046 return (DbVendorType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getDbVendorType(), initialValue); 1047 } 1048 1049 1054 public String convertDbVendorTypeObjectToString(EDataType eDataType, Object instanceValue) { 1055 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getDbVendorType(), instanceValue); 1056 } 1057 1058 1063 public DbVendorType createDbVendorTypeObject1FromString(EDataType eDataType, String initialValue) { 1064 return (DbVendorType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getDbVendorType(), initialValue); 1065 } 1066 1067 1072 public String convertDbVendorTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1073 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getDbVendorType(), instanceValue); 1074 } 1075 1076 1081 public DefaultModeType createDefaultModeTypeObjectFromString(EDataType eDataType, String initialValue) { 1082 return (DefaultModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getDefaultModeType(), initialValue); 1083 } 1084 1085 1090 public String convertDefaultModeTypeObjectToString(EDataType eDataType, Object instanceValue) { 1091 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getDefaultModeType(), instanceValue); 1092 } 1093 1094 1099 public FromHexType createFromHexTypeObjectFromString(EDataType eDataType, String initialValue) { 1100 return (FromHexType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getFromHexType(), initialValue); 1101 } 1102 1103 1108 public String convertFromHexTypeObjectToString(EDataType eDataType, Object instanceValue) { 1109 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getFromHexType(), instanceValue); 1110 } 1111 1112 1117 public InsertType createInsertTypeObjectFromString(EDataType eDataType, String initialValue) { 1118 return (InsertType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getInsertType(), initialValue); 1119 } 1120 1121 1126 public String convertInsertTypeObjectToString(EDataType eDataType, Object instanceValue) { 1127 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getInsertType(), instanceValue); 1128 } 1129 1130 1135 public LogModeType createLogModeTypeObjectFromString(EDataType eDataType, String initialValue) { 1136 return (LogModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getLogModeType(), initialValue); 1137 } 1138 1139 1144 public String convertLogModeTypeObjectToString(EDataType eDataType, Object instanceValue) { 1145 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getLogModeType(), instanceValue); 1146 } 1147 1148 1153 public LogModeType createLogModeTypeObject1FromString(EDataType eDataType, String initialValue) { 1154 return (LogModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getLogModeType(), initialValue); 1155 } 1156 1157 1162 public String convertLogModeTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1163 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getLogModeType(), instanceValue); 1164 } 1165 1166 1171 public LogModeType createLogModeTypeObject2FromString(EDataType eDataType, String initialValue) { 1172 return (LogModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getLogModeType(), initialValue); 1173 } 1174 1175 1180 public String convertLogModeTypeObject2ToString(EDataType eDataType, Object instanceValue) { 1181 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getLogModeType(), instanceValue); 1182 } 1183 1184 1189 public LogModeType createLogModeTypeObject3FromString(EDataType eDataType, String initialValue) { 1190 return (LogModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getLogModeType(), initialValue); 1191 } 1192 1193 1198 public String convertLogModeTypeObject3ToString(EDataType eDataType, Object instanceValue) { 1199 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getLogModeType(), instanceValue); 1200 } 1201 1202 1207 public String createNameTypeFromString(EDataType eDataType, String initialValue) { 1208 return (String )XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.eINSTANCE.getNMTOKEN(), initialValue); 1209 } 1210 1211 1216 public String convertNameTypeToString(EDataType eDataType, Object instanceValue) { 1217 return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.eINSTANCE.getNMTOKEN(), instanceValue); 1218 } 1219 1220 1225 public String createNameType1FromString(EDataType eDataType, String initialValue) { 1226 return (String )XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.eINSTANCE.getNMTOKEN(), initialValue); 1227 } 1228 1229 1234 public String convertNameType1ToString(EDataType eDataType, Object instanceValue) { 1235 return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.eINSTANCE.getNMTOKEN(), instanceValue); 1236 } 1237 1238 1243 public OidLogicType createOidLogicTypeObjectFromString(EDataType eDataType, String initialValue) { 1244 return (OidLogicType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getOidLogicType(), initialValue); 1245 } 1246 1247 1252 public String convertOidLogicTypeObjectToString(EDataType eDataType, Object instanceValue) { 1253 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getOidLogicType(), instanceValue); 1254 } 1255 1256 1261 public OidLogicType createOidLogicTypeObject1FromString(EDataType eDataType, String initialValue) { 1262 return (OidLogicType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getOidLogicType(), initialValue); 1263 } 1264 1265 1270 public String convertOidLogicTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1271 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getOidLogicType(), instanceValue); 1272 } 1273 1274 1279 public OnErrorContinueType createOnErrorContinueTypeObjectFromString(EDataType eDataType, String initialValue) { 1280 return (OnErrorContinueType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getOnErrorContinueType(), initialValue); 1281 } 1282 1283 1288 public String convertOnErrorContinueTypeObjectToString(EDataType eDataType, Object instanceValue) { 1289 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getOnErrorContinueType(), instanceValue); 1290 } 1291 1292 1297 public OnErrorContinueType createOnErrorContinueTypeObject1FromString(EDataType eDataType, String initialValue) { 1298 return (OnErrorContinueType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getOnErrorContinueType(), initialValue); 1299 } 1300 1301 1306 public String convertOnErrorContinueTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1307 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getOnErrorContinueType(), instanceValue); 1308 } 1309 1310 1315 public OnErrorContinueType createOnErrorContinueTypeObject2FromString(EDataType eDataType, String initialValue) { 1316 return (OnErrorContinueType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getOnErrorContinueType(), initialValue); 1317 } 1318 1319 1324 public String convertOnErrorContinueTypeObject2ToString(EDataType eDataType, Object instanceValue) { 1325 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getOnErrorContinueType(), instanceValue); 1326 } 1327 1328 1333 public RelationModeType createRelationModeTypeObjectFromString(EDataType eDataType, String initialValue) { 1334 return (RelationModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getRelationModeType(), initialValue); 1335 } 1336 1337 1342 public String convertRelationModeTypeObjectToString(EDataType eDataType, Object instanceValue) { 1343 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getRelationModeType(), instanceValue); 1344 } 1345 1346 1351 public SetCursorNameType createSetCursorNameTypeObjectFromString(EDataType eDataType, String initialValue) { 1352 return (SetCursorNameType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getSetCursorNameType(), initialValue); 1353 } 1354 1355 1360 public String convertSetCursorNameTypeObjectToString(EDataType eDataType, Object instanceValue) { 1361 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getSetCursorNameType(), instanceValue); 1362 } 1363 1364 1369 public SetCursorNameType createSetCursorNameTypeObject1FromString(EDataType eDataType, String initialValue) { 1370 return (SetCursorNameType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getSetCursorNameType(), initialValue); 1371 } 1372 1373 1378 public String convertSetCursorNameTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1379 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getSetCursorNameType(), instanceValue); 1380 } 1381 1382 1387 public SetCursorNameType createSetCursorNameTypeObject2FromString(EDataType eDataType, String initialValue) { 1388 return (SetCursorNameType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getSetCursorNameType(), initialValue); 1389 } 1390 1391 1396 public String convertSetCursorNameTypeObject2ToString(EDataType eDataType, Object instanceValue) { 1397 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getSetCursorNameType(), instanceValue); 1398 } 1399 1400 1405 public SetFetchSizeType createSetFetchSizeTypeObjectFromString(EDataType eDataType, String initialValue) { 1406 return (SetFetchSizeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getSetFetchSizeType(), initialValue); 1407 } 1408 1409 1414 public String convertSetFetchSizeTypeObjectToString(EDataType eDataType, Object instanceValue) { 1415 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getSetFetchSizeType(), instanceValue); 1416 } 1417 1418 1423 public SetFetchSizeType createSetFetchSizeTypeObject1FromString(EDataType eDataType, String initialValue) { 1424 return (SetFetchSizeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getSetFetchSizeType(), initialValue); 1425 } 1426 1427 1432 public String convertSetFetchSizeTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1433 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getSetFetchSizeType(), instanceValue); 1434 } 1435 1436 1441 public SetFetchSizeType createSetFetchSizeTypeObject2FromString(EDataType eDataType, String initialValue) { 1442 return (SetFetchSizeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getSetFetchSizeType(), initialValue); 1443 } 1444 1445 1450 public String convertSetFetchSizeTypeObject2ToString(EDataType eDataType, Object instanceValue) { 1451 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getSetFetchSizeType(), instanceValue); 1452 } 1453 1454 1459 public TableModeType createTableModeTypeObjectFromString(EDataType eDataType, String initialValue) { 1460 return (TableModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getTableModeType(), initialValue); 1461 } 1462 1463 1468 public String convertTableModeTypeObjectToString(EDataType eDataType, Object instanceValue) { 1469 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getTableModeType(), instanceValue); 1470 } 1471 1472 1477 public ToHexType createToHexTypeObjectFromString(EDataType eDataType, String initialValue) { 1478 return (ToHexType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getToHexType(), initialValue); 1479 } 1480 1481 1486 public String convertToHexTypeObjectToString(EDataType eDataType, Object instanceValue) { 1487 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getToHexType(), instanceValue); 1488 } 1489 1490 1495 public ValueModeType createValueModeTypeObjectFromString(EDataType eDataType, String initialValue) { 1496 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1497 } 1498 1499 1504 public String convertValueModeTypeObjectToString(EDataType eDataType, Object instanceValue) { 1505 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1506 } 1507 1508 1513 public ValueModeType createValueModeTypeObject1FromString(EDataType eDataType, String initialValue) { 1514 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1515 } 1516 1517 1522 public String convertValueModeTypeObject1ToString(EDataType eDataType, Object instanceValue) { 1523 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1524 } 1525 1526 1531 public ValueModeType createValueModeTypeObject2FromString(EDataType eDataType, String initialValue) { 1532 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1533 } 1534 1535 1540 public String convertValueModeTypeObject2ToString(EDataType eDataType, Object instanceValue) { 1541 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1542 } 1543 1544 1549 public ValueModeType createValueModeTypeObject3FromString(EDataType eDataType, String initialValue) { 1550 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1551 } 1552 1553 1558 public String convertValueModeTypeObject3ToString(EDataType eDataType, Object instanceValue) { 1559 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1560 } 1561 1562 1567 public ValueModeType createValueModeTypeObject4FromString(EDataType eDataType, String initialValue) { 1568 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1569 } 1570 1571 1576 public String convertValueModeTypeObject4ToString(EDataType eDataType, Object instanceValue) { 1577 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1578 } 1579 1580 1585 public ValueModeType createValueModeTypeObject5FromString(EDataType eDataType, String initialValue) { 1586 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1587 } 1588 1589 1594 public String convertValueModeTypeObject5ToString(EDataType eDataType, Object instanceValue) { 1595 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1596 } 1597 1598 1603 public ValueModeType createValueModeTypeObject6FromString(EDataType eDataType, String initialValue) { 1604 return (ValueModeType)OljFactory.eINSTANCE.createFromString(OljPackage.eINSTANCE.getValueModeType(), initialValue); 1605 } 1606 1607 1612 public String convertValueModeTypeObject6ToString(EDataType eDataType, Object instanceValue) { 1613 return OljFactory.eINSTANCE.convertToString(OljPackage.eINSTANCE.getValueModeType(), instanceValue); 1614 } 1615 1616 1621 public OljPackage getOljPackage() { 1622 return (OljPackage)getEPackage(); 1623 } 1624 1625 1631 public static OljPackage getPackage() { 1632 return OljPackage.eINSTANCE; 1633 } 1634 1635} | Popular Tags |