1 17 package org.eclipse.emf.ecore.sdo.impl; 18 19 20 import java.io.ObjectStreamException ; 21 import java.math.BigDecimal ; 22 import java.math.BigInteger ; 23 import java.util.Date ; 24 import java.util.List ; 25 26 import org.eclipse.emf.ecore.EClass; 27 import org.eclipse.emf.ecore.InternalEObject; 28 import org.eclipse.emf.ecore.impl.DynamicEStoreEObjectImpl; 29 import org.eclipse.emf.ecore.sdo.EDataObject; 30 import org.eclipse.emf.ecore.sdo.InternalEDataObject; 31 import org.eclipse.emf.ecore.sdo.SDOPackage; 32 import org.eclipse.emf.ecore.sdo.util.SDOUtil; 33 34 import commonj.sdo.DataGraph; 35 import commonj.sdo.DataObject; 36 import commonj.sdo.Property; 37 import commonj.sdo.Sequence; 38 import commonj.sdo.Type; 39 40 41 51 public class DynamicEStoreEDataObjectImpl extends DynamicEStoreEObjectImpl implements EDataObject, InternalEDataObject 52 { 53 public DynamicEStoreEDataObjectImpl() 54 { 55 super(); 56 } 57 58 public DynamicEStoreEDataObjectImpl(EClass eClass) 59 { 60 super(eClass); 61 } 62 63 public DynamicEStoreEDataObjectImpl(InternalEObject.EStore eStore) 64 { 65 super(eStore); 66 } 67 68 public DynamicEStoreEDataObjectImpl(EClass eClass, InternalEObject.EStore eStore) 69 { 70 super(eClass, eStore); 71 } 72 73 78 protected EClass eStaticClass() 79 { 80 return SDOPackage.eINSTANCE.getEDataObject(); 81 } 82 83 88 public Object get(String path) 89 { 90 return SDOUtil.get(this, path); 91 } 92 93 98 public void set(String path, Object value) 99 { 100 SDOUtil.set(this, path, value); 101 } 102 103 108 public boolean isSet(String path) 109 { 110 return SDOUtil.isSet(this, path); 111 } 112 113 118 public void unset(String path) 119 { 120 SDOUtil.unset(this, path); 121 } 122 123 128 public Object get(int propertyIndex) 129 { 130 return SDOUtil.get(this, propertyIndex); 131 } 132 133 138 public void set(int propertyIndex, Object value) 139 { 140 SDOUtil.set(this, propertyIndex, value); 141 } 142 143 148 public boolean isSet(int propertyIndex) 149 { 150 return SDOUtil.isSet(this, propertyIndex); 151 } 152 153 158 public void unset(int propertyIndex) 159 { 160 SDOUtil.unset(this, propertyIndex); 161 } 162 163 168 public Object get(Property property) 169 { 170 return SDOUtil.get(this, property); 171 } 172 173 178 public void set(Property property, Object value) 179 { 180 SDOUtil.set(this, property, value); 181 } 182 183 188 public boolean isSet(Property property) 189 { 190 return SDOUtil.isSet(this, property); 191 } 192 193 198 public void unset(Property property) 199 { 200 SDOUtil.unset(this, property); 201 } 202 203 208 public DataObject getContainer() 209 { 210 return SDOUtil.getContainer(this); 211 } 212 213 218 public Property getContainmentProperty() 219 { 220 return SDOUtil.getContainmentProperty(this); 221 } 222 223 228 public DataGraph getDataGraph() 229 { 230 return SDOUtil.getDataGraph(this); 231 } 232 233 238 public Type getType() 239 { 240 return SDOUtil.getType(this); 241 } 242 243 248 public BigDecimal getBigDecimal(String path) 249 { 250 return SDOUtil.getBigDecimal(this, path); 251 } 252 253 258 public BigInteger getBigInteger(String path) 259 { 260 return SDOUtil.getBigInteger(this, path); 261 } 262 263 268 public boolean getBoolean(String path) 269 { 270 return SDOUtil.getBoolean(this, path); 271 } 272 273 278 public byte getByte(String path) 279 { 280 return SDOUtil.getByte(this, path); 281 } 282 283 288 public byte[] getBytes(String path) 289 { 290 return SDOUtil.getBytes(this, path); 291 } 292 293 298 public char getChar(String path) 299 { 300 return SDOUtil.getChar(this, path); 301 } 302 303 308 public DataObject getDataObject(String path) 309 { 310 return SDOUtil.getDataObject(this, path); 311 } 312 313 318 public Date getDate(String path) 319 { 320 return SDOUtil.getDate(this, path); 321 } 322 323 328 public double getDouble(String path) 329 { 330 return SDOUtil.getDouble(this, path); 331 } 332 333 338 public float getFloat(String path) 339 { 340 return SDOUtil.getFloat(this, path); 341 } 342 343 348 public int getInt(String path) 349 { 350 return SDOUtil.getInt(this, path); 351 } 352 353 358 public List getList(String path) 359 { 360 return SDOUtil.getList(this, path); 361 } 362 363 368 public long getLong(String path) 369 { 370 return SDOUtil.getLong(this, path); 371 } 372 373 378 public Sequence getSequence(String path) 379 { 380 return SDOUtil.getSequence(this, path); 381 } 382 383 388 public short getShort(String path) 389 { 390 return SDOUtil.getShort(this, path); 391 } 392 393 398 public String getString(String path) 399 { 400 return SDOUtil.getString(this, path); 401 } 402 403 408 public void setBigDecimal(String path, BigDecimal value) 409 { 410 SDOUtil.setBigDecimal(this, path, value); 411 } 412 413 418 public void setBigInteger(String path, BigInteger value) 419 { 420 SDOUtil.setBigInteger(this, path, value); 421 } 422 423 428 public void setBoolean(String path, boolean value) 429 { 430 SDOUtil.setBoolean(this, path, value); 431 } 432 433 438 public void setByte(String path, byte value) 439 { 440 SDOUtil.setByte(this, path, value); 441 } 442 443 448 public void setBytes(String path, byte[] value) 449 { 450 SDOUtil.setBytes(this, path, value); 451 } 452 453 458 public void setChar(String path, char value) 459 { 460 SDOUtil.setChar(this, path, value); 461 } 462 463 468 public void setDataObject(String path, DataObject value) 469 { 470 SDOUtil.setDataObject(this, path, value); 471 } 472 473 478 public void setDate(String path, Date value) 479 { 480 SDOUtil.setDate(this, path, value); 481 } 482 483 488 public void setDouble(String path, double value) 489 { 490 SDOUtil.setDouble(this, path, value); 491 } 492 493 498 public void setFloat(String path, float value) 499 { 500 SDOUtil.setFloat(this, path, value); 501 } 502 503 508 public void setInt(String path, int value) 509 { 510 SDOUtil.setInt(this, path, value); 511 } 512 513 518 public void setList(String path, List value) 519 { 520 SDOUtil.setList(this, path, value); 521 } 522 523 528 public void setLong(String path, long value) 529 { 530 SDOUtil.setLong(this, path, value); 531 } 532 533 538 public void setShort(String path, short value) 539 { 540 SDOUtil.setShort(this, path, value); 541 } 542 543 548 public void setString(String path, String value) 549 { 550 SDOUtil.setString(this, path, value); 551 } 552 553 558 public BigDecimal getBigDecimal(int propertyIndex) 559 { 560 return SDOUtil.getBigDecimal(this, propertyIndex); 561 } 562 563 568 public BigInteger getBigInteger(int propertyIndex) 569 { 570 return SDOUtil.getBigInteger(this, propertyIndex); 571 } 572 573 578 public boolean getBoolean(int propertyIndex) 579 { 580 return SDOUtil.getBoolean(this, propertyIndex); 581 } 582 583 588 public byte getByte(int propertyIndex) 589 { 590 return SDOUtil.getByte(this, propertyIndex); 591 } 592 593 598 public byte[] getBytes(int propertyIndex) 599 { 600 return SDOUtil.getBytes(this, propertyIndex); 601 } 602 603 608 public char getChar(int propertyIndex) 609 { 610 return SDOUtil.getChar(this, propertyIndex); 611 } 612 613 618 public DataObject getDataObject(int propertyIndex) 619 { 620 return SDOUtil.getDataObject(this, propertyIndex); 621 } 622 623 628 public Date getDate(int propertyIndex) 629 { 630 return SDOUtil.getDate(this, propertyIndex); 631 } 632 633 638 public double getDouble(int propertyIndex) 639 { 640 return SDOUtil.getDouble(this, propertyIndex); 641 } 642 643 648 public float getFloat(int propertyIndex) 649 { 650 return SDOUtil.getFloat(this, propertyIndex); 651 } 652 653 658 public int getInt(int propertyIndex) 659 { 660 return SDOUtil.getInt(this, propertyIndex); 661 } 662 663 668 public List getList(int propertyIndex) 669 { 670 return SDOUtil.getList(this, propertyIndex); 671 } 672 673 678 public long getLong(int propertyIndex) 679 { 680 return SDOUtil.getLong(this, propertyIndex); 681 } 682 683 688 public Sequence getSequence(int propertyIndex) 689 { 690 return SDOUtil.getSequence(this, propertyIndex); 691 } 692 693 698 public short getShort(int propertyIndex) 699 { 700 return SDOUtil.getShort(this, propertyIndex); 701 } 702 703 708 public String getString(int propertyIndex) 709 { 710 return SDOUtil.getString(this, propertyIndex); 711 } 712 713 718 public void setBigDecimal(int propertyIndex, BigDecimal value) 719 { 720 SDOUtil.setBigDecimal(this, propertyIndex, value); 721 } 722 723 728 public void setBigInteger(int propertyIndex, BigInteger value) 729 { 730 SDOUtil.setBigInteger(this, propertyIndex, value); 731 } 732 733 738 public void setBoolean(int propertyIndex, boolean value) 739 { 740 SDOUtil.setBoolean(this, propertyIndex, value); 741 } 742 743 748 public void setByte(int propertyIndex, byte value) 749 { 750 SDOUtil.setByte(this, propertyIndex, value); 751 } 752 753 758 public void setBytes(int propertyIndex, byte[] value) 759 { 760 SDOUtil.setBytes(this, propertyIndex, value); 761 } 762 763 768 public void setChar(int propertyIndex, char value) 769 { 770 SDOUtil.setChar(this, propertyIndex, value); 771 } 772 773 778 public void setDataObject(int propertyIndex, DataObject value) 779 { 780 SDOUtil.setDataObject(this, propertyIndex, value); 781 } 782 783 788 public void setDate(int propertyIndex, Date value) 789 { 790 SDOUtil.setDate(this, propertyIndex, value); 791 } 792 793 798 public void setDouble(int propertyIndex, double value) 799 { 800 SDOUtil.setDouble(this, propertyIndex, value); 801 } 802 803 808 public void setFloat(int propertyIndex, float value) 809 { 810 SDOUtil.setFloat(this, propertyIndex, value); 811 } 812 813 818 public void setInt(int propertyIndex, int value) 819 { 820 SDOUtil.setInt(this, propertyIndex, value); 821 } 822 823 828 public void setList(int propertyIndex, List value) 829 { 830 SDOUtil.setList(this, propertyIndex, value); 831 } 832 833 838 public void setLong(int propertyIndex, long value) 839 { 840 SDOUtil.setLong(this, propertyIndex, value); 841 } 842 843 848 public void setShort(int propertyIndex, short value) 849 { 850 SDOUtil.setShort(this, propertyIndex, value); 851 } 852 853 858 public void setString(int propertyIndex, String value) 859 { 860 SDOUtil.setString(this, propertyIndex, value); 861 } 862 863 868 public BigDecimal getBigDecimal(Property property) 869 { 870 return SDOUtil.getBigDecimal(this, property); 871 } 872 873 878 public BigInteger getBigInteger(Property property) 879 { 880 return SDOUtil.getBigInteger(this, property); 881 } 882 883 888 public boolean getBoolean(Property property) 889 { 890 return SDOUtil.getBoolean(this, property); 891 } 892 893 898 public byte getByte(Property property) 899 { 900 return SDOUtil.getByte(this, property); 901 } 902 903 908 public byte[] getBytes(Property property) 909 { 910 return SDOUtil.getBytes(this, property); 911 } 912 913 918 public char getChar(Property property) 919 { 920 return SDOUtil.getChar(this, property); 921 } 922 923 928 public DataObject getDataObject(Property property) 929 { 930 return SDOUtil.getDataObject(this, property); 931 } 932 933 938 public Date getDate(Property property) 939 { 940 return SDOUtil.getDate(this, property); 941 } 942 943 948 public double getDouble(Property property) 949 { 950 return SDOUtil.getDouble(this, property); 951 } 952 953 958 public float getFloat(Property property) 959 { 960 return SDOUtil.getFloat(this, property); 961 } 962 963 968 public int getInt(Property property) 969 { 970 return SDOUtil.getInt(this, property); 971 } 972 973 978 public List getList(Property property) 979 { 980 return SDOUtil.getList(this, property); 981 } 982 983 988 public long getLong(Property property) 989 { 990 return SDOUtil.getLong(this, property); 991 } 992 993 998 public Sequence getSequence(Property property) 999 { 1000 return SDOUtil.getSequence(this, property); 1001 } 1002 1003 1008 public short getShort(Property property) 1009 { 1010 return SDOUtil.getShort(this, property); 1011 } 1012 1013 1018 public String getString(Property property) 1019 { 1020 return SDOUtil.getString(this, property); 1021 } 1022 1023 1028 public void setBigDecimal(Property property, BigDecimal value) 1029 { 1030 SDOUtil.setBigDecimal(this, property, value); 1031 } 1032 1033 1038 public void setBigInteger(Property property, BigInteger value) 1039 { 1040 SDOUtil.setBigInteger(this, property, value); 1041 } 1042 1043 1048 public void setBoolean(Property property, boolean value) 1049 { 1050 SDOUtil.setBoolean(this, property, value); 1051 } 1052 1053 1058 public void setByte(Property property, byte value) 1059 { 1060 SDOUtil.setByte(this, property, value); 1061 } 1062 1063 1068 public void setBytes(Property property, byte[] value) 1069 { 1070 SDOUtil.setBytes(this, property, value); 1071 } 1072 1073 1078 public void setChar(Property property, char value) 1079 { 1080 SDOUtil.setChar(this, property, value); 1081 } 1082 1083 1088 public void setDataObject(Property property, DataObject value) 1089 { 1090 SDOUtil.setDataObject(this, property, value); 1091 } 1092 1093 1098 public void setDate(Property property, Date value) 1099 { 1100 SDOUtil.setDate(this, property, value); 1101 } 1102 1103 1108 public void setDouble(Property property, double value) 1109 { 1110 SDOUtil.setDouble(this, property, value); 1111 } 1112 1113 1118 public void setFloat(Property property, float value) 1119 { 1120 SDOUtil.setFloat(this, property, value); 1121 } 1122 1123 1128 public void setInt(Property property, int value) 1129 { 1130 SDOUtil.setInt(this, property, value); 1131 } 1132 1133 1138 public void setList(Property property, List value) 1139 { 1140 SDOUtil.setList(this, property, value); 1141 } 1142 1143 1148 public void setLong(Property property, long value) 1149 { 1150 SDOUtil.setLong(this, property, value); 1151 } 1152 1153 1158 public void setShort(Property property, short value) 1159 { 1160 SDOUtil.setShort(this, property, value); 1161 } 1162 1163 1168 public void setString(Property property, String value) 1169 { 1170 SDOUtil.setString(this, property, value); 1171 } 1172 1173 1178 public DataObject createDataObject(String propertyName) 1179 { 1180 return SDOUtil.createDataObject(this, propertyName); 1181 } 1182 1183 1188 public DataObject createDataObject(int propertyIndex) 1189 { 1190 return SDOUtil.createDataObject(this, propertyIndex); 1191 } 1192 1193 1198 public DataObject createDataObject(Property property) 1199 { 1200 return SDOUtil.createDataObject(this, property); 1201 } 1202 1203 1208 public DataObject createDataObject(String propertyName, String namespaceURI, String typeName) 1209 { 1210 return SDOUtil.createDataObject(this, propertyName, namespaceURI, typeName); 1211 } 1212 1213 1218 public DataObject createDataObject(int propertyIndex, String namespaceURI, String typeName) 1219 { 1220 return SDOUtil.createDataObject(this, propertyIndex, namespaceURI, typeName); 1221 } 1222 1223 1228 public DataObject createDataObject(Property property, Type type) 1229 { 1230 return SDOUtil.createDataObject(this, property, type); 1231 } 1232 1233 1238 public void delete() 1239 { 1240 SDOUtil.delete(this); 1241 } 1242 1243 1248 public Object writeReplace() throws ObjectStreamException 1249 { 1250 return SDOUtil.writeReplace(this); 1251 } 1252 1253 1258 public List getInstanceProperties() 1259 { 1260 return SDOUtil.getInstanceProperties(this); 1261 } 1262 1263} | Popular Tags |