1 7 package Olj.impl; 8 9 import Olj.DataCutOffType; 10 import Olj.LoaderJobType; 11 import Olj.LogModeType1; 12 import Olj.OljPackage; 13 import Olj.SetCursorNameType1; 14 import Olj.SetFetchSizeType; 15 16 import java.util.Collection ; 17 18 import org.eclipse.emf.common.notify.Notification; 19 import org.eclipse.emf.common.notify.NotificationChain; 20 21 import org.eclipse.emf.common.util.EList; 22 23 import org.eclipse.emf.ecore.EClass; 24 import org.eclipse.emf.ecore.EStructuralFeature; 25 import org.eclipse.emf.ecore.InternalEObject; 26 27 import org.eclipse.emf.ecore.impl.ENotificationImpl; 28 import org.eclipse.emf.ecore.impl.EObjectImpl; 29 30 import org.eclipse.emf.ecore.util.BasicFeatureMap; 31 import org.eclipse.emf.ecore.util.FeatureMap; 32 import org.eclipse.emf.ecore.util.InternalEList; 33 34 87 public class LoaderJobTypeImpl extends EObjectImpl implements LoaderJobType { 88 96 protected FeatureMap group = null; 97 98 106 protected static final String COMMIT_EDEFAULT = null; 107 108 116 protected String commit = COMMIT_EDEFAULT; 117 118 126 protected static final String COMMIT_COUNT_EDEFAULT = null; 127 128 136 protected String commitCount = COMMIT_COUNT_EDEFAULT; 137 138 146 protected static final DataCutOffType DATA_CUT_OFF_EDEFAULT = DataCutOffType.TRUE_LITERAL; 147 148 156 protected DataCutOffType dataCutOff = DATA_CUT_OFF_EDEFAULT; 157 158 165 protected boolean dataCutOffESet = false; 166 167 175 protected static final String LOG_CLASS_NAME_EDEFAULT = null; 176 177 185 protected String logClassName = LOG_CLASS_NAME_EDEFAULT; 186 187 195 protected static final String LOG_COLUMN_NAME_EDEFAULT = null; 196 197 205 protected String logColumnName = LOG_COLUMN_NAME_EDEFAULT; 206 207 215 protected static final String LOG_DIR_EDEFAULT = null; 216 217 225 protected String logDir = LOG_DIR_EDEFAULT; 226 227 235 protected static final String LOG_FILE_EDEFAULT = null; 236 237 245 protected String logFile = LOG_FILE_EDEFAULT; 246 247 255 protected static final String LOG_IMPORT_DEFINITION_NAME_EDEFAULT = null; 256 257 265 protected String logImportDefinitionName = LOG_IMPORT_DEFINITION_NAME_EDEFAULT; 266 267 275 protected static final LogModeType1 LOG_MODE_EDEFAULT = LogModeType1.NONE_LITERAL; 276 277 285 protected LogModeType1 logMode = LOG_MODE_EDEFAULT; 286 287 294 protected boolean logModeESet = false; 295 296 304 protected static final String LOG_NEW_VALUE_EDEFAULT = null; 305 306 314 protected String logNewValue = LOG_NEW_VALUE_EDEFAULT; 315 316 324 protected static final String LOG_OPERATION_NAME_EDEFAULT = null; 325 326 334 protected String logOperationName = LOG_OPERATION_NAME_EDEFAULT; 335 336 344 protected static final String LOG_ORIGINAL_VALUE_EDEFAULT = null; 345 346 354 protected String logOriginalValue = LOG_ORIGINAL_VALUE_EDEFAULT; 355 356 364 protected static final String LOG_ROW_NUMBER_EDEFAULT = null; 365 366 374 protected String logRowNumber = LOG_ROW_NUMBER_EDEFAULT; 375 376 384 protected static final String LOG_TABLE_EDEFAULT = null; 385 386 394 protected String logTable = LOG_TABLE_EDEFAULT; 395 396 404 protected static final String LOG_TABLE_NAME_EDEFAULT = null; 405 406 414 protected String logTableName = LOG_TABLE_NAME_EDEFAULT; 415 416 424 protected static final String LOG_TYPE_NAME_EDEFAULT = null; 425 426 434 protected String logTypeName = LOG_TYPE_NAME_EDEFAULT; 435 436 444 protected static final String OBJECT_ID_AUTO_CREATE_EDEFAULT = null; 445 446 454 protected String objectIDAutoCreate = OBJECT_ID_AUTO_CREATE_EDEFAULT; 455 456 464 protected static final String OBJECT_ID_COLUMN_NAME_EDEFAULT = null; 465 466 474 protected String objectIDColumnName = OBJECT_ID_COLUMN_NAME_EDEFAULT; 475 476 484 protected static final String OBJECT_ID_INCREMENT_EDEFAULT = null; 485 486 494 protected String objectIDIncrement = OBJECT_ID_INCREMENT_EDEFAULT; 495 496 504 protected static final String OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT = null; 505 506 514 protected String objectIDNameColumnName = OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT; 515 516 524 protected static final String OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT = null; 525 526 534 protected String objectIDNameColumnValue = OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT; 535 536 544 protected static final String OBJECT_ID_START_VALUE_EDEFAULT = null; 545 546 554 protected String objectIDStartValue = OBJECT_ID_START_VALUE_EDEFAULT; 555 556 564 protected static final String OBJECT_ID_TABLE_NAME_EDEFAULT = null; 565 566 574 protected String objectIDTableName = OBJECT_ID_TABLE_NAME_EDEFAULT; 575 576 584 protected static final String OID_LOGIC_EDEFAULT = null; 585 586 594 protected String oidLogic = OID_LOGIC_EDEFAULT; 595 596 604 protected static final String ON_ERROR_CONTINUE_EDEFAULT = null; 605 606 614 protected String onErrorContinue = ON_ERROR_CONTINUE_EDEFAULT; 615 616 624 protected static final String PATH_TO_LOGGER_CONF_EDEFAULT = null; 625 626 634 protected String pathToLoggerConf = PATH_TO_LOGGER_CONF_EDEFAULT; 635 636 644 protected static final String RETURN_CODE_EDEFAULT = null; 645 646 654 protected String returnCode = RETURN_CODE_EDEFAULT; 655 656 664 protected static final SetCursorNameType1 SET_CURSOR_NAME_EDEFAULT = SetCursorNameType1.TRUE_LITERAL; 665 666 674 protected SetCursorNameType1 setCursorName = SET_CURSOR_NAME_EDEFAULT; 675 676 683 protected boolean setCursorNameESet = false; 684 685 693 protected static final SetFetchSizeType SET_FETCH_SIZE_EDEFAULT = SetFetchSizeType.TRUE_LITERAL; 694 695 703 protected SetFetchSizeType setFetchSize = SET_FETCH_SIZE_EDEFAULT; 704 705 712 protected boolean setFetchSizeESet = false; 713 714 722 protected static final String TABLE_MODE_EDEFAULT = null; 723 724 732 protected String tableMode = TABLE_MODE_EDEFAULT; 733 734 742 protected static final String USER_ID_EDEFAULT = null; 743 744 752 protected String userID = USER_ID_EDEFAULT; 753 754 762 protected static final String VENDOR_CONFIG_EDEFAULT = null; 763 764 772 protected String vendorConfig = VENDOR_CONFIG_EDEFAULT; 773 774 779 protected LoaderJobTypeImpl() { 780 super(); 781 } 782 783 788 protected EClass eStaticClass() { 789 return OljPackage.eINSTANCE.getLoaderJobType(); 790 } 791 792 797 public FeatureMap getGroup() { 798 if (group == null) { 799 group = new BasicFeatureMap(this, OljPackage.LOADER_JOB_TYPE__GROUP); 800 } 801 return group; 802 } 803 804 809 public EList getSql() { 810 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_Sql()); 811 } 812 813 818 public EList getDefinitionInclude() { 819 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_DefinitionInclude()); 820 } 821 822 827 public EList getImportDefinition() { 828 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_ImportDefinition()); 829 } 830 831 836 public EList getRestartCounter() { 837 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_RestartCounter()); 838 } 839 840 845 public EList getVariables() { 846 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_Variables()); 847 } 848 849 854 public EList getJdbcDefaultParameters() { 855 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_JdbcDefaultParameters()); 856 } 857 858 863 public EList getEcho() { 864 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_Echo()); 865 } 866 867 872 public EList getCopyTable() { 873 return ((FeatureMap)getGroup()).list(OljPackage.eINSTANCE.getLoaderJobType_CopyTable()); 874 } 875 876 881 public String getCommit() { 882 return commit; 883 } 884 885 890 public void setCommit(String newCommit) { 891 String oldCommit = commit; 892 commit = newCommit; 893 if (eNotificationRequired()) 894 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__COMMIT, oldCommit, commit)); 895 } 896 897 902 public String getCommitCount() { 903 return commitCount; 904 } 905 906 911 public void setCommitCount(String newCommitCount) { 912 String oldCommitCount = commitCount; 913 commitCount = newCommitCount; 914 if (eNotificationRequired()) 915 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__COMMIT_COUNT, oldCommitCount, commitCount)); 916 } 917 918 923 public DataCutOffType getDataCutOff() { 924 return dataCutOff; 925 } 926 927 932 public void setDataCutOff(DataCutOffType newDataCutOff) { 933 DataCutOffType oldDataCutOff = dataCutOff; 934 dataCutOff = newDataCutOff == null ? DATA_CUT_OFF_EDEFAULT : newDataCutOff; 935 boolean oldDataCutOffESet = dataCutOffESet; 936 dataCutOffESet = true; 937 if (eNotificationRequired()) 938 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__DATA_CUT_OFF, oldDataCutOff, dataCutOff, !oldDataCutOffESet)); 939 } 940 941 946 public void unsetDataCutOff() { 947 DataCutOffType oldDataCutOff = dataCutOff; 948 boolean oldDataCutOffESet = dataCutOffESet; 949 dataCutOff = DATA_CUT_OFF_EDEFAULT; 950 dataCutOffESet = false; 951 if (eNotificationRequired()) 952 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.LOADER_JOB_TYPE__DATA_CUT_OFF, oldDataCutOff, DATA_CUT_OFF_EDEFAULT, oldDataCutOffESet)); 953 } 954 955 960 public boolean isSetDataCutOff() { 961 return dataCutOffESet; 962 } 963 964 969 public String getLogClassName() { 970 return logClassName; 971 } 972 973 978 public void setLogClassName(String newLogClassName) { 979 String oldLogClassName = logClassName; 980 logClassName = newLogClassName; 981 if (eNotificationRequired()) 982 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_CLASS_NAME, oldLogClassName, logClassName)); 983 } 984 985 990 public String getLogColumnName() { 991 return logColumnName; 992 } 993 994 999 public void setLogColumnName(String newLogColumnName) { 1000 String oldLogColumnName = logColumnName; 1001 logColumnName = newLogColumnName; 1002 if (eNotificationRequired()) 1003 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_COLUMN_NAME, oldLogColumnName, logColumnName)); 1004 } 1005 1006 1011 public String getLogDir() { 1012 return logDir; 1013 } 1014 1015 1020 public void setLogDir(String newLogDir) { 1021 String oldLogDir = logDir; 1022 logDir = newLogDir; 1023 if (eNotificationRequired()) 1024 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_DIR, oldLogDir, logDir)); 1025 } 1026 1027 1032 public String getLogFile() { 1033 return logFile; 1034 } 1035 1036 1041 public void setLogFile(String newLogFile) { 1042 String oldLogFile = logFile; 1043 logFile = newLogFile; 1044 if (eNotificationRequired()) 1045 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_FILE, oldLogFile, logFile)); 1046 } 1047 1048 1053 public String getLogImportDefinitionName() { 1054 return logImportDefinitionName; 1055 } 1056 1057 1062 public void setLogImportDefinitionName(String newLogImportDefinitionName) { 1063 String oldLogImportDefinitionName = logImportDefinitionName; 1064 logImportDefinitionName = newLogImportDefinitionName; 1065 if (eNotificationRequired()) 1066 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_IMPORT_DEFINITION_NAME, oldLogImportDefinitionName, logImportDefinitionName)); 1067 } 1068 1069 1074 public LogModeType1 getLogMode() { 1075 return logMode; 1076 } 1077 1078 1083 public void setLogMode(LogModeType1 newLogMode) { 1084 LogModeType1 oldLogMode = logMode; 1085 logMode = newLogMode == null ? LOG_MODE_EDEFAULT : newLogMode; 1086 boolean oldLogModeESet = logModeESet; 1087 logModeESet = true; 1088 if (eNotificationRequired()) 1089 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_MODE, oldLogMode, logMode, !oldLogModeESet)); 1090 } 1091 1092 1097 public void unsetLogMode() { 1098 LogModeType1 oldLogMode = logMode; 1099 boolean oldLogModeESet = logModeESet; 1100 logMode = LOG_MODE_EDEFAULT; 1101 logModeESet = false; 1102 if (eNotificationRequired()) 1103 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.LOADER_JOB_TYPE__LOG_MODE, oldLogMode, LOG_MODE_EDEFAULT, oldLogModeESet)); 1104 } 1105 1106 1111 public boolean isSetLogMode() { 1112 return logModeESet; 1113 } 1114 1115 1120 public String getLogNewValue() { 1121 return logNewValue; 1122 } 1123 1124 1129 public void setLogNewValue(String newLogNewValue) { 1130 String oldLogNewValue = logNewValue; 1131 logNewValue = newLogNewValue; 1132 if (eNotificationRequired()) 1133 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_NEW_VALUE, oldLogNewValue, logNewValue)); 1134 } 1135 1136 1141 public String getLogOperationName() { 1142 return logOperationName; 1143 } 1144 1145 1150 public void setLogOperationName(String newLogOperationName) { 1151 String oldLogOperationName = logOperationName; 1152 logOperationName = newLogOperationName; 1153 if (eNotificationRequired()) 1154 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_OPERATION_NAME, oldLogOperationName, logOperationName)); 1155 } 1156 1157 1162 public String getLogOriginalValue() { 1163 return logOriginalValue; 1164 } 1165 1166 1171 public void setLogOriginalValue(String newLogOriginalValue) { 1172 String oldLogOriginalValue = logOriginalValue; 1173 logOriginalValue = newLogOriginalValue; 1174 if (eNotificationRequired()) 1175 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_ORIGINAL_VALUE, oldLogOriginalValue, logOriginalValue)); 1176 } 1177 1178 1183 public String getLogRowNumber() { 1184 return logRowNumber; 1185 } 1186 1187 1192 public void setLogRowNumber(String newLogRowNumber) { 1193 String oldLogRowNumber = logRowNumber; 1194 logRowNumber = newLogRowNumber; 1195 if (eNotificationRequired()) 1196 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_ROW_NUMBER, oldLogRowNumber, logRowNumber)); 1197 } 1198 1199 1204 public String getLogTable() { 1205 return logTable; 1206 } 1207 1208 1213 public void setLogTable(String newLogTable) { 1214 String oldLogTable = logTable; 1215 logTable = newLogTable; 1216 if (eNotificationRequired()) 1217 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_TABLE, oldLogTable, logTable)); 1218 } 1219 1220 1225 public String getLogTableName() { 1226 return logTableName; 1227 } 1228 1229 1234 public void setLogTableName(String newLogTableName) { 1235 String oldLogTableName = logTableName; 1236 logTableName = newLogTableName; 1237 if (eNotificationRequired()) 1238 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_TABLE_NAME, oldLogTableName, logTableName)); 1239 } 1240 1241 1246 public String getLogTypeName() { 1247 return logTypeName; 1248 } 1249 1250 1255 public void setLogTypeName(String newLogTypeName) { 1256 String oldLogTypeName = logTypeName; 1257 logTypeName = newLogTypeName; 1258 if (eNotificationRequired()) 1259 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__LOG_TYPE_NAME, oldLogTypeName, logTypeName)); 1260 } 1261 1262 1267 public String getObjectIDAutoCreate() { 1268 return objectIDAutoCreate; 1269 } 1270 1271 1276 public void setObjectIDAutoCreate(String newObjectIDAutoCreate) { 1277 String oldObjectIDAutoCreate = objectIDAutoCreate; 1278 objectIDAutoCreate = newObjectIDAutoCreate; 1279 if (eNotificationRequired()) 1280 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_AUTO_CREATE, oldObjectIDAutoCreate, objectIDAutoCreate)); 1281 } 1282 1283 1288 public String getObjectIDColumnName() { 1289 return objectIDColumnName; 1290 } 1291 1292 1297 public void setObjectIDColumnName(String newObjectIDColumnName) { 1298 String oldObjectIDColumnName = objectIDColumnName; 1299 objectIDColumnName = newObjectIDColumnName; 1300 if (eNotificationRequired()) 1301 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_COLUMN_NAME, oldObjectIDColumnName, objectIDColumnName)); 1302 } 1303 1304 1309 public String getObjectIDIncrement() { 1310 return objectIDIncrement; 1311 } 1312 1313 1318 public void setObjectIDIncrement(String newObjectIDIncrement) { 1319 String oldObjectIDIncrement = objectIDIncrement; 1320 objectIDIncrement = newObjectIDIncrement; 1321 if (eNotificationRequired()) 1322 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_INCREMENT, oldObjectIDIncrement, objectIDIncrement)); 1323 } 1324 1325 1330 public String getObjectIDNameColumnName() { 1331 return objectIDNameColumnName; 1332 } 1333 1334 1339 public void setObjectIDNameColumnName(String newObjectIDNameColumnName) { 1340 String oldObjectIDNameColumnName = objectIDNameColumnName; 1341 objectIDNameColumnName = newObjectIDNameColumnName; 1342 if (eNotificationRequired()) 1343 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_NAME, oldObjectIDNameColumnName, objectIDNameColumnName)); 1344 } 1345 1346 1351 public String getObjectIDNameColumnValue() { 1352 return objectIDNameColumnValue; 1353 } 1354 1355 1360 public void setObjectIDNameColumnValue(String newObjectIDNameColumnValue) { 1361 String oldObjectIDNameColumnValue = objectIDNameColumnValue; 1362 objectIDNameColumnValue = newObjectIDNameColumnValue; 1363 if (eNotificationRequired()) 1364 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_VALUE, oldObjectIDNameColumnValue, objectIDNameColumnValue)); 1365 } 1366 1367 1372 public String getObjectIDStartValue() { 1373 return objectIDStartValue; 1374 } 1375 1376 1381 public void setObjectIDStartValue(String newObjectIDStartValue) { 1382 String oldObjectIDStartValue = objectIDStartValue; 1383 objectIDStartValue = newObjectIDStartValue; 1384 if (eNotificationRequired()) 1385 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_START_VALUE, oldObjectIDStartValue, objectIDStartValue)); 1386 } 1387 1388 1393 public String getObjectIDTableName() { 1394 return objectIDTableName; 1395 } 1396 1397 1402 public void setObjectIDTableName(String newObjectIDTableName) { 1403 String oldObjectIDTableName = objectIDTableName; 1404 objectIDTableName = newObjectIDTableName; 1405 if (eNotificationRequired()) 1406 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OBJECT_ID_TABLE_NAME, oldObjectIDTableName, objectIDTableName)); 1407 } 1408 1409 1414 public String getOidLogic() { 1415 return oidLogic; 1416 } 1417 1418 1423 public void setOidLogic(String newOidLogic) { 1424 String oldOidLogic = oidLogic; 1425 oidLogic = newOidLogic; 1426 if (eNotificationRequired()) 1427 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__OID_LOGIC, oldOidLogic, oidLogic)); 1428 } 1429 1430 1435 public String getOnErrorContinue() { 1436 return onErrorContinue; 1437 } 1438 1439 1444 public void setOnErrorContinue(String newOnErrorContinue) { 1445 String oldOnErrorContinue = onErrorContinue; 1446 onErrorContinue = newOnErrorContinue; 1447 if (eNotificationRequired()) 1448 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__ON_ERROR_CONTINUE, oldOnErrorContinue, onErrorContinue)); 1449 } 1450 1451 1456 public String getPathToLoggerConf() { 1457 return pathToLoggerConf; 1458 } 1459 1460 1465 public void setPathToLoggerConf(String newPathToLoggerConf) { 1466 String oldPathToLoggerConf = pathToLoggerConf; 1467 pathToLoggerConf = newPathToLoggerConf; 1468 if (eNotificationRequired()) 1469 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__PATH_TO_LOGGER_CONF, oldPathToLoggerConf, pathToLoggerConf)); 1470 } 1471 1472 1477 public String getReturnCode() { 1478 return returnCode; 1479 } 1480 1481 1486 public void setReturnCode(String newReturnCode) { 1487 String oldReturnCode = returnCode; 1488 returnCode = newReturnCode; 1489 if (eNotificationRequired()) 1490 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__RETURN_CODE, oldReturnCode, returnCode)); 1491 } 1492 1493 1498 public SetCursorNameType1 getSetCursorName() { 1499 return setCursorName; 1500 } 1501 1502 1507 public void setSetCursorName(SetCursorNameType1 newSetCursorName) { 1508 SetCursorNameType1 oldSetCursorName = setCursorName; 1509 setCursorName = newSetCursorName == null ? SET_CURSOR_NAME_EDEFAULT : newSetCursorName; 1510 boolean oldSetCursorNameESet = setCursorNameESet; 1511 setCursorNameESet = true; 1512 if (eNotificationRequired()) 1513 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__SET_CURSOR_NAME, oldSetCursorName, setCursorName, !oldSetCursorNameESet)); 1514 } 1515 1516 1521 public void unsetSetCursorName() { 1522 SetCursorNameType1 oldSetCursorName = setCursorName; 1523 boolean oldSetCursorNameESet = setCursorNameESet; 1524 setCursorName = SET_CURSOR_NAME_EDEFAULT; 1525 setCursorNameESet = false; 1526 if (eNotificationRequired()) 1527 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.LOADER_JOB_TYPE__SET_CURSOR_NAME, oldSetCursorName, SET_CURSOR_NAME_EDEFAULT, oldSetCursorNameESet)); 1528 } 1529 1530 1535 public boolean isSetSetCursorName() { 1536 return setCursorNameESet; 1537 } 1538 1539 1544 public SetFetchSizeType getSetFetchSize() { 1545 return setFetchSize; 1546 } 1547 1548 1553 public void setSetFetchSize(SetFetchSizeType newSetFetchSize) { 1554 SetFetchSizeType oldSetFetchSize = setFetchSize; 1555 setFetchSize = newSetFetchSize == null ? SET_FETCH_SIZE_EDEFAULT : newSetFetchSize; 1556 boolean oldSetFetchSizeESet = setFetchSizeESet; 1557 setFetchSizeESet = true; 1558 if (eNotificationRequired()) 1559 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__SET_FETCH_SIZE, oldSetFetchSize, setFetchSize, !oldSetFetchSizeESet)); 1560 } 1561 1562 1567 public void unsetSetFetchSize() { 1568 SetFetchSizeType oldSetFetchSize = setFetchSize; 1569 boolean oldSetFetchSizeESet = setFetchSizeESet; 1570 setFetchSize = SET_FETCH_SIZE_EDEFAULT; 1571 setFetchSizeESet = false; 1572 if (eNotificationRequired()) 1573 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.LOADER_JOB_TYPE__SET_FETCH_SIZE, oldSetFetchSize, SET_FETCH_SIZE_EDEFAULT, oldSetFetchSizeESet)); 1574 } 1575 1576 1581 public boolean isSetSetFetchSize() { 1582 return setFetchSizeESet; 1583 } 1584 1585 1590 public String getTableMode() { 1591 return tableMode; 1592 } 1593 1594 1599 public void setTableMode(String newTableMode) { 1600 String oldTableMode = tableMode; 1601 tableMode = newTableMode; 1602 if (eNotificationRequired()) 1603 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__TABLE_MODE, oldTableMode, tableMode)); 1604 } 1605 1606 1611 public String getUserID() { 1612 return userID; 1613 } 1614 1615 1620 public void setUserID(String newUserID) { 1621 String oldUserID = userID; 1622 userID = newUserID; 1623 if (eNotificationRequired()) 1624 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__USER_ID, oldUserID, userID)); 1625 } 1626 1627 1632 public String getVendorConfig() { 1633 return vendorConfig; 1634 } 1635 1636 1641 public void setVendorConfig(String newVendorConfig) { 1642 String oldVendorConfig = vendorConfig; 1643 vendorConfig = newVendorConfig; 1644 if (eNotificationRequired()) 1645 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.LOADER_JOB_TYPE__VENDOR_CONFIG, oldVendorConfig, vendorConfig)); 1646 } 1647 1648 1653 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { 1654 if (featureID >= 0) { 1655 switch (eDerivedStructuralFeatureID(featureID, baseClass)) { 1656 case OljPackage.LOADER_JOB_TYPE__GROUP: 1657 return ((InternalEList)getGroup()).basicRemove(otherEnd, msgs); 1658 case OljPackage.LOADER_JOB_TYPE__SQL: 1659 return ((InternalEList)getSql()).basicRemove(otherEnd, msgs); 1660 case OljPackage.LOADER_JOB_TYPE__DEFINITION_INCLUDE: 1661 return ((InternalEList)getDefinitionInclude()).basicRemove(otherEnd, msgs); 1662 case OljPackage.LOADER_JOB_TYPE__IMPORT_DEFINITION: 1663 return ((InternalEList)getImportDefinition()).basicRemove(otherEnd, msgs); 1664 case OljPackage.LOADER_JOB_TYPE__RESTART_COUNTER: 1665 return ((InternalEList)getRestartCounter()).basicRemove(otherEnd, msgs); 1666 case OljPackage.LOADER_JOB_TYPE__VARIABLES: 1667 return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); 1668 case OljPackage.LOADER_JOB_TYPE__JDBC_DEFAULT_PARAMETERS: 1669 return ((InternalEList)getJdbcDefaultParameters()).basicRemove(otherEnd, msgs); 1670 case OljPackage.LOADER_JOB_TYPE__ECHO: 1671 return ((InternalEList)getEcho()).basicRemove(otherEnd, msgs); 1672 case OljPackage.LOADER_JOB_TYPE__COPY_TABLE: 1673 return ((InternalEList)getCopyTable()).basicRemove(otherEnd, msgs); 1674 default: 1675 return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); 1676 } 1677 } 1678 return eBasicSetContainer(null, featureID, msgs); 1679 } 1680 1681 1686 public Object eGet(EStructuralFeature eFeature, boolean resolve) { 1687 switch (eDerivedStructuralFeatureID(eFeature)) { 1688 case OljPackage.LOADER_JOB_TYPE__GROUP: 1689 return getGroup(); 1690 case OljPackage.LOADER_JOB_TYPE__SQL: 1691 return getSql(); 1692 case OljPackage.LOADER_JOB_TYPE__DEFINITION_INCLUDE: 1693 return getDefinitionInclude(); 1694 case OljPackage.LOADER_JOB_TYPE__IMPORT_DEFINITION: 1695 return getImportDefinition(); 1696 case OljPackage.LOADER_JOB_TYPE__RESTART_COUNTER: 1697 return getRestartCounter(); 1698 case OljPackage.LOADER_JOB_TYPE__VARIABLES: 1699 return getVariables(); 1700 case OljPackage.LOADER_JOB_TYPE__JDBC_DEFAULT_PARAMETERS: 1701 return getJdbcDefaultParameters(); 1702 case OljPackage.LOADER_JOB_TYPE__ECHO: 1703 return getEcho(); 1704 case OljPackage.LOADER_JOB_TYPE__COPY_TABLE: 1705 return getCopyTable(); 1706 case OljPackage.LOADER_JOB_TYPE__COMMIT: 1707 return getCommit(); 1708 case OljPackage.LOADER_JOB_TYPE__COMMIT_COUNT: 1709 return getCommitCount(); 1710 case OljPackage.LOADER_JOB_TYPE__DATA_CUT_OFF: 1711 return getDataCutOff(); 1712 case OljPackage.LOADER_JOB_TYPE__LOG_CLASS_NAME: 1713 return getLogClassName(); 1714 case OljPackage.LOADER_JOB_TYPE__LOG_COLUMN_NAME: 1715 return getLogColumnName(); 1716 case OljPackage.LOADER_JOB_TYPE__LOG_DIR: 1717 return getLogDir(); 1718 case OljPackage.LOADER_JOB_TYPE__LOG_FILE: 1719 return getLogFile(); 1720 case OljPackage.LOADER_JOB_TYPE__LOG_IMPORT_DEFINITION_NAME: 1721 return getLogImportDefinitionName(); 1722 case OljPackage.LOADER_JOB_TYPE__LOG_MODE: 1723 return getLogMode(); 1724 case OljPackage.LOADER_JOB_TYPE__LOG_NEW_VALUE: 1725 return getLogNewValue(); 1726 case OljPackage.LOADER_JOB_TYPE__LOG_OPERATION_NAME: 1727 return getLogOperationName(); 1728 case OljPackage.LOADER_JOB_TYPE__LOG_ORIGINAL_VALUE: 1729 return getLogOriginalValue(); 1730 case OljPackage.LOADER_JOB_TYPE__LOG_ROW_NUMBER: 1731 return getLogRowNumber(); 1732 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE: 1733 return getLogTable(); 1734 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE_NAME: 1735 return getLogTableName(); 1736 case OljPackage.LOADER_JOB_TYPE__LOG_TYPE_NAME: 1737 return getLogTypeName(); 1738 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_AUTO_CREATE: 1739 return getObjectIDAutoCreate(); 1740 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_COLUMN_NAME: 1741 return getObjectIDColumnName(); 1742 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_INCREMENT: 1743 return getObjectIDIncrement(); 1744 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 1745 return getObjectIDNameColumnName(); 1746 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 1747 return getObjectIDNameColumnValue(); 1748 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_START_VALUE: 1749 return getObjectIDStartValue(); 1750 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_TABLE_NAME: 1751 return getObjectIDTableName(); 1752 case OljPackage.LOADER_JOB_TYPE__OID_LOGIC: 1753 return getOidLogic(); 1754 case OljPackage.LOADER_JOB_TYPE__ON_ERROR_CONTINUE: 1755 return getOnErrorContinue(); 1756 case OljPackage.LOADER_JOB_TYPE__PATH_TO_LOGGER_CONF: 1757 return getPathToLoggerConf(); 1758 case OljPackage.LOADER_JOB_TYPE__RETURN_CODE: 1759 return getReturnCode(); 1760 case OljPackage.LOADER_JOB_TYPE__SET_CURSOR_NAME: 1761 return getSetCursorName(); 1762 case OljPackage.LOADER_JOB_TYPE__SET_FETCH_SIZE: 1763 return getSetFetchSize(); 1764 case OljPackage.LOADER_JOB_TYPE__TABLE_MODE: 1765 return getTableMode(); 1766 case OljPackage.LOADER_JOB_TYPE__USER_ID: 1767 return getUserID(); 1768 case OljPackage.LOADER_JOB_TYPE__VENDOR_CONFIG: 1769 return getVendorConfig(); 1770 } 1771 return eDynamicGet(eFeature, resolve); 1772 } 1773 1774 1779 public void eSet(EStructuralFeature eFeature, Object newValue) { 1780 switch (eDerivedStructuralFeatureID(eFeature)) { 1781 case OljPackage.LOADER_JOB_TYPE__GROUP: 1782 getGroup().clear(); 1783 getGroup().addAll((Collection )newValue); 1784 return; 1785 case OljPackage.LOADER_JOB_TYPE__SQL: 1786 getSql().clear(); 1787 getSql().addAll((Collection )newValue); 1788 return; 1789 case OljPackage.LOADER_JOB_TYPE__DEFINITION_INCLUDE: 1790 getDefinitionInclude().clear(); 1791 getDefinitionInclude().addAll((Collection )newValue); 1792 return; 1793 case OljPackage.LOADER_JOB_TYPE__IMPORT_DEFINITION: 1794 getImportDefinition().clear(); 1795 getImportDefinition().addAll((Collection )newValue); 1796 return; 1797 case OljPackage.LOADER_JOB_TYPE__RESTART_COUNTER: 1798 getRestartCounter().clear(); 1799 getRestartCounter().addAll((Collection )newValue); 1800 return; 1801 case OljPackage.LOADER_JOB_TYPE__VARIABLES: 1802 getVariables().clear(); 1803 getVariables().addAll((Collection )newValue); 1804 return; 1805 case OljPackage.LOADER_JOB_TYPE__JDBC_DEFAULT_PARAMETERS: 1806 getJdbcDefaultParameters().clear(); 1807 getJdbcDefaultParameters().addAll((Collection )newValue); 1808 return; 1809 case OljPackage.LOADER_JOB_TYPE__ECHO: 1810 getEcho().clear(); 1811 getEcho().addAll((Collection )newValue); 1812 return; 1813 case OljPackage.LOADER_JOB_TYPE__COPY_TABLE: 1814 getCopyTable().clear(); 1815 getCopyTable().addAll((Collection )newValue); 1816 return; 1817 case OljPackage.LOADER_JOB_TYPE__COMMIT: 1818 setCommit((String )newValue); 1819 return; 1820 case OljPackage.LOADER_JOB_TYPE__COMMIT_COUNT: 1821 setCommitCount((String )newValue); 1822 return; 1823 case OljPackage.LOADER_JOB_TYPE__DATA_CUT_OFF: 1824 setDataCutOff((DataCutOffType)newValue); 1825 return; 1826 case OljPackage.LOADER_JOB_TYPE__LOG_CLASS_NAME: 1827 setLogClassName((String )newValue); 1828 return; 1829 case OljPackage.LOADER_JOB_TYPE__LOG_COLUMN_NAME: 1830 setLogColumnName((String )newValue); 1831 return; 1832 case OljPackage.LOADER_JOB_TYPE__LOG_DIR: 1833 setLogDir((String )newValue); 1834 return; 1835 case OljPackage.LOADER_JOB_TYPE__LOG_FILE: 1836 setLogFile((String )newValue); 1837 return; 1838 case OljPackage.LOADER_JOB_TYPE__LOG_IMPORT_DEFINITION_NAME: 1839 setLogImportDefinitionName((String )newValue); 1840 return; 1841 case OljPackage.LOADER_JOB_TYPE__LOG_MODE: 1842 setLogMode((LogModeType1)newValue); 1843 return; 1844 case OljPackage.LOADER_JOB_TYPE__LOG_NEW_VALUE: 1845 setLogNewValue((String )newValue); 1846 return; 1847 case OljPackage.LOADER_JOB_TYPE__LOG_OPERATION_NAME: 1848 setLogOperationName((String )newValue); 1849 return; 1850 case OljPackage.LOADER_JOB_TYPE__LOG_ORIGINAL_VALUE: 1851 setLogOriginalValue((String )newValue); 1852 return; 1853 case OljPackage.LOADER_JOB_TYPE__LOG_ROW_NUMBER: 1854 setLogRowNumber((String )newValue); 1855 return; 1856 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE: 1857 setLogTable((String )newValue); 1858 return; 1859 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE_NAME: 1860 setLogTableName((String )newValue); 1861 return; 1862 case OljPackage.LOADER_JOB_TYPE__LOG_TYPE_NAME: 1863 setLogTypeName((String )newValue); 1864 return; 1865 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_AUTO_CREATE: 1866 setObjectIDAutoCreate((String )newValue); 1867 return; 1868 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_COLUMN_NAME: 1869 setObjectIDColumnName((String )newValue); 1870 return; 1871 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_INCREMENT: 1872 setObjectIDIncrement((String )newValue); 1873 return; 1874 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 1875 setObjectIDNameColumnName((String )newValue); 1876 return; 1877 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 1878 setObjectIDNameColumnValue((String )newValue); 1879 return; 1880 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_START_VALUE: 1881 setObjectIDStartValue((String )newValue); 1882 return; 1883 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_TABLE_NAME: 1884 setObjectIDTableName((String )newValue); 1885 return; 1886 case OljPackage.LOADER_JOB_TYPE__OID_LOGIC: 1887 setOidLogic((String )newValue); 1888 return; 1889 case OljPackage.LOADER_JOB_TYPE__ON_ERROR_CONTINUE: 1890 setOnErrorContinue((String )newValue); 1891 return; 1892 case OljPackage.LOADER_JOB_TYPE__PATH_TO_LOGGER_CONF: 1893 setPathToLoggerConf((String )newValue); 1894 return; 1895 case OljPackage.LOADER_JOB_TYPE__RETURN_CODE: 1896 setReturnCode((String )newValue); 1897 return; 1898 case OljPackage.LOADER_JOB_TYPE__SET_CURSOR_NAME: 1899 setSetCursorName((SetCursorNameType1)newValue); 1900 return; 1901 case OljPackage.LOADER_JOB_TYPE__SET_FETCH_SIZE: 1902 setSetFetchSize((SetFetchSizeType)newValue); 1903 return; 1904 case OljPackage.LOADER_JOB_TYPE__TABLE_MODE: 1905 setTableMode((String )newValue); 1906 return; 1907 case OljPackage.LOADER_JOB_TYPE__USER_ID: 1908 setUserID((String )newValue); 1909 return; 1910 case OljPackage.LOADER_JOB_TYPE__VENDOR_CONFIG: 1911 setVendorConfig((String )newValue); 1912 return; 1913 } 1914 eDynamicSet(eFeature, newValue); 1915 } 1916 1917 1922 public void eUnset(EStructuralFeature eFeature) { 1923 switch (eDerivedStructuralFeatureID(eFeature)) { 1924 case OljPackage.LOADER_JOB_TYPE__GROUP: 1925 getGroup().clear(); 1926 return; 1927 case OljPackage.LOADER_JOB_TYPE__SQL: 1928 getSql().clear(); 1929 return; 1930 case OljPackage.LOADER_JOB_TYPE__DEFINITION_INCLUDE: 1931 getDefinitionInclude().clear(); 1932 return; 1933 case OljPackage.LOADER_JOB_TYPE__IMPORT_DEFINITION: 1934 getImportDefinition().clear(); 1935 return; 1936 case OljPackage.LOADER_JOB_TYPE__RESTART_COUNTER: 1937 getRestartCounter().clear(); 1938 return; 1939 case OljPackage.LOADER_JOB_TYPE__VARIABLES: 1940 getVariables().clear(); 1941 return; 1942 case OljPackage.LOADER_JOB_TYPE__JDBC_DEFAULT_PARAMETERS: 1943 getJdbcDefaultParameters().clear(); 1944 return; 1945 case OljPackage.LOADER_JOB_TYPE__ECHO: 1946 getEcho().clear(); 1947 return; 1948 case OljPackage.LOADER_JOB_TYPE__COPY_TABLE: 1949 getCopyTable().clear(); 1950 return; 1951 case OljPackage.LOADER_JOB_TYPE__COMMIT: 1952 setCommit(COMMIT_EDEFAULT); 1953 return; 1954 case OljPackage.LOADER_JOB_TYPE__COMMIT_COUNT: 1955 setCommitCount(COMMIT_COUNT_EDEFAULT); 1956 return; 1957 case OljPackage.LOADER_JOB_TYPE__DATA_CUT_OFF: 1958 unsetDataCutOff(); 1959 return; 1960 case OljPackage.LOADER_JOB_TYPE__LOG_CLASS_NAME: 1961 setLogClassName(LOG_CLASS_NAME_EDEFAULT); 1962 return; 1963 case OljPackage.LOADER_JOB_TYPE__LOG_COLUMN_NAME: 1964 setLogColumnName(LOG_COLUMN_NAME_EDEFAULT); 1965 return; 1966 case OljPackage.LOADER_JOB_TYPE__LOG_DIR: 1967 setLogDir(LOG_DIR_EDEFAULT); 1968 return; 1969 case OljPackage.LOADER_JOB_TYPE__LOG_FILE: 1970 setLogFile(LOG_FILE_EDEFAULT); 1971 return; 1972 case OljPackage.LOADER_JOB_TYPE__LOG_IMPORT_DEFINITION_NAME: 1973 setLogImportDefinitionName(LOG_IMPORT_DEFINITION_NAME_EDEFAULT); 1974 return; 1975 case OljPackage.LOADER_JOB_TYPE__LOG_MODE: 1976 unsetLogMode(); 1977 return; 1978 case OljPackage.LOADER_JOB_TYPE__LOG_NEW_VALUE: 1979 setLogNewValue(LOG_NEW_VALUE_EDEFAULT); 1980 return; 1981 case OljPackage.LOADER_JOB_TYPE__LOG_OPERATION_NAME: 1982 setLogOperationName(LOG_OPERATION_NAME_EDEFAULT); 1983 return; 1984 case OljPackage.LOADER_JOB_TYPE__LOG_ORIGINAL_VALUE: 1985 setLogOriginalValue(LOG_ORIGINAL_VALUE_EDEFAULT); 1986 return; 1987 case OljPackage.LOADER_JOB_TYPE__LOG_ROW_NUMBER: 1988 setLogRowNumber(LOG_ROW_NUMBER_EDEFAULT); 1989 return; 1990 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE: 1991 setLogTable(LOG_TABLE_EDEFAULT); 1992 return; 1993 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE_NAME: 1994 setLogTableName(LOG_TABLE_NAME_EDEFAULT); 1995 return; 1996 case OljPackage.LOADER_JOB_TYPE__LOG_TYPE_NAME: 1997 setLogTypeName(LOG_TYPE_NAME_EDEFAULT); 1998 return; 1999 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_AUTO_CREATE: 2000 setObjectIDAutoCreate(OBJECT_ID_AUTO_CREATE_EDEFAULT); 2001 return; 2002 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_COLUMN_NAME: 2003 setObjectIDColumnName(OBJECT_ID_COLUMN_NAME_EDEFAULT); 2004 return; 2005 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_INCREMENT: 2006 setObjectIDIncrement(OBJECT_ID_INCREMENT_EDEFAULT); 2007 return; 2008 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 2009 setObjectIDNameColumnName(OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT); 2010 return; 2011 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 2012 setObjectIDNameColumnValue(OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT); 2013 return; 2014 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_START_VALUE: 2015 setObjectIDStartValue(OBJECT_ID_START_VALUE_EDEFAULT); 2016 return; 2017 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_TABLE_NAME: 2018 setObjectIDTableName(OBJECT_ID_TABLE_NAME_EDEFAULT); 2019 return; 2020 case OljPackage.LOADER_JOB_TYPE__OID_LOGIC: 2021 setOidLogic(OID_LOGIC_EDEFAULT); 2022 return; 2023 case OljPackage.LOADER_JOB_TYPE__ON_ERROR_CONTINUE: 2024 setOnErrorContinue(ON_ERROR_CONTINUE_EDEFAULT); 2025 return; 2026 case OljPackage.LOADER_JOB_TYPE__PATH_TO_LOGGER_CONF: 2027 setPathToLoggerConf(PATH_TO_LOGGER_CONF_EDEFAULT); 2028 return; 2029 case OljPackage.LOADER_JOB_TYPE__RETURN_CODE: 2030 setReturnCode(RETURN_CODE_EDEFAULT); 2031 return; 2032 case OljPackage.LOADER_JOB_TYPE__SET_CURSOR_NAME: 2033 unsetSetCursorName(); 2034 return; 2035 case OljPackage.LOADER_JOB_TYPE__SET_FETCH_SIZE: 2036 unsetSetFetchSize(); 2037 return; 2038 case OljPackage.LOADER_JOB_TYPE__TABLE_MODE: 2039 setTableMode(TABLE_MODE_EDEFAULT); 2040 return; 2041 case OljPackage.LOADER_JOB_TYPE__USER_ID: 2042 setUserID(USER_ID_EDEFAULT); 2043 return; 2044 case OljPackage.LOADER_JOB_TYPE__VENDOR_CONFIG: 2045 setVendorConfig(VENDOR_CONFIG_EDEFAULT); 2046 return; 2047 } 2048 eDynamicUnset(eFeature); 2049 } 2050 2051 2056 public boolean eIsSet(EStructuralFeature eFeature) { 2057 switch (eDerivedStructuralFeatureID(eFeature)) { 2058 case OljPackage.LOADER_JOB_TYPE__GROUP: 2059 return group != null && !group.isEmpty(); 2060 case OljPackage.LOADER_JOB_TYPE__SQL: 2061 return !getSql().isEmpty(); 2062 case OljPackage.LOADER_JOB_TYPE__DEFINITION_INCLUDE: 2063 return !getDefinitionInclude().isEmpty(); 2064 case OljPackage.LOADER_JOB_TYPE__IMPORT_DEFINITION: 2065 return !getImportDefinition().isEmpty(); 2066 case OljPackage.LOADER_JOB_TYPE__RESTART_COUNTER: 2067 return !getRestartCounter().isEmpty(); 2068 case OljPackage.LOADER_JOB_TYPE__VARIABLES: 2069 return !getVariables().isEmpty(); 2070 case OljPackage.LOADER_JOB_TYPE__JDBC_DEFAULT_PARAMETERS: 2071 return !getJdbcDefaultParameters().isEmpty(); 2072 case OljPackage.LOADER_JOB_TYPE__ECHO: 2073 return !getEcho().isEmpty(); 2074 case OljPackage.LOADER_JOB_TYPE__COPY_TABLE: 2075 return !getCopyTable().isEmpty(); 2076 case OljPackage.LOADER_JOB_TYPE__COMMIT: 2077 return COMMIT_EDEFAULT == null ? commit != null : !COMMIT_EDEFAULT.equals(commit); 2078 case OljPackage.LOADER_JOB_TYPE__COMMIT_COUNT: 2079 return COMMIT_COUNT_EDEFAULT == null ? commitCount != null : !COMMIT_COUNT_EDEFAULT.equals(commitCount); 2080 case OljPackage.LOADER_JOB_TYPE__DATA_CUT_OFF: 2081 return isSetDataCutOff(); 2082 case OljPackage.LOADER_JOB_TYPE__LOG_CLASS_NAME: 2083 return LOG_CLASS_NAME_EDEFAULT == null ? logClassName != null : !LOG_CLASS_NAME_EDEFAULT.equals(logClassName); 2084 case OljPackage.LOADER_JOB_TYPE__LOG_COLUMN_NAME: 2085 return LOG_COLUMN_NAME_EDEFAULT == null ? logColumnName != null : !LOG_COLUMN_NAME_EDEFAULT.equals(logColumnName); 2086 case OljPackage.LOADER_JOB_TYPE__LOG_DIR: 2087 return LOG_DIR_EDEFAULT == null ? logDir != null : !LOG_DIR_EDEFAULT.equals(logDir); 2088 case OljPackage.LOADER_JOB_TYPE__LOG_FILE: 2089 return LOG_FILE_EDEFAULT == null ? logFile != null : !LOG_FILE_EDEFAULT.equals(logFile); 2090 case OljPackage.LOADER_JOB_TYPE__LOG_IMPORT_DEFINITION_NAME: 2091 return LOG_IMPORT_DEFINITION_NAME_EDEFAULT == null ? logImportDefinitionName != null : !LOG_IMPORT_DEFINITION_NAME_EDEFAULT.equals(logImportDefinitionName); 2092 case OljPackage.LOADER_JOB_TYPE__LOG_MODE: 2093 return isSetLogMode(); 2094 case OljPackage.LOADER_JOB_TYPE__LOG_NEW_VALUE: 2095 return LOG_NEW_VALUE_EDEFAULT == null ? logNewValue != null : !LOG_NEW_VALUE_EDEFAULT.equals(logNewValue); 2096 case OljPackage.LOADER_JOB_TYPE__LOG_OPERATION_NAME: 2097 return LOG_OPERATION_NAME_EDEFAULT == null ? logOperationName != null : !LOG_OPERATION_NAME_EDEFAULT.equals(logOperationName); 2098 case OljPackage.LOADER_JOB_TYPE__LOG_ORIGINAL_VALUE: 2099 return LOG_ORIGINAL_VALUE_EDEFAULT == null ? logOriginalValue != null : !LOG_ORIGINAL_VALUE_EDEFAULT.equals(logOriginalValue); 2100 case OljPackage.LOADER_JOB_TYPE__LOG_ROW_NUMBER: 2101 return LOG_ROW_NUMBER_EDEFAULT == null ? logRowNumber != null : !LOG_ROW_NUMBER_EDEFAULT.equals(logRowNumber); 2102 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE: 2103 return LOG_TABLE_EDEFAULT == null ? logTable != null : !LOG_TABLE_EDEFAULT.equals(logTable); 2104 case OljPackage.LOADER_JOB_TYPE__LOG_TABLE_NAME: 2105 return LOG_TABLE_NAME_EDEFAULT == null ? logTableName != null : !LOG_TABLE_NAME_EDEFAULT.equals(logTableName); 2106 case OljPackage.LOADER_JOB_TYPE__LOG_TYPE_NAME: 2107 return LOG_TYPE_NAME_EDEFAULT == null ? logTypeName != null : !LOG_TYPE_NAME_EDEFAULT.equals(logTypeName); 2108 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_AUTO_CREATE: 2109 return OBJECT_ID_AUTO_CREATE_EDEFAULT == null ? objectIDAutoCreate != null : !OBJECT_ID_AUTO_CREATE_EDEFAULT.equals(objectIDAutoCreate); 2110 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_COLUMN_NAME: 2111 return OBJECT_ID_COLUMN_NAME_EDEFAULT == null ? objectIDColumnName != null : !OBJECT_ID_COLUMN_NAME_EDEFAULT.equals(objectIDColumnName); 2112 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_INCREMENT: 2113 return OBJECT_ID_INCREMENT_EDEFAULT == null ? objectIDIncrement != null : !OBJECT_ID_INCREMENT_EDEFAULT.equals(objectIDIncrement); 2114 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 2115 return OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT == null ? objectIDNameColumnName != null : !OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT.equals(objectIDNameColumnName); 2116 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 2117 return OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT == null ? objectIDNameColumnValue != null : !OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT.equals(objectIDNameColumnValue); 2118 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_START_VALUE: 2119 return OBJECT_ID_START_VALUE_EDEFAULT == null ? objectIDStartValue != null : !OBJECT_ID_START_VALUE_EDEFAULT.equals(objectIDStartValue); 2120 case OljPackage.LOADER_JOB_TYPE__OBJECT_ID_TABLE_NAME: 2121 return OBJECT_ID_TABLE_NAME_EDEFAULT == null ? objectIDTableName != null : !OBJECT_ID_TABLE_NAME_EDEFAULT.equals(objectIDTableName); 2122 case OljPackage.LOADER_JOB_TYPE__OID_LOGIC: 2123 return OID_LOGIC_EDEFAULT == null ? oidLogic != null : !OID_LOGIC_EDEFAULT.equals(oidLogic); 2124 case OljPackage.LOADER_JOB_TYPE__ON_ERROR_CONTINUE: 2125 return ON_ERROR_CONTINUE_EDEFAULT == null ? onErrorContinue != null : !ON_ERROR_CONTINUE_EDEFAULT.equals(onErrorContinue); 2126 case OljPackage.LOADER_JOB_TYPE__PATH_TO_LOGGER_CONF: 2127 return PATH_TO_LOGGER_CONF_EDEFAULT == null ? pathToLoggerConf != null : !PATH_TO_LOGGER_CONF_EDEFAULT.equals(pathToLoggerConf); 2128 case OljPackage.LOADER_JOB_TYPE__RETURN_CODE: 2129 return RETURN_CODE_EDEFAULT == null ? returnCode != null : !RETURN_CODE_EDEFAULT.equals(returnCode); 2130 case OljPackage.LOADER_JOB_TYPE__SET_CURSOR_NAME: 2131 return isSetSetCursorName(); 2132 case OljPackage.LOADER_JOB_TYPE__SET_FETCH_SIZE: 2133 return isSetSetFetchSize(); 2134 case OljPackage.LOADER_JOB_TYPE__TABLE_MODE: 2135 return TABLE_MODE_EDEFAULT == null ? tableMode != null : !TABLE_MODE_EDEFAULT.equals(tableMode); 2136 case OljPackage.LOADER_JOB_TYPE__USER_ID: 2137 return USER_ID_EDEFAULT == null ? userID != null : !USER_ID_EDEFAULT.equals(userID); 2138 case OljPackage.LOADER_JOB_TYPE__VENDOR_CONFIG: 2139 return VENDOR_CONFIG_EDEFAULT == null ? vendorConfig != null : !VENDOR_CONFIG_EDEFAULT.equals(vendorConfig); 2140 } 2141 return eDynamicIsSet(eFeature); 2142 } 2143 2144 2149 public String toString() { 2150 if (eIsProxy()) return super.toString(); 2151 2152 StringBuffer result = new StringBuffer (super.toString()); 2153 result.append(" (group: "); 2154 result.append(group); 2155 result.append(", commit: "); 2156 result.append(commit); 2157 result.append(", commitCount: "); 2158 result.append(commitCount); 2159 result.append(", dataCutOff: "); 2160 if (dataCutOffESet) result.append(dataCutOff); else result.append("<unset>"); 2161 result.append(", logClassName: "); 2162 result.append(logClassName); 2163 result.append(", logColumnName: "); 2164 result.append(logColumnName); 2165 result.append(", logDir: "); 2166 result.append(logDir); 2167 result.append(", logFile: "); 2168 result.append(logFile); 2169 result.append(", logImportDefinitionName: "); 2170 result.append(logImportDefinitionName); 2171 result.append(", logMode: "); 2172 if (logModeESet) result.append(logMode); else result.append("<unset>"); 2173 result.append(", logNewValue: "); 2174 result.append(logNewValue); 2175 result.append(", logOperationName: "); 2176 result.append(logOperationName); 2177 result.append(", logOriginalValue: "); 2178 result.append(logOriginalValue); 2179 result.append(", logRowNumber: "); 2180 result.append(logRowNumber); 2181 result.append(", logTable: "); 2182 result.append(logTable); 2183 result.append(", logTableName: "); 2184 result.append(logTableName); 2185 result.append(", logTypeName: "); 2186 result.append(logTypeName); 2187 result.append(", objectIDAutoCreate: "); 2188 result.append(objectIDAutoCreate); 2189 result.append(", objectIDColumnName: "); 2190 result.append(objectIDColumnName); 2191 result.append(", objectIDIncrement: "); 2192 result.append(objectIDIncrement); 2193 result.append(", objectIDNameColumnName: "); 2194 result.append(objectIDNameColumnName); 2195 result.append(", objectIDNameColumnValue: "); 2196 result.append(objectIDNameColumnValue); 2197 result.append(", objectIDStartValue: "); 2198 result.append(objectIDStartValue); 2199 result.append(", objectIDTableName: "); 2200 result.append(objectIDTableName); 2201 result.append(", oidLogic: "); 2202 result.append(oidLogic); 2203 result.append(", onErrorContinue: "); 2204 result.append(onErrorContinue); 2205 result.append(", pathToLoggerConf: "); 2206 result.append(pathToLoggerConf); 2207 result.append(", returnCode: "); 2208 result.append(returnCode); 2209 result.append(", setCursorName: "); 2210 if (setCursorNameESet) result.append(setCursorName); else result.append("<unset>"); 2211 result.append(", setFetchSize: "); 2212 if (setFetchSizeESet) result.append(setFetchSize); else result.append("<unset>"); 2213 result.append(", tableMode: "); 2214 result.append(tableMode); 2215 result.append(", userID: "); 2216 result.append(userID); 2217 result.append(", vendorConfig: "); 2218 result.append(vendorConfig); 2219 result.append(')'); 2220 return result.toString(); 2221 } 2222 2223} | Popular Tags |