1 7 package Olj.impl; 8 9 import Olj.ConstantColumnsType; 10 import Olj.CounterColumnsType; 11 import Olj.DataCutOffType1; 12 import Olj.ImportDefinitionType; 13 import Olj.JdbcParametersType; 14 import Olj.LogModeType2; 15 import Olj.OljPackage; 16 import Olj.OnErrorContinueType1; 17 import Olj.RelationColumnsType; 18 import Olj.SetCursorNameType; 19 import Olj.SetFetchSizeType1; 20 import Olj.SortColumnsType; 21 import Olj.TablesType; 22 import Olj.TransformationsType; 23 import Olj.ValueColumnsType; 24 import Olj.VariableColumnsType; 25 26 import org.eclipse.emf.common.notify.Notification; 27 import org.eclipse.emf.common.notify.NotificationChain; 28 29 import org.eclipse.emf.ecore.EClass; 30 import org.eclipse.emf.ecore.EStructuralFeature; 31 import org.eclipse.emf.ecore.InternalEObject; 32 33 import org.eclipse.emf.ecore.impl.ENotificationImpl; 34 import org.eclipse.emf.ecore.impl.EObjectImpl; 35 36 74 public class ImportDefinitionTypeImpl extends EObjectImpl implements ImportDefinitionType { 75 83 protected JdbcParametersType jdbcParameters = null; 84 85 93 protected SortColumnsType sortColumns = null; 94 95 103 protected ValueColumnsType valueColumns = null; 104 105 113 protected TablesType tables = null; 114 115 123 protected VariableColumnsType variableColumns = null; 124 125 133 protected ConstantColumnsType constantColumns = null; 134 135 143 protected RelationColumnsType relationColumns = null; 144 145 153 protected TransformationsType transformations = null; 154 155 163 protected CounterColumnsType counterColumns = null; 164 165 173 protected static final String COMMIT_COUNT_EDEFAULT = null; 174 175 183 protected String commitCount = COMMIT_COUNT_EDEFAULT; 184 185 193 protected static final DataCutOffType1 DATA_CUT_OFF_EDEFAULT = DataCutOffType1.TRUE_LITERAL; 194 195 203 protected DataCutOffType1 dataCutOff = DATA_CUT_OFF_EDEFAULT; 204 205 212 protected boolean dataCutOffESet = false; 213 214 222 protected static final LogModeType2 LOG_MODE_EDEFAULT = LogModeType2.NONE_LITERAL; 223 224 232 protected LogModeType2 logMode = LOG_MODE_EDEFAULT; 233 234 241 protected boolean logModeESet = false; 242 243 251 protected static final String NAME_EDEFAULT = null; 252 253 261 protected String name = NAME_EDEFAULT; 262 263 271 protected static final String OBJECT_ID_AUTO_CREATE_EDEFAULT = null; 272 273 281 protected String objectIDAutoCreate = OBJECT_ID_AUTO_CREATE_EDEFAULT; 282 283 291 protected static final String OBJECT_ID_COLUMN_NAME_EDEFAULT = null; 292 293 301 protected String objectIDColumnName = OBJECT_ID_COLUMN_NAME_EDEFAULT; 302 303 311 protected static final String OBJECT_ID_INCREMENT_EDEFAULT = null; 312 313 321 protected String objectIDIncrement = OBJECT_ID_INCREMENT_EDEFAULT; 322 323 331 protected static final String OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT = null; 332 333 341 protected String objectIDNameColumnName = OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT; 342 343 351 protected static final String OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT = null; 352 353 361 protected String objectIDNameColumnValue = OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT; 362 363 371 protected static final String OBJECT_ID_START_VALUE_EDEFAULT = null; 372 373 381 protected String objectIDStartValue = OBJECT_ID_START_VALUE_EDEFAULT; 382 383 391 protected static final String OBJECT_ID_TABLE_NAME_EDEFAULT = null; 392 393 401 protected String objectIDTableName = OBJECT_ID_TABLE_NAME_EDEFAULT; 402 403 411 protected static final OnErrorContinueType1 ON_ERROR_CONTINUE_EDEFAULT = OnErrorContinueType1.TRUE_LITERAL; 412 413 421 protected OnErrorContinueType1 onErrorContinue = ON_ERROR_CONTINUE_EDEFAULT; 422 423 430 protected boolean onErrorContinueESet = false; 431 432 440 protected static final String RETURN_CODE_EDEFAULT = null; 441 442 450 protected String returnCode = RETURN_CODE_EDEFAULT; 451 452 460 protected static final String SELECT_STATEMENT_EDEFAULT = null; 461 462 470 protected String selectStatement = SELECT_STATEMENT_EDEFAULT; 471 472 480 protected static final SetCursorNameType SET_CURSOR_NAME_EDEFAULT = SetCursorNameType.TRUE_LITERAL; 481 482 490 protected SetCursorNameType setCursorName = SET_CURSOR_NAME_EDEFAULT; 491 492 499 protected boolean setCursorNameESet = false; 500 501 509 protected static final SetFetchSizeType1 SET_FETCH_SIZE_EDEFAULT = SetFetchSizeType1.TRUE_LITERAL; 510 511 519 protected SetFetchSizeType1 setFetchSize = SET_FETCH_SIZE_EDEFAULT; 520 521 528 protected boolean setFetchSizeESet = false; 529 530 538 protected static final String TABLE_NAME_EDEFAULT = null; 539 540 548 protected String tableName = TABLE_NAME_EDEFAULT; 549 550 555 protected ImportDefinitionTypeImpl() { 556 super(); 557 } 558 559 564 protected EClass eStaticClass() { 565 return OljPackage.eINSTANCE.getImportDefinitionType(); 566 } 567 568 573 public JdbcParametersType getJdbcParameters() { 574 return jdbcParameters; 575 } 576 577 582 public NotificationChain basicSetJdbcParameters(JdbcParametersType newJdbcParameters, NotificationChain msgs) { 583 JdbcParametersType oldJdbcParameters = jdbcParameters; 584 jdbcParameters = newJdbcParameters; 585 if (eNotificationRequired()) { 586 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS, oldJdbcParameters, newJdbcParameters); 587 if (msgs == null) msgs = notification; else msgs.add(notification); 588 } 589 return msgs; 590 } 591 592 597 public void setJdbcParameters(JdbcParametersType newJdbcParameters) { 598 if (newJdbcParameters != jdbcParameters) { 599 NotificationChain msgs = null; 600 if (jdbcParameters != null) 601 msgs = ((InternalEObject)jdbcParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS, null, msgs); 602 if (newJdbcParameters != null) 603 msgs = ((InternalEObject)newJdbcParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS, null, msgs); 604 msgs = basicSetJdbcParameters(newJdbcParameters, msgs); 605 if (msgs != null) msgs.dispatch(); 606 } 607 else if (eNotificationRequired()) 608 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS, newJdbcParameters, newJdbcParameters)); 609 } 610 611 616 public SortColumnsType getSortColumns() { 617 return sortColumns; 618 } 619 620 625 public NotificationChain basicSetSortColumns(SortColumnsType newSortColumns, NotificationChain msgs) { 626 SortColumnsType oldSortColumns = sortColumns; 627 sortColumns = newSortColumns; 628 if (eNotificationRequired()) { 629 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS, oldSortColumns, newSortColumns); 630 if (msgs == null) msgs = notification; else msgs.add(notification); 631 } 632 return msgs; 633 } 634 635 640 public void setSortColumns(SortColumnsType newSortColumns) { 641 if (newSortColumns != sortColumns) { 642 NotificationChain msgs = null; 643 if (sortColumns != null) 644 msgs = ((InternalEObject)sortColumns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS, null, msgs); 645 if (newSortColumns != null) 646 msgs = ((InternalEObject)newSortColumns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS, null, msgs); 647 msgs = basicSetSortColumns(newSortColumns, msgs); 648 if (msgs != null) msgs.dispatch(); 649 } 650 else if (eNotificationRequired()) 651 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS, newSortColumns, newSortColumns)); 652 } 653 654 659 public ValueColumnsType getValueColumns() { 660 return valueColumns; 661 } 662 663 668 public NotificationChain basicSetValueColumns(ValueColumnsType newValueColumns, NotificationChain msgs) { 669 ValueColumnsType oldValueColumns = valueColumns; 670 valueColumns = newValueColumns; 671 if (eNotificationRequired()) { 672 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS, oldValueColumns, newValueColumns); 673 if (msgs == null) msgs = notification; else msgs.add(notification); 674 } 675 return msgs; 676 } 677 678 683 public void setValueColumns(ValueColumnsType newValueColumns) { 684 if (newValueColumns != valueColumns) { 685 NotificationChain msgs = null; 686 if (valueColumns != null) 687 msgs = ((InternalEObject)valueColumns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS, null, msgs); 688 if (newValueColumns != null) 689 msgs = ((InternalEObject)newValueColumns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS, null, msgs); 690 msgs = basicSetValueColumns(newValueColumns, msgs); 691 if (msgs != null) msgs.dispatch(); 692 } 693 else if (eNotificationRequired()) 694 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS, newValueColumns, newValueColumns)); 695 } 696 697 702 public TablesType getTables() { 703 return tables; 704 } 705 706 711 public NotificationChain basicSetTables(TablesType newTables, NotificationChain msgs) { 712 TablesType oldTables = tables; 713 tables = newTables; 714 if (eNotificationRequired()) { 715 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__TABLES, oldTables, newTables); 716 if (msgs == null) msgs = notification; else msgs.add(notification); 717 } 718 return msgs; 719 } 720 721 726 public void setTables(TablesType newTables) { 727 if (newTables != tables) { 728 NotificationChain msgs = null; 729 if (tables != null) 730 msgs = ((InternalEObject)tables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__TABLES, null, msgs); 731 if (newTables != null) 732 msgs = ((InternalEObject)newTables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__TABLES, null, msgs); 733 msgs = basicSetTables(newTables, msgs); 734 if (msgs != null) msgs.dispatch(); 735 } 736 else if (eNotificationRequired()) 737 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__TABLES, newTables, newTables)); 738 } 739 740 745 public VariableColumnsType getVariableColumns() { 746 return variableColumns; 747 } 748 749 754 public NotificationChain basicSetVariableColumns(VariableColumnsType newVariableColumns, NotificationChain msgs) { 755 VariableColumnsType oldVariableColumns = variableColumns; 756 variableColumns = newVariableColumns; 757 if (eNotificationRequired()) { 758 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS, oldVariableColumns, newVariableColumns); 759 if (msgs == null) msgs = notification; else msgs.add(notification); 760 } 761 return msgs; 762 } 763 764 769 public void setVariableColumns(VariableColumnsType newVariableColumns) { 770 if (newVariableColumns != variableColumns) { 771 NotificationChain msgs = null; 772 if (variableColumns != null) 773 msgs = ((InternalEObject)variableColumns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS, null, msgs); 774 if (newVariableColumns != null) 775 msgs = ((InternalEObject)newVariableColumns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS, null, msgs); 776 msgs = basicSetVariableColumns(newVariableColumns, msgs); 777 if (msgs != null) msgs.dispatch(); 778 } 779 else if (eNotificationRequired()) 780 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS, newVariableColumns, newVariableColumns)); 781 } 782 783 788 public ConstantColumnsType getConstantColumns() { 789 return constantColumns; 790 } 791 792 797 public NotificationChain basicSetConstantColumns(ConstantColumnsType newConstantColumns, NotificationChain msgs) { 798 ConstantColumnsType oldConstantColumns = constantColumns; 799 constantColumns = newConstantColumns; 800 if (eNotificationRequired()) { 801 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS, oldConstantColumns, newConstantColumns); 802 if (msgs == null) msgs = notification; else msgs.add(notification); 803 } 804 return msgs; 805 } 806 807 812 public void setConstantColumns(ConstantColumnsType newConstantColumns) { 813 if (newConstantColumns != constantColumns) { 814 NotificationChain msgs = null; 815 if (constantColumns != null) 816 msgs = ((InternalEObject)constantColumns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS, null, msgs); 817 if (newConstantColumns != null) 818 msgs = ((InternalEObject)newConstantColumns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS, null, msgs); 819 msgs = basicSetConstantColumns(newConstantColumns, msgs); 820 if (msgs != null) msgs.dispatch(); 821 } 822 else if (eNotificationRequired()) 823 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS, newConstantColumns, newConstantColumns)); 824 } 825 826 831 public RelationColumnsType getRelationColumns() { 832 return relationColumns; 833 } 834 835 840 public NotificationChain basicSetRelationColumns(RelationColumnsType newRelationColumns, NotificationChain msgs) { 841 RelationColumnsType oldRelationColumns = relationColumns; 842 relationColumns = newRelationColumns; 843 if (eNotificationRequired()) { 844 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS, oldRelationColumns, newRelationColumns); 845 if (msgs == null) msgs = notification; else msgs.add(notification); 846 } 847 return msgs; 848 } 849 850 855 public void setRelationColumns(RelationColumnsType newRelationColumns) { 856 if (newRelationColumns != relationColumns) { 857 NotificationChain msgs = null; 858 if (relationColumns != null) 859 msgs = ((InternalEObject)relationColumns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS, null, msgs); 860 if (newRelationColumns != null) 861 msgs = ((InternalEObject)newRelationColumns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS, null, msgs); 862 msgs = basicSetRelationColumns(newRelationColumns, msgs); 863 if (msgs != null) msgs.dispatch(); 864 } 865 else if (eNotificationRequired()) 866 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS, newRelationColumns, newRelationColumns)); 867 } 868 869 874 public TransformationsType getTransformations() { 875 return transformations; 876 } 877 878 883 public NotificationChain basicSetTransformations(TransformationsType newTransformations, NotificationChain msgs) { 884 TransformationsType oldTransformations = transformations; 885 transformations = newTransformations; 886 if (eNotificationRequired()) { 887 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS, oldTransformations, newTransformations); 888 if (msgs == null) msgs = notification; else msgs.add(notification); 889 } 890 return msgs; 891 } 892 893 898 public void setTransformations(TransformationsType newTransformations) { 899 if (newTransformations != transformations) { 900 NotificationChain msgs = null; 901 if (transformations != null) 902 msgs = ((InternalEObject)transformations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS, null, msgs); 903 if (newTransformations != null) 904 msgs = ((InternalEObject)newTransformations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS, null, msgs); 905 msgs = basicSetTransformations(newTransformations, msgs); 906 if (msgs != null) msgs.dispatch(); 907 } 908 else if (eNotificationRequired()) 909 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS, newTransformations, newTransformations)); 910 } 911 912 917 public CounterColumnsType getCounterColumns() { 918 return counterColumns; 919 } 920 921 926 public NotificationChain basicSetCounterColumns(CounterColumnsType newCounterColumns, NotificationChain msgs) { 927 CounterColumnsType oldCounterColumns = counterColumns; 928 counterColumns = newCounterColumns; 929 if (eNotificationRequired()) { 930 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS, oldCounterColumns, newCounterColumns); 931 if (msgs == null) msgs = notification; else msgs.add(notification); 932 } 933 return msgs; 934 } 935 936 941 public void setCounterColumns(CounterColumnsType newCounterColumns) { 942 if (newCounterColumns != counterColumns) { 943 NotificationChain msgs = null; 944 if (counterColumns != null) 945 msgs = ((InternalEObject)counterColumns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS, null, msgs); 946 if (newCounterColumns != null) 947 msgs = ((InternalEObject)newCounterColumns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS, null, msgs); 948 msgs = basicSetCounterColumns(newCounterColumns, msgs); 949 if (msgs != null) msgs.dispatch(); 950 } 951 else if (eNotificationRequired()) 952 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS, newCounterColumns, newCounterColumns)); 953 } 954 955 960 public String getCommitCount() { 961 return commitCount; 962 } 963 964 969 public void setCommitCount(String newCommitCount) { 970 String oldCommitCount = commitCount; 971 commitCount = newCommitCount; 972 if (eNotificationRequired()) 973 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__COMMIT_COUNT, oldCommitCount, commitCount)); 974 } 975 976 981 public DataCutOffType1 getDataCutOff() { 982 return dataCutOff; 983 } 984 985 990 public void setDataCutOff(DataCutOffType1 newDataCutOff) { 991 DataCutOffType1 oldDataCutOff = dataCutOff; 992 dataCutOff = newDataCutOff == null ? DATA_CUT_OFF_EDEFAULT : newDataCutOff; 993 boolean oldDataCutOffESet = dataCutOffESet; 994 dataCutOffESet = true; 995 if (eNotificationRequired()) 996 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__DATA_CUT_OFF, oldDataCutOff, dataCutOff, !oldDataCutOffESet)); 997 } 998 999 1004 public void unsetDataCutOff() { 1005 DataCutOffType1 oldDataCutOff = dataCutOff; 1006 boolean oldDataCutOffESet = dataCutOffESet; 1007 dataCutOff = DATA_CUT_OFF_EDEFAULT; 1008 dataCutOffESet = false; 1009 if (eNotificationRequired()) 1010 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.IMPORT_DEFINITION_TYPE__DATA_CUT_OFF, oldDataCutOff, DATA_CUT_OFF_EDEFAULT, oldDataCutOffESet)); 1011 } 1012 1013 1018 public boolean isSetDataCutOff() { 1019 return dataCutOffESet; 1020 } 1021 1022 1027 public LogModeType2 getLogMode() { 1028 return logMode; 1029 } 1030 1031 1036 public void setLogMode(LogModeType2 newLogMode) { 1037 LogModeType2 oldLogMode = logMode; 1038 logMode = newLogMode == null ? LOG_MODE_EDEFAULT : newLogMode; 1039 boolean oldLogModeESet = logModeESet; 1040 logModeESet = true; 1041 if (eNotificationRequired()) 1042 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__LOG_MODE, oldLogMode, logMode, !oldLogModeESet)); 1043 } 1044 1045 1050 public void unsetLogMode() { 1051 LogModeType2 oldLogMode = logMode; 1052 boolean oldLogModeESet = logModeESet; 1053 logMode = LOG_MODE_EDEFAULT; 1054 logModeESet = false; 1055 if (eNotificationRequired()) 1056 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.IMPORT_DEFINITION_TYPE__LOG_MODE, oldLogMode, LOG_MODE_EDEFAULT, oldLogModeESet)); 1057 } 1058 1059 1064 public boolean isSetLogMode() { 1065 return logModeESet; 1066 } 1067 1068 1073 public String getName() { 1074 return name; 1075 } 1076 1077 1082 public void setName(String newName) { 1083 String oldName = name; 1084 name = newName; 1085 if (eNotificationRequired()) 1086 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__NAME, oldName, name)); 1087 } 1088 1089 1094 public String getObjectIDAutoCreate() { 1095 return objectIDAutoCreate; 1096 } 1097 1098 1103 public void setObjectIDAutoCreate(String newObjectIDAutoCreate) { 1104 String oldObjectIDAutoCreate = objectIDAutoCreate; 1105 objectIDAutoCreate = newObjectIDAutoCreate; 1106 if (eNotificationRequired()) 1107 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_AUTO_CREATE, oldObjectIDAutoCreate, objectIDAutoCreate)); 1108 } 1109 1110 1115 public String getObjectIDColumnName() { 1116 return objectIDColumnName; 1117 } 1118 1119 1124 public void setObjectIDColumnName(String newObjectIDColumnName) { 1125 String oldObjectIDColumnName = objectIDColumnName; 1126 objectIDColumnName = newObjectIDColumnName; 1127 if (eNotificationRequired()) 1128 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_COLUMN_NAME, oldObjectIDColumnName, objectIDColumnName)); 1129 } 1130 1131 1136 public String getObjectIDIncrement() { 1137 return objectIDIncrement; 1138 } 1139 1140 1145 public void setObjectIDIncrement(String newObjectIDIncrement) { 1146 String oldObjectIDIncrement = objectIDIncrement; 1147 objectIDIncrement = newObjectIDIncrement; 1148 if (eNotificationRequired()) 1149 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_INCREMENT, oldObjectIDIncrement, objectIDIncrement)); 1150 } 1151 1152 1157 public String getObjectIDNameColumnName() { 1158 return objectIDNameColumnName; 1159 } 1160 1161 1166 public void setObjectIDNameColumnName(String newObjectIDNameColumnName) { 1167 String oldObjectIDNameColumnName = objectIDNameColumnName; 1168 objectIDNameColumnName = newObjectIDNameColumnName; 1169 if (eNotificationRequired()) 1170 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_NAME, oldObjectIDNameColumnName, objectIDNameColumnName)); 1171 } 1172 1173 1178 public String getObjectIDNameColumnValue() { 1179 return objectIDNameColumnValue; 1180 } 1181 1182 1187 public void setObjectIDNameColumnValue(String newObjectIDNameColumnValue) { 1188 String oldObjectIDNameColumnValue = objectIDNameColumnValue; 1189 objectIDNameColumnValue = newObjectIDNameColumnValue; 1190 if (eNotificationRequired()) 1191 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_VALUE, oldObjectIDNameColumnValue, objectIDNameColumnValue)); 1192 } 1193 1194 1199 public String getObjectIDStartValue() { 1200 return objectIDStartValue; 1201 } 1202 1203 1208 public void setObjectIDStartValue(String newObjectIDStartValue) { 1209 String oldObjectIDStartValue = objectIDStartValue; 1210 objectIDStartValue = newObjectIDStartValue; 1211 if (eNotificationRequired()) 1212 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_START_VALUE, oldObjectIDStartValue, objectIDStartValue)); 1213 } 1214 1215 1220 public String getObjectIDTableName() { 1221 return objectIDTableName; 1222 } 1223 1224 1229 public void setObjectIDTableName(String newObjectIDTableName) { 1230 String oldObjectIDTableName = objectIDTableName; 1231 objectIDTableName = newObjectIDTableName; 1232 if (eNotificationRequired()) 1233 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_TABLE_NAME, oldObjectIDTableName, objectIDTableName)); 1234 } 1235 1236 1241 public OnErrorContinueType1 getOnErrorContinue() { 1242 return onErrorContinue; 1243 } 1244 1245 1250 public void setOnErrorContinue(OnErrorContinueType1 newOnErrorContinue) { 1251 OnErrorContinueType1 oldOnErrorContinue = onErrorContinue; 1252 onErrorContinue = newOnErrorContinue == null ? ON_ERROR_CONTINUE_EDEFAULT : newOnErrorContinue; 1253 boolean oldOnErrorContinueESet = onErrorContinueESet; 1254 onErrorContinueESet = true; 1255 if (eNotificationRequired()) 1256 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__ON_ERROR_CONTINUE, oldOnErrorContinue, onErrorContinue, !oldOnErrorContinueESet)); 1257 } 1258 1259 1264 public void unsetOnErrorContinue() { 1265 OnErrorContinueType1 oldOnErrorContinue = onErrorContinue; 1266 boolean oldOnErrorContinueESet = onErrorContinueESet; 1267 onErrorContinue = ON_ERROR_CONTINUE_EDEFAULT; 1268 onErrorContinueESet = false; 1269 if (eNotificationRequired()) 1270 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.IMPORT_DEFINITION_TYPE__ON_ERROR_CONTINUE, oldOnErrorContinue, ON_ERROR_CONTINUE_EDEFAULT, oldOnErrorContinueESet)); 1271 } 1272 1273 1278 public boolean isSetOnErrorContinue() { 1279 return onErrorContinueESet; 1280 } 1281 1282 1287 public String getReturnCode() { 1288 return returnCode; 1289 } 1290 1291 1296 public void setReturnCode(String newReturnCode) { 1297 String oldReturnCode = returnCode; 1298 returnCode = newReturnCode; 1299 if (eNotificationRequired()) 1300 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__RETURN_CODE, oldReturnCode, returnCode)); 1301 } 1302 1303 1308 public String getSelectStatement() { 1309 return selectStatement; 1310 } 1311 1312 1317 public void setSelectStatement(String newSelectStatement) { 1318 String oldSelectStatement = selectStatement; 1319 selectStatement = newSelectStatement; 1320 if (eNotificationRequired()) 1321 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__SELECT_STATEMENT, oldSelectStatement, selectStatement)); 1322 } 1323 1324 1329 public SetCursorNameType getSetCursorName() { 1330 return setCursorName; 1331 } 1332 1333 1338 public void setSetCursorName(SetCursorNameType newSetCursorName) { 1339 SetCursorNameType oldSetCursorName = setCursorName; 1340 setCursorName = newSetCursorName == null ? SET_CURSOR_NAME_EDEFAULT : newSetCursorName; 1341 boolean oldSetCursorNameESet = setCursorNameESet; 1342 setCursorNameESet = true; 1343 if (eNotificationRequired()) 1344 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__SET_CURSOR_NAME, oldSetCursorName, setCursorName, !oldSetCursorNameESet)); 1345 } 1346 1347 1352 public void unsetSetCursorName() { 1353 SetCursorNameType oldSetCursorName = setCursorName; 1354 boolean oldSetCursorNameESet = setCursorNameESet; 1355 setCursorName = SET_CURSOR_NAME_EDEFAULT; 1356 setCursorNameESet = false; 1357 if (eNotificationRequired()) 1358 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.IMPORT_DEFINITION_TYPE__SET_CURSOR_NAME, oldSetCursorName, SET_CURSOR_NAME_EDEFAULT, oldSetCursorNameESet)); 1359 } 1360 1361 1366 public boolean isSetSetCursorName() { 1367 return setCursorNameESet; 1368 } 1369 1370 1375 public SetFetchSizeType1 getSetFetchSize() { 1376 return setFetchSize; 1377 } 1378 1379 1384 public void setSetFetchSize(SetFetchSizeType1 newSetFetchSize) { 1385 SetFetchSizeType1 oldSetFetchSize = setFetchSize; 1386 setFetchSize = newSetFetchSize == null ? SET_FETCH_SIZE_EDEFAULT : newSetFetchSize; 1387 boolean oldSetFetchSizeESet = setFetchSizeESet; 1388 setFetchSizeESet = true; 1389 if (eNotificationRequired()) 1390 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__SET_FETCH_SIZE, oldSetFetchSize, setFetchSize, !oldSetFetchSizeESet)); 1391 } 1392 1393 1398 public void unsetSetFetchSize() { 1399 SetFetchSizeType1 oldSetFetchSize = setFetchSize; 1400 boolean oldSetFetchSizeESet = setFetchSizeESet; 1401 setFetchSize = SET_FETCH_SIZE_EDEFAULT; 1402 setFetchSizeESet = false; 1403 if (eNotificationRequired()) 1404 eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.IMPORT_DEFINITION_TYPE__SET_FETCH_SIZE, oldSetFetchSize, SET_FETCH_SIZE_EDEFAULT, oldSetFetchSizeESet)); 1405 } 1406 1407 1412 public boolean isSetSetFetchSize() { 1413 return setFetchSizeESet; 1414 } 1415 1416 1421 public String getTableName() { 1422 return tableName; 1423 } 1424 1425 1430 public void setTableName(String newTableName) { 1431 String oldTableName = tableName; 1432 tableName = newTableName; 1433 if (eNotificationRequired()) 1434 eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.IMPORT_DEFINITION_TYPE__TABLE_NAME, oldTableName, tableName)); 1435 } 1436 1437 1442 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { 1443 if (featureID >= 0) { 1444 switch (eDerivedStructuralFeatureID(featureID, baseClass)) { 1445 case OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS: 1446 return basicSetJdbcParameters(null, msgs); 1447 case OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS: 1448 return basicSetSortColumns(null, msgs); 1449 case OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS: 1450 return basicSetValueColumns(null, msgs); 1451 case OljPackage.IMPORT_DEFINITION_TYPE__TABLES: 1452 return basicSetTables(null, msgs); 1453 case OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS: 1454 return basicSetVariableColumns(null, msgs); 1455 case OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS: 1456 return basicSetConstantColumns(null, msgs); 1457 case OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS: 1458 return basicSetRelationColumns(null, msgs); 1459 case OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS: 1460 return basicSetTransformations(null, msgs); 1461 case OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS: 1462 return basicSetCounterColumns(null, msgs); 1463 default: 1464 return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); 1465 } 1466 } 1467 return eBasicSetContainer(null, featureID, msgs); 1468 } 1469 1470 1475 public Object eGet(EStructuralFeature eFeature, boolean resolve) { 1476 switch (eDerivedStructuralFeatureID(eFeature)) { 1477 case OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS: 1478 return getJdbcParameters(); 1479 case OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS: 1480 return getSortColumns(); 1481 case OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS: 1482 return getValueColumns(); 1483 case OljPackage.IMPORT_DEFINITION_TYPE__TABLES: 1484 return getTables(); 1485 case OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS: 1486 return getVariableColumns(); 1487 case OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS: 1488 return getConstantColumns(); 1489 case OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS: 1490 return getRelationColumns(); 1491 case OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS: 1492 return getTransformations(); 1493 case OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS: 1494 return getCounterColumns(); 1495 case OljPackage.IMPORT_DEFINITION_TYPE__COMMIT_COUNT: 1496 return getCommitCount(); 1497 case OljPackage.IMPORT_DEFINITION_TYPE__DATA_CUT_OFF: 1498 return getDataCutOff(); 1499 case OljPackage.IMPORT_DEFINITION_TYPE__LOG_MODE: 1500 return getLogMode(); 1501 case OljPackage.IMPORT_DEFINITION_TYPE__NAME: 1502 return getName(); 1503 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_AUTO_CREATE: 1504 return getObjectIDAutoCreate(); 1505 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_COLUMN_NAME: 1506 return getObjectIDColumnName(); 1507 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_INCREMENT: 1508 return getObjectIDIncrement(); 1509 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 1510 return getObjectIDNameColumnName(); 1511 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 1512 return getObjectIDNameColumnValue(); 1513 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_START_VALUE: 1514 return getObjectIDStartValue(); 1515 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_TABLE_NAME: 1516 return getObjectIDTableName(); 1517 case OljPackage.IMPORT_DEFINITION_TYPE__ON_ERROR_CONTINUE: 1518 return getOnErrorContinue(); 1519 case OljPackage.IMPORT_DEFINITION_TYPE__RETURN_CODE: 1520 return getReturnCode(); 1521 case OljPackage.IMPORT_DEFINITION_TYPE__SELECT_STATEMENT: 1522 return getSelectStatement(); 1523 case OljPackage.IMPORT_DEFINITION_TYPE__SET_CURSOR_NAME: 1524 return getSetCursorName(); 1525 case OljPackage.IMPORT_DEFINITION_TYPE__SET_FETCH_SIZE: 1526 return getSetFetchSize(); 1527 case OljPackage.IMPORT_DEFINITION_TYPE__TABLE_NAME: 1528 return getTableName(); 1529 } 1530 return eDynamicGet(eFeature, resolve); 1531 } 1532 1533 1538 public void eSet(EStructuralFeature eFeature, Object newValue) { 1539 switch (eDerivedStructuralFeatureID(eFeature)) { 1540 case OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS: 1541 setJdbcParameters((JdbcParametersType)newValue); 1542 return; 1543 case OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS: 1544 setSortColumns((SortColumnsType)newValue); 1545 return; 1546 case OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS: 1547 setValueColumns((ValueColumnsType)newValue); 1548 return; 1549 case OljPackage.IMPORT_DEFINITION_TYPE__TABLES: 1550 setTables((TablesType)newValue); 1551 return; 1552 case OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS: 1553 setVariableColumns((VariableColumnsType)newValue); 1554 return; 1555 case OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS: 1556 setConstantColumns((ConstantColumnsType)newValue); 1557 return; 1558 case OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS: 1559 setRelationColumns((RelationColumnsType)newValue); 1560 return; 1561 case OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS: 1562 setTransformations((TransformationsType)newValue); 1563 return; 1564 case OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS: 1565 setCounterColumns((CounterColumnsType)newValue); 1566 return; 1567 case OljPackage.IMPORT_DEFINITION_TYPE__COMMIT_COUNT: 1568 setCommitCount((String )newValue); 1569 return; 1570 case OljPackage.IMPORT_DEFINITION_TYPE__DATA_CUT_OFF: 1571 setDataCutOff((DataCutOffType1)newValue); 1572 return; 1573 case OljPackage.IMPORT_DEFINITION_TYPE__LOG_MODE: 1574 setLogMode((LogModeType2)newValue); 1575 return; 1576 case OljPackage.IMPORT_DEFINITION_TYPE__NAME: 1577 setName((String )newValue); 1578 return; 1579 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_AUTO_CREATE: 1580 setObjectIDAutoCreate((String )newValue); 1581 return; 1582 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_COLUMN_NAME: 1583 setObjectIDColumnName((String )newValue); 1584 return; 1585 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_INCREMENT: 1586 setObjectIDIncrement((String )newValue); 1587 return; 1588 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 1589 setObjectIDNameColumnName((String )newValue); 1590 return; 1591 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 1592 setObjectIDNameColumnValue((String )newValue); 1593 return; 1594 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_START_VALUE: 1595 setObjectIDStartValue((String )newValue); 1596 return; 1597 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_TABLE_NAME: 1598 setObjectIDTableName((String )newValue); 1599 return; 1600 case OljPackage.IMPORT_DEFINITION_TYPE__ON_ERROR_CONTINUE: 1601 setOnErrorContinue((OnErrorContinueType1)newValue); 1602 return; 1603 case OljPackage.IMPORT_DEFINITION_TYPE__RETURN_CODE: 1604 setReturnCode((String )newValue); 1605 return; 1606 case OljPackage.IMPORT_DEFINITION_TYPE__SELECT_STATEMENT: 1607 setSelectStatement((String )newValue); 1608 return; 1609 case OljPackage.IMPORT_DEFINITION_TYPE__SET_CURSOR_NAME: 1610 setSetCursorName((SetCursorNameType)newValue); 1611 return; 1612 case OljPackage.IMPORT_DEFINITION_TYPE__SET_FETCH_SIZE: 1613 setSetFetchSize((SetFetchSizeType1)newValue); 1614 return; 1615 case OljPackage.IMPORT_DEFINITION_TYPE__TABLE_NAME: 1616 setTableName((String )newValue); 1617 return; 1618 } 1619 eDynamicSet(eFeature, newValue); 1620 } 1621 1622 1627 public void eUnset(EStructuralFeature eFeature) { 1628 switch (eDerivedStructuralFeatureID(eFeature)) { 1629 case OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS: 1630 setJdbcParameters((JdbcParametersType)null); 1631 return; 1632 case OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS: 1633 setSortColumns((SortColumnsType)null); 1634 return; 1635 case OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS: 1636 setValueColumns((ValueColumnsType)null); 1637 return; 1638 case OljPackage.IMPORT_DEFINITION_TYPE__TABLES: 1639 setTables((TablesType)null); 1640 return; 1641 case OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS: 1642 setVariableColumns((VariableColumnsType)null); 1643 return; 1644 case OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS: 1645 setConstantColumns((ConstantColumnsType)null); 1646 return; 1647 case OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS: 1648 setRelationColumns((RelationColumnsType)null); 1649 return; 1650 case OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS: 1651 setTransformations((TransformationsType)null); 1652 return; 1653 case OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS: 1654 setCounterColumns((CounterColumnsType)null); 1655 return; 1656 case OljPackage.IMPORT_DEFINITION_TYPE__COMMIT_COUNT: 1657 setCommitCount(COMMIT_COUNT_EDEFAULT); 1658 return; 1659 case OljPackage.IMPORT_DEFINITION_TYPE__DATA_CUT_OFF: 1660 unsetDataCutOff(); 1661 return; 1662 case OljPackage.IMPORT_DEFINITION_TYPE__LOG_MODE: 1663 unsetLogMode(); 1664 return; 1665 case OljPackage.IMPORT_DEFINITION_TYPE__NAME: 1666 setName(NAME_EDEFAULT); 1667 return; 1668 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_AUTO_CREATE: 1669 setObjectIDAutoCreate(OBJECT_ID_AUTO_CREATE_EDEFAULT); 1670 return; 1671 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_COLUMN_NAME: 1672 setObjectIDColumnName(OBJECT_ID_COLUMN_NAME_EDEFAULT); 1673 return; 1674 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_INCREMENT: 1675 setObjectIDIncrement(OBJECT_ID_INCREMENT_EDEFAULT); 1676 return; 1677 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 1678 setObjectIDNameColumnName(OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT); 1679 return; 1680 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 1681 setObjectIDNameColumnValue(OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT); 1682 return; 1683 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_START_VALUE: 1684 setObjectIDStartValue(OBJECT_ID_START_VALUE_EDEFAULT); 1685 return; 1686 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_TABLE_NAME: 1687 setObjectIDTableName(OBJECT_ID_TABLE_NAME_EDEFAULT); 1688 return; 1689 case OljPackage.IMPORT_DEFINITION_TYPE__ON_ERROR_CONTINUE: 1690 unsetOnErrorContinue(); 1691 return; 1692 case OljPackage.IMPORT_DEFINITION_TYPE__RETURN_CODE: 1693 setReturnCode(RETURN_CODE_EDEFAULT); 1694 return; 1695 case OljPackage.IMPORT_DEFINITION_TYPE__SELECT_STATEMENT: 1696 setSelectStatement(SELECT_STATEMENT_EDEFAULT); 1697 return; 1698 case OljPackage.IMPORT_DEFINITION_TYPE__SET_CURSOR_NAME: 1699 unsetSetCursorName(); 1700 return; 1701 case OljPackage.IMPORT_DEFINITION_TYPE__SET_FETCH_SIZE: 1702 unsetSetFetchSize(); 1703 return; 1704 case OljPackage.IMPORT_DEFINITION_TYPE__TABLE_NAME: 1705 setTableName(TABLE_NAME_EDEFAULT); 1706 return; 1707 } 1708 eDynamicUnset(eFeature); 1709 } 1710 1711 1716 public boolean eIsSet(EStructuralFeature eFeature) { 1717 switch (eDerivedStructuralFeatureID(eFeature)) { 1718 case OljPackage.IMPORT_DEFINITION_TYPE__JDBC_PARAMETERS: 1719 return jdbcParameters != null; 1720 case OljPackage.IMPORT_DEFINITION_TYPE__SORT_COLUMNS: 1721 return sortColumns != null; 1722 case OljPackage.IMPORT_DEFINITION_TYPE__VALUE_COLUMNS: 1723 return valueColumns != null; 1724 case OljPackage.IMPORT_DEFINITION_TYPE__TABLES: 1725 return tables != null; 1726 case OljPackage.IMPORT_DEFINITION_TYPE__VARIABLE_COLUMNS: 1727 return variableColumns != null; 1728 case OljPackage.IMPORT_DEFINITION_TYPE__CONSTANT_COLUMNS: 1729 return constantColumns != null; 1730 case OljPackage.IMPORT_DEFINITION_TYPE__RELATION_COLUMNS: 1731 return relationColumns != null; 1732 case OljPackage.IMPORT_DEFINITION_TYPE__TRANSFORMATIONS: 1733 return transformations != null; 1734 case OljPackage.IMPORT_DEFINITION_TYPE__COUNTER_COLUMNS: 1735 return counterColumns != null; 1736 case OljPackage.IMPORT_DEFINITION_TYPE__COMMIT_COUNT: 1737 return COMMIT_COUNT_EDEFAULT == null ? commitCount != null : !COMMIT_COUNT_EDEFAULT.equals(commitCount); 1738 case OljPackage.IMPORT_DEFINITION_TYPE__DATA_CUT_OFF: 1739 return isSetDataCutOff(); 1740 case OljPackage.IMPORT_DEFINITION_TYPE__LOG_MODE: 1741 return isSetLogMode(); 1742 case OljPackage.IMPORT_DEFINITION_TYPE__NAME: 1743 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); 1744 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_AUTO_CREATE: 1745 return OBJECT_ID_AUTO_CREATE_EDEFAULT == null ? objectIDAutoCreate != null : !OBJECT_ID_AUTO_CREATE_EDEFAULT.equals(objectIDAutoCreate); 1746 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_COLUMN_NAME: 1747 return OBJECT_ID_COLUMN_NAME_EDEFAULT == null ? objectIDColumnName != null : !OBJECT_ID_COLUMN_NAME_EDEFAULT.equals(objectIDColumnName); 1748 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_INCREMENT: 1749 return OBJECT_ID_INCREMENT_EDEFAULT == null ? objectIDIncrement != null : !OBJECT_ID_INCREMENT_EDEFAULT.equals(objectIDIncrement); 1750 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_NAME: 1751 return OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT == null ? objectIDNameColumnName != null : !OBJECT_ID_NAME_COLUMN_NAME_EDEFAULT.equals(objectIDNameColumnName); 1752 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_NAME_COLUMN_VALUE: 1753 return OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT == null ? objectIDNameColumnValue != null : !OBJECT_ID_NAME_COLUMN_VALUE_EDEFAULT.equals(objectIDNameColumnValue); 1754 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_START_VALUE: 1755 return OBJECT_ID_START_VALUE_EDEFAULT == null ? objectIDStartValue != null : !OBJECT_ID_START_VALUE_EDEFAULT.equals(objectIDStartValue); 1756 case OljPackage.IMPORT_DEFINITION_TYPE__OBJECT_ID_TABLE_NAME: 1757 return OBJECT_ID_TABLE_NAME_EDEFAULT == null ? objectIDTableName != null : !OBJECT_ID_TABLE_NAME_EDEFAULT.equals(objectIDTableName); 1758 case OljPackage.IMPORT_DEFINITION_TYPE__ON_ERROR_CONTINUE: 1759 return isSetOnErrorContinue(); 1760 case OljPackage.IMPORT_DEFINITION_TYPE__RETURN_CODE: 1761 return RETURN_CODE_EDEFAULT == null ? returnCode != null : !RETURN_CODE_EDEFAULT.equals(returnCode); 1762 case OljPackage.IMPORT_DEFINITION_TYPE__SELECT_STATEMENT: 1763 return SELECT_STATEMENT_EDEFAULT == null ? selectStatement != null : !SELECT_STATEMENT_EDEFAULT.equals(selectStatement); 1764 case OljPackage.IMPORT_DEFINITION_TYPE__SET_CURSOR_NAME: 1765 return isSetSetCursorName(); 1766 case OljPackage.IMPORT_DEFINITION_TYPE__SET_FETCH_SIZE: 1767 return isSetSetFetchSize(); 1768 case OljPackage.IMPORT_DEFINITION_TYPE__TABLE_NAME: 1769 return TABLE_NAME_EDEFAULT == null ? tableName != null : !TABLE_NAME_EDEFAULT.equals(tableName); 1770 } 1771 return eDynamicIsSet(eFeature); 1772 } 1773 1774 1779 public String toString() { 1780 if (eIsProxy()) return super.toString(); 1781 1782 StringBuffer result = new StringBuffer (super.toString()); 1783 result.append(" (commitCount: "); 1784 result.append(commitCount); 1785 result.append(", dataCutOff: "); 1786 if (dataCutOffESet) result.append(dataCutOff); else result.append("<unset>"); 1787 result.append(", logMode: "); 1788 if (logModeESet) result.append(logMode); else result.append("<unset>"); 1789 result.append(", name: "); 1790 result.append(name); 1791 result.append(", objectIDAutoCreate: "); 1792 result.append(objectIDAutoCreate); 1793 result.append(", objectIDColumnName: "); 1794 result.append(objectIDColumnName); 1795 result.append(", objectIDIncrement: "); 1796 result.append(objectIDIncrement); 1797 result.append(", objectIDNameColumnName: "); 1798 result.append(objectIDNameColumnName); 1799 result.append(", objectIDNameColumnValue: "); 1800 result.append(objectIDNameColumnValue); 1801 result.append(", objectIDStartValue: "); 1802 result.append(objectIDStartValue); 1803 result.append(", objectIDTableName: "); 1804 result.append(objectIDTableName); 1805 result.append(", onErrorContinue: "); 1806 if (onErrorContinueESet) result.append(onErrorContinue); else result.append("<unset>"); 1807 result.append(", returnCode: "); 1808 result.append(returnCode); 1809 result.append(", selectStatement: "); 1810 result.append(selectStatement); 1811 result.append(", setCursorName: "); 1812 if (setCursorNameESet) result.append(setCursorName); else result.append("<unset>"); 1813 result.append(", setFetchSize: "); 1814 if (setFetchSizeESet) result.append(setFetchSize); else result.append("<unset>"); 1815 result.append(", tableName: "); 1816 result.append(tableName); 1817 result.append(')'); 1818 return result.toString(); 1819 } 1820 1821} | Popular Tags |