1 7 package org.enhydra.dods.editor.Doml.impl; 8 9 import org.eclipse.emf.ecore.EAttribute; 10 import org.eclipse.emf.ecore.EClass; 11 import org.eclipse.emf.ecore.EDataType; 12 import org.eclipse.emf.ecore.EEnum; 13 import org.eclipse.emf.ecore.EPackage; 14 import org.eclipse.emf.ecore.EReference; 15 16 import org.eclipse.emf.ecore.impl.EPackageImpl; 17 18 import org.eclipse.emf.ecore.xml.type.XMLTypePackage; 19 20 import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl; 21 22 import org.enhydra.dods.editor.Doml.ColumnType; 23 import org.enhydra.dods.editor.Doml.DatabaseType; 24 import org.enhydra.dods.editor.Doml.DbVendor; 25 import org.enhydra.dods.editor.Doml.DirtyDO; 26 import org.enhydra.dods.editor.Doml.DocumentRoot; 27 import org.enhydra.dods.editor.Doml.DomlFactory; 28 import org.enhydra.dods.editor.Doml.DomlPackage; 29 import org.enhydra.dods.editor.Doml.DomlType; 30 import org.enhydra.dods.editor.Doml.IndexColumnType; 31 import org.enhydra.dods.editor.Doml.IndexType; 32 import org.enhydra.dods.editor.Doml.JdbcType; 33 import org.enhydra.dods.editor.Doml.PackageType; 34 import org.enhydra.dods.editor.Doml.ReferenceObjectType; 35 import org.enhydra.dods.editor.Doml.TableType; 36 import org.enhydra.dods.editor.Doml.TrueFalse; 37 import org.enhydra.dods.editor.Doml.TypeType; 38 39 45 public class DomlPackageImpl extends EPackageImpl implements DomlPackage { 46 51 private EClass columnTypeEClass = null; 52 53 58 private EClass databaseTypeEClass = null; 59 60 65 private EClass documentRootEClass = null; 66 67 72 private EClass domlTypeEClass = null; 73 74 79 private EClass indexColumnTypeEClass = null; 80 81 86 private EClass indexTypeEClass = null; 87 88 93 private EClass packageTypeEClass = null; 94 95 100 private EClass referenceObjectTypeEClass = null; 101 102 107 private EClass tableTypeEClass = null; 108 109 114 private EClass typeTypeEClass = null; 115 116 121 private EEnum dbVendorEEnum = null; 122 123 128 private EEnum dirtyDOEEnum = null; 129 130 135 private EEnum jdbcTypeEEnum = null; 136 137 142 private EEnum trueFalseEEnum = null; 143 144 149 private EDataType dbVendorObjectEDataType = null; 150 151 156 private EDataType dirtyDOObjectEDataType = null; 157 158 163 private EDataType jdbcTypeObjectEDataType = null; 164 165 170 private EDataType trueFalseObjectEDataType = null; 171 172 187 private DomlPackageImpl() { 188 super(eNS_URI, DomlFactory.eINSTANCE); 189 } 190 191 196 private static boolean isInited = false; 197 198 220 public static DomlPackage init() { 221 if (isInited) return (DomlPackage)EPackage.Registry.INSTANCE.getEPackage(DomlPackage.eNS_URI); 222 223 DomlPackageImpl theDomlPackage = (DomlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof DomlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new DomlPackageImpl()); 225 226 isInited = true; 227 228 XMLTypePackageImpl.init(); 230 231 theDomlPackage.createPackageContents(); 233 234 theDomlPackage.initializePackageContents(); 236 237 240 return theDomlPackage; 241 } 242 243 248 public EClass getColumnType() { 249 return columnTypeEClass; 250 } 251 252 257 public EAttribute getColumnType_Error() { 258 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(0); 259 } 260 261 266 public EAttribute getColumnType_Javadoc() { 267 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(1); 268 } 269 270 275 public EReference getColumnType_ReferenceObject() { 276 return (EReference)columnTypeEClass.getEStructuralFeatures().get(2); 277 } 278 279 284 public EReference getColumnType_Type() { 285 return (EReference)columnTypeEClass.getEStructuralFeatures().get(3); 286 } 287 288 293 public EAttribute getColumnType_InitialValue() { 294 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(4); 295 } 296 297 302 public EAttribute getColumnType_GenerateInsecure() { 303 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(5); 304 } 305 306 311 public EAttribute getColumnType_GenerateSecure() { 312 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(6); 313 } 314 315 320 public EAttribute getColumnType_Id() { 321 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(7); 322 } 323 324 329 public EAttribute getColumnType_IsConstant() { 330 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(8); 331 } 332 333 338 public EAttribute getColumnType_UsedForQuery() { 339 return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(9); 340 } 341 342 347 public EClass getDatabaseType() { 348 return databaseTypeEClass; 349 } 350 351 356 public EReference getDatabaseType_Package() { 357 return (EReference)databaseTypeEClass.getEStructuralFeatures().get(0); 358 } 359 360 365 public EAttribute getDatabaseType_Database() { 366 return (EAttribute)databaseTypeEClass.getEStructuralFeatures().get(1); 367 } 368 369 374 public EAttribute getDatabaseType_GenerateInsecure() { 375 return (EAttribute)databaseTypeEClass.getEStructuralFeatures().get(2); 376 } 377 378 383 public EAttribute getDatabaseType_GenerateSecure() { 384 return (EAttribute)databaseTypeEClass.getEStructuralFeatures().get(3); 385 } 386 387 392 public EAttribute getDatabaseType_MassDeletes() { 393 return (EAttribute)databaseTypeEClass.getEStructuralFeatures().get(4); 394 } 395 396 401 public EAttribute getDatabaseType_MassUpdates() { 402 return (EAttribute)databaseTypeEClass.getEStructuralFeatures().get(5); 403 } 404 405 410 public EAttribute getDatabaseType_Templateset() { 411 return (EAttribute)databaseTypeEClass.getEStructuralFeatures().get(6); 412 } 413 414 419 public EClass getDocumentRoot() { 420 return documentRootEClass; 421 } 422 423 428 public EAttribute getDocumentRoot_Mixed() { 429 return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); 430 } 431 432 437 public EReference getDocumentRoot_XMLNSPrefixMap() { 438 return (EReference)documentRootEClass.getEStructuralFeatures().get(1); 439 } 440 441 446 public EReference getDocumentRoot_XSISchemaLocation() { 447 return (EReference)documentRootEClass.getEStructuralFeatures().get(2); 448 } 449 450 455 public EReference getDocumentRoot_Column() { 456 return (EReference)documentRootEClass.getEStructuralFeatures().get(3); 457 } 458 459 464 public EReference getDocumentRoot_Database() { 465 return (EReference)documentRootEClass.getEStructuralFeatures().get(4); 466 } 467 468 473 public EReference getDocumentRoot_Doml() { 474 return (EReference)documentRootEClass.getEStructuralFeatures().get(5); 475 } 476 477 482 public EReference getDocumentRoot_Index() { 483 return (EReference)documentRootEClass.getEStructuralFeatures().get(6); 484 } 485 486 491 public EReference getDocumentRoot_IndexColumn() { 492 return (EReference)documentRootEClass.getEStructuralFeatures().get(7); 493 } 494 495 500 public EReference getDocumentRoot_Package() { 501 return (EReference)documentRootEClass.getEStructuralFeatures().get(8); 502 } 503 504 509 public EReference getDocumentRoot_ReferenceObject() { 510 return (EReference)documentRootEClass.getEStructuralFeatures().get(9); 511 } 512 513 518 public EReference getDocumentRoot_Table() { 519 return (EReference)documentRootEClass.getEStructuralFeatures().get(10); 520 } 521 522 527 public EReference getDocumentRoot_Type() { 528 return (EReference)documentRootEClass.getEStructuralFeatures().get(11); 529 } 530 531 536 public EClass getDomlType() { 537 return domlTypeEClass; 538 } 539 540 545 public EReference getDomlType_Database() { 546 return (EReference)domlTypeEClass.getEStructuralFeatures().get(0); 547 } 548 549 554 public EClass getIndexColumnType() { 555 return indexColumnTypeEClass; 556 } 557 558 563 public EAttribute getIndexColumnType_Id() { 564 return (EAttribute)indexColumnTypeEClass.getEStructuralFeatures().get(0); 565 } 566 567 572 public EClass getIndexType() { 573 return indexTypeEClass; 574 } 575 576 581 public EReference getIndexType_IndexColumn() { 582 return (EReference)indexTypeEClass.getEStructuralFeatures().get(0); 583 } 584 585 590 public EAttribute getIndexType_Clustered() { 591 return (EAttribute)indexTypeEClass.getEStructuralFeatures().get(1); 592 } 593 594 599 public EAttribute getIndexType_Id() { 600 return (EAttribute)indexTypeEClass.getEStructuralFeatures().get(2); 601 } 602 603 608 public EAttribute getIndexType_Unique() { 609 return (EAttribute)indexTypeEClass.getEStructuralFeatures().get(3); 610 } 611 612 617 public EClass getPackageType() { 618 return packageTypeEClass; 619 } 620 621 626 public EReference getPackageType_Package() { 627 return (EReference)packageTypeEClass.getEStructuralFeatures().get(0); 628 } 629 630 635 public EReference getPackageType_Table() { 636 return (EReference)packageTypeEClass.getEStructuralFeatures().get(1); 637 } 638 639 644 public EAttribute getPackageType_Id() { 645 return (EAttribute)packageTypeEClass.getEStructuralFeatures().get(2); 646 } 647 648 653 public EClass getReferenceObjectType() { 654 return referenceObjectTypeEClass; 655 } 656 657 662 public EAttribute getReferenceObjectType_Constraint() { 663 return (EAttribute)referenceObjectTypeEClass.getEStructuralFeatures().get(0); 664 } 665 666 671 public EAttribute getReferenceObjectType_Reference() { 672 return (EAttribute)referenceObjectTypeEClass.getEStructuralFeatures().get(1); 673 } 674 675 680 public EClass getTableType() { 681 return tableTypeEClass; 682 } 683 684 689 public EReference getTableType_Column() { 690 return (EReference)tableTypeEClass.getEStructuralFeatures().get(0); 691 } 692 693 698 public EReference getTableType_Index() { 699 return (EReference)tableTypeEClass.getEStructuralFeatures().get(1); 700 } 701 702 707 public EAttribute getTableType_DbTableName() { 708 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(2); 709 } 710 711 716 public EAttribute getTableType_DirtyDOs() { 717 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(3); 718 } 719 720 725 public EAttribute getTableType_GenerateInsecure() { 726 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(4); 727 } 728 729 734 public EAttribute getTableType_GenerateSecure() { 735 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(5); 736 } 737 738 743 public EAttribute getTableType_Id() { 744 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(6); 745 } 746 747 752 public EAttribute getTableType_IsView() { 753 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(7); 754 } 755 756 761 public EAttribute getTableType_MassDeletes() { 762 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(8); 763 } 764 765 770 public EAttribute getTableType_MassUpdates() { 771 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(9); 772 } 773 774 779 public EAttribute getTableType_Multidb() { 780 return (EAttribute)tableTypeEClass.getEStructuralFeatures().get(10); 781 } 782 783 788 public EClass getTypeType() { 789 return typeTypeEClass; 790 } 791 792 797 public EAttribute getTypeType_CanBeNull() { 798 return (EAttribute)typeTypeEClass.getEStructuralFeatures().get(0); 799 } 800 801 806 public EAttribute getTypeType_DbType() { 807 return (EAttribute)typeTypeEClass.getEStructuralFeatures().get(1); 808 } 809 810 815 public EAttribute getTypeType_JavaType() { 816 return (EAttribute)typeTypeEClass.getEStructuralFeatures().get(2); 817 } 818 819 824 public EAttribute getTypeType_Size() { 825 return (EAttribute)typeTypeEClass.getEStructuralFeatures().get(3); 826 } 827 828 833 public EEnum getDbVendor() { 834 return dbVendorEEnum; 835 } 836 837 842 public EEnum getDirtyDO() { 843 return dirtyDOEEnum; 844 } 845 846 851 public EEnum getJdbcType() { 852 return jdbcTypeEEnum; 853 } 854 855 860 public EEnum getTrueFalse() { 861 return trueFalseEEnum; 862 } 863 864 869 public EDataType getDbVendorObject() { 870 return dbVendorObjectEDataType; 871 } 872 873 878 public EDataType getDirtyDOObject() { 879 return dirtyDOObjectEDataType; 880 } 881 882 887 public EDataType getJdbcTypeObject() { 888 return jdbcTypeObjectEDataType; 889 } 890 891 896 public EDataType getTrueFalseObject() { 897 return trueFalseObjectEDataType; 898 } 899 900 905 public DomlFactory getDomlFactory() { 906 return (DomlFactory)getEFactoryInstance(); 907 } 908 909 914 private boolean isCreated = false; 915 916 923 public void createPackageContents() { 924 if (isCreated) return; 925 isCreated = true; 926 927 columnTypeEClass = createEClass(COLUMN_TYPE); 929 createEAttribute(columnTypeEClass, COLUMN_TYPE__ERROR); 930 createEAttribute(columnTypeEClass, COLUMN_TYPE__JAVADOC); 931 createEReference(columnTypeEClass, COLUMN_TYPE__REFERENCE_OBJECT); 932 createEReference(columnTypeEClass, COLUMN_TYPE__TYPE); 933 createEAttribute(columnTypeEClass, COLUMN_TYPE__INITIAL_VALUE); 934 createEAttribute(columnTypeEClass, COLUMN_TYPE__GENERATE_INSECURE); 935 createEAttribute(columnTypeEClass, COLUMN_TYPE__GENERATE_SECURE); 936 createEAttribute(columnTypeEClass, COLUMN_TYPE__ID); 937 createEAttribute(columnTypeEClass, COLUMN_TYPE__IS_CONSTANT); 938 createEAttribute(columnTypeEClass, COLUMN_TYPE__USED_FOR_QUERY); 939 940 databaseTypeEClass = createEClass(DATABASE_TYPE); 941 createEReference(databaseTypeEClass, DATABASE_TYPE__PACKAGE); 942 createEAttribute(databaseTypeEClass, DATABASE_TYPE__DATABASE); 943 createEAttribute(databaseTypeEClass, DATABASE_TYPE__GENERATE_INSECURE); 944 createEAttribute(databaseTypeEClass, DATABASE_TYPE__GENERATE_SECURE); 945 createEAttribute(databaseTypeEClass, DATABASE_TYPE__MASS_DELETES); 946 createEAttribute(databaseTypeEClass, DATABASE_TYPE__MASS_UPDATES); 947 createEAttribute(databaseTypeEClass, DATABASE_TYPE__TEMPLATESET); 948 949 documentRootEClass = createEClass(DOCUMENT_ROOT); 950 createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); 951 createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); 952 createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); 953 createEReference(documentRootEClass, DOCUMENT_ROOT__COLUMN); 954 createEReference(documentRootEClass, DOCUMENT_ROOT__DATABASE); 955 createEReference(documentRootEClass, DOCUMENT_ROOT__DOML); 956 createEReference(documentRootEClass, DOCUMENT_ROOT__INDEX); 957 createEReference(documentRootEClass, DOCUMENT_ROOT__INDEX_COLUMN); 958 createEReference(documentRootEClass, DOCUMENT_ROOT__PACKAGE); 959 createEReference(documentRootEClass, DOCUMENT_ROOT__REFERENCE_OBJECT); 960 createEReference(documentRootEClass, DOCUMENT_ROOT__TABLE); 961 createEReference(documentRootEClass, DOCUMENT_ROOT__TYPE); 962 963 domlTypeEClass = createEClass(DOML_TYPE); 964 createEReference(domlTypeEClass, DOML_TYPE__DATABASE); 965 966 indexColumnTypeEClass = createEClass(INDEX_COLUMN_TYPE); 967 createEAttribute(indexColumnTypeEClass, INDEX_COLUMN_TYPE__ID); 968 969 indexTypeEClass = createEClass(INDEX_TYPE); 970 createEReference(indexTypeEClass, INDEX_TYPE__INDEX_COLUMN); 971 createEAttribute(indexTypeEClass, INDEX_TYPE__CLUSTERED); 972 createEAttribute(indexTypeEClass, INDEX_TYPE__ID); 973 createEAttribute(indexTypeEClass, INDEX_TYPE__UNIQUE); 974 975 packageTypeEClass = createEClass(PACKAGE_TYPE); 976 createEReference(packageTypeEClass, PACKAGE_TYPE__PACKAGE); 977 createEReference(packageTypeEClass, PACKAGE_TYPE__TABLE); 978 createEAttribute(packageTypeEClass, PACKAGE_TYPE__ID); 979 980 referenceObjectTypeEClass = createEClass(REFERENCE_OBJECT_TYPE); 981 createEAttribute(referenceObjectTypeEClass, REFERENCE_OBJECT_TYPE__CONSTRAINT); 982 createEAttribute(referenceObjectTypeEClass, REFERENCE_OBJECT_TYPE__REFERENCE); 983 984 tableTypeEClass = createEClass(TABLE_TYPE); 985 createEReference(tableTypeEClass, TABLE_TYPE__COLUMN); 986 createEReference(tableTypeEClass, TABLE_TYPE__INDEX); 987 createEAttribute(tableTypeEClass, TABLE_TYPE__DB_TABLE_NAME); 988 createEAttribute(tableTypeEClass, TABLE_TYPE__DIRTY_DOS); 989 createEAttribute(tableTypeEClass, TABLE_TYPE__GENERATE_INSECURE); 990 createEAttribute(tableTypeEClass, TABLE_TYPE__GENERATE_SECURE); 991 createEAttribute(tableTypeEClass, TABLE_TYPE__ID); 992 createEAttribute(tableTypeEClass, TABLE_TYPE__IS_VIEW); 993 createEAttribute(tableTypeEClass, TABLE_TYPE__MASS_DELETES); 994 createEAttribute(tableTypeEClass, TABLE_TYPE__MASS_UPDATES); 995 createEAttribute(tableTypeEClass, TABLE_TYPE__MULTIDB); 996 997 typeTypeEClass = createEClass(TYPE_TYPE); 998 createEAttribute(typeTypeEClass, TYPE_TYPE__CAN_BE_NULL); 999 createEAttribute(typeTypeEClass, TYPE_TYPE__DB_TYPE); 1000 createEAttribute(typeTypeEClass, TYPE_TYPE__JAVA_TYPE); 1001 createEAttribute(typeTypeEClass, TYPE_TYPE__SIZE); 1002 1003 dbVendorEEnum = createEEnum(DB_VENDOR); 1005 dirtyDOEEnum = createEEnum(DIRTY_DO); 1006 jdbcTypeEEnum = createEEnum(JDBC_TYPE); 1007 trueFalseEEnum = createEEnum(TRUE_FALSE); 1008 1009 dbVendorObjectEDataType = createEDataType(DB_VENDOR_OBJECT); 1011 dirtyDOObjectEDataType = createEDataType(DIRTY_DO_OBJECT); 1012 jdbcTypeObjectEDataType = createEDataType(JDBC_TYPE_OBJECT); 1013 trueFalseObjectEDataType = createEDataType(TRUE_FALSE_OBJECT); 1014 } 1015 1016 1021 private boolean isInitialized = false; 1022 1023 1030 public void initializePackageContents() { 1031 if (isInitialized) return; 1032 isInitialized = true; 1033 1034 setName(eNAME); 1036 setNsPrefix(eNS_PREFIX); 1037 setNsURI(eNS_URI); 1038 1039 XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); 1041 1042 1044 initEClass(columnTypeEClass, ColumnType.class, "ColumnType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1046 initEAttribute(getColumnType_Error(), theXMLTypePackage.getString(), "error", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1047 initEAttribute(getColumnType_Javadoc(), theXMLTypePackage.getString(), "javadoc", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1048 initEReference(getColumnType_ReferenceObject(), this.getReferenceObjectType(), null, "referenceObject", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1049 initEReference(getColumnType_Type(), this.getTypeType(), null, "type", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1050 initEAttribute(getColumnType_InitialValue(), theXMLTypePackage.getString(), "initialValue", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1051 initEAttribute(getColumnType_GenerateInsecure(), this.getTrueFalse(), "generateInsecure", "true", 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1052 initEAttribute(getColumnType_GenerateSecure(), this.getTrueFalse(), "generateSecure", "false", 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1053 initEAttribute(getColumnType_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1054 initEAttribute(getColumnType_IsConstant(), this.getTrueFalse(), "isConstant", "false", 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1055 initEAttribute(getColumnType_UsedForQuery(), this.getTrueFalse(), "usedForQuery", "false", 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1056 1057 initEClass(databaseTypeEClass, DatabaseType.class, "DatabaseType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1058 initEReference(getDatabaseType_Package(), this.getPackageType(), null, "package", null, 0, -1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1059 initEAttribute(getDatabaseType_Database(), this.getDbVendor(), "database", "Standard", 0, 1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1060 initEAttribute(getDatabaseType_GenerateInsecure(), this.getTrueFalse(), "generateInsecure", "true", 0, 1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1061 initEAttribute(getDatabaseType_GenerateSecure(), this.getTrueFalse(), "generateSecure", "false", 0, 1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1062 initEAttribute(getDatabaseType_MassDeletes(), this.getTrueFalse(), "massDeletes", "false", 0, 1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1063 initEAttribute(getDatabaseType_MassUpdates(), this.getTrueFalse(), "massUpdates", "false", 0, 1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1064 initEAttribute(getDatabaseType_Templateset(), theXMLTypePackage.getString(), "templateset", "Standard", 0, 1, DatabaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1065 1066 initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1067 initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1068 initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1069 initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1070 initEReference(getDocumentRoot_Column(), this.getColumnType(), null, "column", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1071 initEReference(getDocumentRoot_Database(), this.getDatabaseType(), null, "database", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1072 initEReference(getDocumentRoot_Doml(), this.getDomlType(), null, "doml", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1073 initEReference(getDocumentRoot_Index(), this.getIndexType(), null, "index", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1074 initEReference(getDocumentRoot_IndexColumn(), this.getIndexColumnType(), null, "indexColumn", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1075 initEReference(getDocumentRoot_Package(), this.getPackageType(), null, "package", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1076 initEReference(getDocumentRoot_ReferenceObject(), this.getReferenceObjectType(), null, "referenceObject", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1077 initEReference(getDocumentRoot_Table(), this.getTableType(), null, "table", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1078 initEReference(getDocumentRoot_Type(), this.getTypeType(), null, "type", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1079 1080 initEClass(domlTypeEClass, DomlType.class, "DomlType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1081 initEReference(getDomlType_Database(), this.getDatabaseType(), null, "database", null, 0, -1, DomlType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1082 1083 initEClass(indexColumnTypeEClass, IndexColumnType.class, "IndexColumnType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1084 initEAttribute(getIndexColumnType_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, IndexColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1085 1086 initEClass(indexTypeEClass, IndexType.class, "IndexType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1087 initEReference(getIndexType_IndexColumn(), this.getIndexColumnType(), null, "indexColumn", null, 0, -1, IndexType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1088 initEAttribute(getIndexType_Clustered(), this.getTrueFalse(), "clustered", "false", 0, 1, IndexType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1089 initEAttribute(getIndexType_Id(), theXMLTypePackage.getID(), "id", null, 1, 1, IndexType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1090 initEAttribute(getIndexType_Unique(), this.getTrueFalse(), "unique", "false", 0, 1, IndexType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1091 1092 initEClass(packageTypeEClass, PackageType.class, "PackageType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1093 initEReference(getPackageType_Package(), this.getPackageType(), null, "package", null, 0, -1, PackageType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1094 initEReference(getPackageType_Table(), this.getTableType(), null, "table", null, 0, -1, PackageType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1095 initEAttribute(getPackageType_Id(), theXMLTypePackage.getID(), "id", null, 1, 1, PackageType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1096 1097 initEClass(referenceObjectTypeEClass, ReferenceObjectType.class, "ReferenceObjectType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1098 initEAttribute(getReferenceObjectType_Constraint(), this.getTrueFalse(), "constraint", "false", 0, 1, ReferenceObjectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1099 initEAttribute(getReferenceObjectType_Reference(), theXMLTypePackage.getIDREF(), "reference", null, 1, 1, ReferenceObjectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1100 1101 initEClass(tableTypeEClass, TableType.class, "TableType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1102 initEReference(getTableType_Column(), this.getColumnType(), null, "column", null, 0, -1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1103 initEReference(getTableType_Index(), this.getIndexType(), null, "index", null, 0, -1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1104 initEAttribute(getTableType_DbTableName(), theXMLTypePackage.getString(), "dbTableName", null, 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1105 initEAttribute(getTableType_DirtyDOs(), this.getDirtyDO(), "dirtyDOs", "Compatible", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1106 initEAttribute(getTableType_GenerateInsecure(), this.getTrueFalse(), "generateInsecure", "true", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1107 initEAttribute(getTableType_GenerateSecure(), this.getTrueFalse(), "generateSecure", "false", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1108 initEAttribute(getTableType_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1109 initEAttribute(getTableType_IsView(), this.getTrueFalse(), "isView", "false", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1110 initEAttribute(getTableType_MassDeletes(), this.getTrueFalse(), "massDeletes", "false", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1111 initEAttribute(getTableType_MassUpdates(), this.getTrueFalse(), "massUpdates", "false", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1112 initEAttribute(getTableType_Multidb(), this.getTrueFalse(), "multidb", "false", 0, 1, TableType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1113 1114 initEClass(typeTypeEClass, TypeType.class, "TypeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1115 initEAttribute(getTypeType_CanBeNull(), this.getTrueFalse(), "canBeNull", "false", 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1116 initEAttribute(getTypeType_DbType(), this.getJdbcType(), "dbType", "VARCHAR", 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1117 initEAttribute(getTypeType_JavaType(), theXMLTypePackage.getString(), "javaType", null, 1, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1118 initEAttribute(getTypeType_Size(), theXMLTypePackage.getString(), "size", "", 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1119 1120 initEEnum(dbVendorEEnum, DbVendor.class, "DbVendor"); 1122 addEEnumLiteral(dbVendorEEnum, DbVendor.STANDARD_LITERAL); 1123 addEEnumLiteral(dbVendorEEnum, DbVendor.INSTANT_DB_LITERAL); 1124 addEEnumLiteral(dbVendorEEnum, DbVendor.ORACLE_LITERAL); 1125 addEEnumLiteral(dbVendorEEnum, DbVendor.INFORMIX_LITERAL); 1126 addEEnumLiteral(dbVendorEEnum, DbVendor.MSQL_LITERAL); 1127 addEEnumLiteral(dbVendorEEnum, DbVendor.SYBASE_LITERAL); 1128 addEEnumLiteral(dbVendorEEnum, DbVendor.POSTGRE_SQL_LITERAL); 1129 addEEnumLiteral(dbVendorEEnum, DbVendor.DB2_LITERAL); 1130 addEEnumLiteral(dbVendorEEnum, DbVendor.QED_LITERAL); 1131 addEEnumLiteral(dbVendorEEnum, DbVendor.MY_SQL_LITERAL); 1132 addEEnumLiteral(dbVendorEEnum, DbVendor.MCKOI_SQL_LITERAL); 1133 1134 initEEnum(dirtyDOEEnum, DirtyDO.class, "DirtyDO"); 1135 addEEnumLiteral(dirtyDOEEnum, DirtyDO.COMPATIBLE_LITERAL); 1136 addEEnumLiteral(dirtyDOEEnum, DirtyDO.DEPRECATE_LITERAL); 1137 addEEnumLiteral(dirtyDOEEnum, DirtyDO.OMIT_LITERAL); 1138 1139 initEEnum(jdbcTypeEEnum, JdbcType.class, "JdbcType"); 1140 addEEnumLiteral(jdbcTypeEEnum, JdbcType.BIT_LITERAL); 1141 addEEnumLiteral(jdbcTypeEEnum, JdbcType.TINYINT_LITERAL); 1142 addEEnumLiteral(jdbcTypeEEnum, JdbcType.SMALLINT_LITERAL); 1143 addEEnumLiteral(jdbcTypeEEnum, JdbcType.INTEGER_LITERAL); 1144 addEEnumLiteral(jdbcTypeEEnum, JdbcType.BIGINT_LITERAL); 1145 addEEnumLiteral(jdbcTypeEEnum, JdbcType.REAL_LITERAL); 1146 addEEnumLiteral(jdbcTypeEEnum, JdbcType.FLOAT_LITERAL); 1147 addEEnumLiteral(jdbcTypeEEnum, JdbcType.DOUBLE_LITERAL); 1148 addEEnumLiteral(jdbcTypeEEnum, JdbcType.NUMERIC_LITERAL); 1149 addEEnumLiteral(jdbcTypeEEnum, JdbcType.DECIMAL_LITERAL); 1150 addEEnumLiteral(jdbcTypeEEnum, JdbcType.CHAR_LITERAL); 1151 addEEnumLiteral(jdbcTypeEEnum, JdbcType.VARCHAR_LITERAL); 1152 addEEnumLiteral(jdbcTypeEEnum, JdbcType.LONGVARCHAR_LITERAL); 1153 addEEnumLiteral(jdbcTypeEEnum, JdbcType.BINARY_LITERAL); 1154 addEEnumLiteral(jdbcTypeEEnum, JdbcType.VARBINARY_LITERAL); 1155 addEEnumLiteral(jdbcTypeEEnum, JdbcType.LONGVARBINARY_LITERAL); 1156 addEEnumLiteral(jdbcTypeEEnum, JdbcType.DATE_LITERAL); 1157 addEEnumLiteral(jdbcTypeEEnum, JdbcType.TIME_LITERAL); 1158 addEEnumLiteral(jdbcTypeEEnum, JdbcType.TIMESTAMP_LITERAL); 1159 1160 initEEnum(trueFalseEEnum, TrueFalse.class, "TrueFalse"); 1161 addEEnumLiteral(trueFalseEEnum, TrueFalse.TRUE_LITERAL); 1162 addEEnumLiteral(trueFalseEEnum, TrueFalse.FALSE_LITERAL); 1163 1164 initEDataType(dbVendorObjectEDataType, DbVendor.class, "DbVendorObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); 1166 initEDataType(dirtyDOObjectEDataType, DirtyDO.class, "DirtyDOObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); 1167 initEDataType(jdbcTypeObjectEDataType, JdbcType.class, "JdbcTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); 1168 initEDataType(trueFalseObjectEDataType, TrueFalse.class, "TrueFalseObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); 1169 1170 createResource(eNS_URI); 1172 1173 createExtendedMetaDataAnnotations(); 1176 } 1177 1178 1184 protected void createExtendedMetaDataAnnotations() { 1185 String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; 1186 addAnnotation 1187 (this, 1188 source, 1189 new String [] { 1190 "qualified", "false" 1191 }); 1192 addAnnotation 1193 (columnTypeEClass, 1194 source, 1195 new String [] { 1196 "name", "column_._type", 1197 "kind", "elementOnly" 1198 }); 1199 addAnnotation 1200 (getColumnType_Error(), 1201 source, 1202 new String [] { 1203 "kind", "element", 1204 "name", "error", 1205 "namespace", "##targetNamespace" 1206 }); 1207 addAnnotation 1208 (getColumnType_Javadoc(), 1209 source, 1210 new String [] { 1211 "kind", "element", 1212 "name", "javadoc", 1213 "namespace", "##targetNamespace" 1214 }); 1215 addAnnotation 1216 (getColumnType_ReferenceObject(), 1217 source, 1218 new String [] { 1219 "kind", "element", 1220 "name", "referenceObject", 1221 "namespace", "##targetNamespace" 1222 }); 1223 addAnnotation 1224 (getColumnType_Type(), 1225 source, 1226 new String [] { 1227 "kind", "element", 1228 "name", "type", 1229 "namespace", "##targetNamespace" 1230 }); 1231 addAnnotation 1232 (getColumnType_InitialValue(), 1233 source, 1234 new String [] { 1235 "kind", "element", 1236 "name", "initialValue", 1237 "namespace", "##targetNamespace" 1238 }); 1239 addAnnotation 1240 (getColumnType_GenerateInsecure(), 1241 source, 1242 new String [] { 1243 "kind", "attribute", 1244 "name", "generateInsecure", 1245 "namespace", "##targetNamespace" 1246 }); 1247 addAnnotation 1248 (getColumnType_GenerateSecure(), 1249 source, 1250 new String [] { 1251 "kind", "attribute", 1252 "name", "generateSecure", 1253 "namespace", "##targetNamespace" 1254 }); 1255 addAnnotation 1256 (getColumnType_Id(), 1257 source, 1258 new String [] { 1259 "kind", "attribute", 1260 "name", "id", 1261 "namespace", "##targetNamespace" 1262 }); 1263 addAnnotation 1264 (getColumnType_IsConstant(), 1265 source, 1266 new String [] { 1267 "kind", "attribute", 1268 "name", "isConstant", 1269 "namespace", "##targetNamespace" 1270 }); 1271 addAnnotation 1272 (getColumnType_UsedForQuery(), 1273 source, 1274 new String [] { 1275 "kind", "attribute", 1276 "name", "usedForQuery", 1277 "namespace", "##targetNamespace" 1278 }); 1279 addAnnotation 1280 (databaseTypeEClass, 1281 source, 1282 new String [] { 1283 "name", "database_._type", 1284 "kind", "elementOnly" 1285 }); 1286 addAnnotation 1287 (getDatabaseType_Package(), 1288 source, 1289 new String [] { 1290 "kind", "element", 1291 "name", "package", 1292 "namespace", "##targetNamespace" 1293 }); 1294 addAnnotation 1295 (getDatabaseType_Database(), 1296 source, 1297 new String [] { 1298 "kind", "attribute", 1299 "name", "database", 1300 "namespace", "##targetNamespace" 1301 }); 1302 addAnnotation 1303 (getDatabaseType_GenerateInsecure(), 1304 source, 1305 new String [] { 1306 "kind", "attribute", 1307 "name", "generateInsecure", 1308 "namespace", "##targetNamespace" 1309 }); 1310 addAnnotation 1311 (getDatabaseType_GenerateSecure(), 1312 source, 1313 new String [] { 1314 "kind", "attribute", 1315 "name", "generateSecure", 1316 "namespace", "##targetNamespace" 1317 }); 1318 addAnnotation 1319 (getDatabaseType_MassDeletes(), 1320 source, 1321 new String [] { 1322 "kind", "attribute", 1323 "name", "massDeletes", 1324 "namespace", "##targetNamespace" 1325 }); 1326 addAnnotation 1327 (getDatabaseType_MassUpdates(), 1328 source, 1329 new String [] { 1330 "kind", "attribute", 1331 "name", "massUpdates", 1332 "namespace", "##targetNamespace" 1333 }); 1334 addAnnotation 1335 (getDatabaseType_Templateset(), 1336 source, 1337 new String [] { 1338 "kind", "attribute", 1339 "name", "templateset", 1340 "namespace", "##targetNamespace" 1341 }); 1342 addAnnotation 1343 (dbVendorEEnum, 1344 source, 1345 new String [] { 1346 "name", "dbVendor" 1347 }); 1348 addAnnotation 1349 (dbVendorObjectEDataType, 1350 source, 1351 new String [] { 1352 "name", "dbVendor:Object", 1353 "baseType", "dbVendor" 1354 }); 1355 addAnnotation 1356 (dirtyDOEEnum, 1357 source, 1358 new String [] { 1359 "name", "dirtyDO" 1360 }); 1361 addAnnotation 1362 (dirtyDOObjectEDataType, 1363 source, 1364 new String [] { 1365 "name", "dirtyDO:Object", 1366 "baseType", "dirtyDO" 1367 }); 1368 addAnnotation 1369 (documentRootEClass, 1370 source, 1371 new String [] { 1372 "name", "", 1373 "kind", "mixed" 1374 }); 1375 addAnnotation 1376 (getDocumentRoot_Mixed(), 1377 source, 1378 new String [] { 1379 "kind", "elementWildcard", 1380 "name", ":mixed" 1381 }); 1382 addAnnotation 1383 (getDocumentRoot_XMLNSPrefixMap(), 1384 source, 1385 new String [] { 1386 "kind", "attribute", 1387 "name", "xmlns:prefix" 1388 }); 1389 addAnnotation 1390 (getDocumentRoot_XSISchemaLocation(), 1391 source, 1392 new String [] { 1393 "kind", "attribute", 1394 "name", "xsi:schemaLocation" 1395 }); 1396 addAnnotation 1397 (getDocumentRoot_Column(), 1398 source, 1399 new String [] { 1400 "kind", "element", 1401 "name", "column", 1402 "namespace", "##targetNamespace" 1403 }); 1404 addAnnotation 1405 (getDocumentRoot_Database(), 1406 source, 1407 new String [] { 1408 "kind", "element", 1409 "name", "database", 1410 "namespace", "##targetNamespace" 1411 }); 1412 addAnnotation 1413 (getDocumentRoot_Doml(), 1414 source, 1415 new String [] { 1416 "kind", "element", 1417 "name", "doml", 1418 "namespace", "##targetNamespace" 1419 }); 1420 addAnnotation 1421 (getDocumentRoot_Index(), 1422 source, 1423 new String [] { 1424 "kind", "element", 1425 "name", "index", 1426 "namespace", "##targetNamespace" 1427 }); 1428 addAnnotation 1429 (getDocumentRoot_IndexColumn(), 1430 source, 1431 new String [] { 1432 "kind", "element", 1433 "name", "indexColumn", 1434 "namespace", "##targetNamespace" 1435 }); 1436 addAnnotation 1437 (getDocumentRoot_Package(), 1438 source, 1439 new String [] { 1440 "kind", "element", 1441 "name", "package", 1442 "namespace", "##targetNamespace" 1443 }); 1444 addAnnotation 1445 (getDocumentRoot_ReferenceObject(), 1446 source, 1447 new String [] { 1448 "kind", "element", 1449 "name", "referenceObject", 1450 "namespace", "##targetNamespace" 1451 }); 1452 addAnnotation 1453 (getDocumentRoot_Table(), 1454 source, 1455 new String [] { 1456 "kind", "element", 1457 "name", "table", 1458 "namespace", "##targetNamespace" 1459 }); 1460 addAnnotation 1461 (getDocumentRoot_Type(), 1462 source, 1463 new String [] { 1464 "kind", "element", 1465 "name", "type", 1466 "namespace", "##targetNamespace" 1467 }); 1468 addAnnotation 1469 (domlTypeEClass, 1470 source, 1471 new String [] { 1472 "name", "doml_._type", 1473 "kind", "elementOnly" 1474 }); 1475 addAnnotation 1476 (getDomlType_Database(), 1477 source, 1478 new String [] { 1479 "kind", "element", 1480 "name", "database", 1481 "namespace", "##targetNamespace" 1482 }); 1483 addAnnotation 1484 (indexColumnTypeEClass, 1485 source, 1486 new String [] { 1487 "name", "indexColumn_._type", 1488 "kind", "empty" 1489 }); 1490 addAnnotation 1491 (getIndexColumnType_Id(), 1492 source, 1493 new String [] { 1494 "kind", "attribute", 1495 "name", "id", 1496 "namespace", "##targetNamespace" 1497 }); 1498 addAnnotation 1499 (indexTypeEClass, 1500 source, 1501 new String [] { 1502 "name", "index_._type", 1503 "kind", "elementOnly" 1504 }); 1505 addAnnotation 1506 (getIndexType_IndexColumn(), 1507 source, 1508 new String [] { 1509 "kind", "element", 1510 "name", "indexColumn", 1511 "namespace", "##targetNamespace" 1512 }); 1513 addAnnotation 1514 (getIndexType_Clustered(), 1515 source, 1516 new String [] { 1517 "kind", "attribute", 1518 "name", "clustered", 1519 "namespace", "##targetNamespace" 1520 }); 1521 addAnnotation 1522 (getIndexType_Id(), 1523 source, 1524 new String [] { 1525 "kind", "attribute", 1526 "name", "id", 1527 "namespace", "##targetNamespace" 1528 }); 1529 addAnnotation 1530 (getIndexType_Unique(), 1531 source, 1532 new String [] { 1533 "kind", "attribute", 1534 "name", "unique", 1535 "namespace", "##targetNamespace" 1536 }); 1537 addAnnotation 1538 (jdbcTypeEEnum, 1539 source, 1540 new String [] { 1541 "name", "jdbcType" 1542 }); 1543 addAnnotation 1544 (jdbcTypeObjectEDataType, 1545 source, 1546 new String [] { 1547 "name", "jdbcType:Object", 1548 "baseType", "jdbcType" 1549 }); 1550 addAnnotation 1551 (packageTypeEClass, 1552 source, 1553 new String [] { 1554 "name", "package_._type", 1555 "kind", "elementOnly" 1556 }); 1557 addAnnotation 1558 (getPackageType_Package(), 1559 source, 1560 new String [] { 1561 "kind", "element", 1562 "name", "package", 1563 "namespace", "##targetNamespace" 1564 }); 1565 addAnnotation 1566 (getPackageType_Table(), 1567 source, 1568 new String [] { 1569 "kind", "element", 1570 "name", "table", 1571 "namespace", "##targetNamespace" 1572 }); 1573 addAnnotation 1574 (getPackageType_Id(), 1575 source, 1576 new String [] { 1577 "kind", "attribute", 1578 "name", "id", 1579 "namespace", "##targetNamespace" 1580 }); 1581 addAnnotation 1582 (referenceObjectTypeEClass, 1583 source, 1584 new String [] { 1585 "name", "referenceObject_._type", 1586 "kind", "empty" 1587 }); 1588 addAnnotation 1589 (getReferenceObjectType_Constraint(), 1590 source, 1591 new String [] { 1592 "kind", "attribute", 1593 "name", "constraint", 1594 "namespace", "##targetNamespace" 1595 }); 1596 addAnnotation 1597 (getReferenceObjectType_Reference(), 1598 source, 1599 new String [] { 1600 "kind", "attribute", 1601 "name", "reference", 1602 "namespace", "##targetNamespace" 1603 }); 1604 addAnnotation 1605 (tableTypeEClass, 1606 source, 1607 new String [] { 1608 "name", "table_._type", 1609 "kind", "elementOnly" 1610 }); 1611 addAnnotation 1612 (getTableType_Column(), 1613 source, 1614 new String [] { 1615 "kind", "element", 1616 "name", "column", 1617 "namespace", "##targetNamespace" 1618 }); 1619 addAnnotation 1620 (getTableType_Index(), 1621 source, 1622 new String [] { 1623 "kind", "element", 1624 "name", "index", 1625 "namespace", "##targetNamespace" 1626 }); 1627 addAnnotation 1628 (getTableType_DbTableName(), 1629 source, 1630 new String [] { 1631 "kind", "attribute", 1632 "name", "dbTableName", 1633 "namespace", "##targetNamespace" 1634 }); 1635 addAnnotation 1636 (getTableType_DirtyDOs(), 1637 source, 1638 new String [] { 1639 "kind", "attribute", 1640 "name", "dirtyDOs", 1641 "namespace", "##targetNamespace" 1642 }); 1643 addAnnotation 1644 (getTableType_GenerateInsecure(), 1645 source, 1646 new String [] { 1647 "kind", "attribute", 1648 "name", "generateInsecure", 1649 "namespace", "##targetNamespace" 1650 }); 1651 addAnnotation 1652 (getTableType_GenerateSecure(), 1653 source, 1654 new String [] { 1655 "kind", "attribute", 1656 "name", "generateSecure", 1657 "namespace", "##targetNamespace" 1658 }); 1659 addAnnotation 1660 (getTableType_Id(), 1661 source, 1662 new String [] { 1663 "kind", "attribute", 1664 "name", "id", 1665 "namespace", "##targetNamespace" 1666 }); 1667 addAnnotation 1668 (getTableType_IsView(), 1669 source, 1670 new String [] { 1671 "kind", "attribute", 1672 "name", "isView", 1673 "namespace", "##targetNamespace" 1674 }); 1675 addAnnotation 1676 (getTableType_MassDeletes(), 1677 source, 1678 new String [] { 1679 "kind", "attribute", 1680 "name", "massDeletes", 1681 "namespace", "##targetNamespace" 1682 }); 1683 addAnnotation 1684 (getTableType_MassUpdates(), 1685 source, 1686 new String [] { 1687 "kind", "attribute", 1688 "name", "massUpdates", 1689 "namespace", "##targetNamespace" 1690 }); 1691 addAnnotation 1692 (getTableType_Multidb(), 1693 source, 1694 new String [] { 1695 "kind", "attribute", 1696 "name", "multidb", 1697 "namespace", "##targetNamespace" 1698 }); 1699 addAnnotation 1700 (trueFalseEEnum, 1701 source, 1702 new String [] { 1703 "name", "trueFalse" 1704 }); 1705 addAnnotation 1706 (trueFalseObjectEDataType, 1707 source, 1708 new String [] { 1709 "name", "trueFalse:Object", 1710 "baseType", "trueFalse" 1711 }); 1712 addAnnotation 1713 (typeTypeEClass, 1714 source, 1715 new String [] { 1716 "name", "type_._type", 1717 "kind", "empty" 1718 }); 1719 addAnnotation 1720 (getTypeType_CanBeNull(), 1721 source, 1722 new String [] { 1723 "kind", "attribute", 1724 "name", "canBeNull", 1725 "namespace", "##targetNamespace" 1726 }); 1727 addAnnotation 1728 (getTypeType_DbType(), 1729 source, 1730 new String [] { 1731 "kind", "attribute", 1732 "name", "dbType", 1733 "namespace", "##targetNamespace" 1734 }); 1735 addAnnotation 1736 (getTypeType_JavaType(), 1737 source, 1738 new String [] { 1739 "kind", "attribute", 1740 "name", "javaType", 1741 "namespace", "##targetNamespace" 1742 }); 1743 addAnnotation 1744 (getTypeType_Size(), 1745 source, 1746 new String [] { 1747 "kind", "attribute", 1748 "name", "size", 1749 "namespace", "##targetNamespace" 1750 }); 1751 } 1752 1753} | Popular Tags |