1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704
/* * @(#)Any.java 1.47 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package org.omg.CORBA; import org.omg.CORBA.portable.InputStream; import org.omg.CORBA.portable.OutputStream; import org.omg.CORBA.portable.Streamable; import org.omg.CORBA.portable.IDLEntity; /** * Serves as a container for any data that can be * described in IDL or for any IDL primitive type. * An <code>Any</code> object is used as a component of a * <code>NamedValue</code> object, which provides information about * arguments or return values in requests, and which is used to define * name/value pairs in <code>Context</code> objects. <p> * * An <code>Any</code> object consists of two parts: * <OL> * <LI>a data value * <LI>a <code>TypeCode</code> object describing the type of the data * value contained in the <code>Any</code> object. For example, * a <code>TypeCode</code> object for an array contains * a field for the length of the array and a field for * the type of elements in the array. (Note that in this case, the * second field of the <code>TypeCode</code> object is itself a * <code>TypeCode</code> object.) * </OL> * * <P> * <a name="anyOps"</a> * A large part of the <code>Any</code> class consists of pairs of methods * for inserting values into and extracting values from an * <code>Any</code> object. * <P> * For a given primitive type X, these methods are: * <dl> * <dt><code><bold> void insert_X(X x)</bold></code> * <dd> This method allows the insertion of * an instance <code>x</code> of primitive type <code>X</code> * into the <code>value</code> field of the <code>Any</code> object. * Note that the method * <code>insert_X</code> also resets the <code>Any</code> object's * <code>type</code> field if necessary. * <dt> <code><bold>X extract_X()</bold></code> * <dd> This method allows the extraction of an instance of * type <code>X</code> from the <code>Any</code> object. * <BR> * <P> * This method throws the exception <code>BAD_OPERATION</code> under two conditions: * <OL> * <LI> the type of the element contained in the <code>Any</code> object is not * <code>X</code> * <LI> the method <code>extract_X</code> is called before * the <code>value</code> field of the <code>Any</code> object * has been set * </OL> * </dl> * <P> * There are distinct method pairs for each * primitive IDL data type (<code>insert_long</code> and <code>extract_long</code>, * <code>insert_string</code> and <code>extract_string</code>, and so on).<BR> * <P> * The class <code>Any</code> also has methods for * getting and setting the type code, * for testing two <code>Any</code> objects for equality, * and for reading an <code>Any</code> object from a stream or * writing it to a stream. * <BR> * @version 1.12, 09/09/97 * @since JDK1.2 */ abstract public class Any implements IDLEntity { /** * Checks for equality between this <code>Any</code> object and the * given <code>Any</code> object. Two <code>Any</code> objects are * equal if both their values and type codes are equal. * * @param a the <code>Any</code> object to test for equality * @return <code>true</code> if the <code>Any</code> objects are equal; * <code>false</code> otherwise * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ abstract public boolean equal(Any a); /** * Returns type information for the element contained in this * <code>Any</code> object. * * @return the <code>TypeCode</code> object containing type information * about the value contained in this <code>Any</code> object */ abstract public TypeCode type(); /** * Sets this <code>Any</code> object's <code>type</code> field * to the given <code>TypeCode</code> object and clears its value. * <P> * Note that using this method to set the type code wipes out the * value if there is one. The method * is provided primarily so that the type may be set properly for * IDL <code>out</code> parameters. Generally, setting the type * is done by the <code>insert_X</code> methods, which will set the type * to X if it is not already set to X. * * @param t the <code>TypeCode</code> object giving * information for the value in * this <code>Any</code> object */ abstract public void type(TypeCode t); /////////////////////////////////////////////////////////////////////////// // marshalling/unmarshalling routines /** * Reads off (unmarshals) the value of an <code>Any</code> object from * the given input stream using the given typecode. * * @param is the <code>org.omg.CORBA.portable.InputStream</code> * object from which to read * the value contained in this <code>Any</code> object * * @param t a <code>TypeCode</code> object containing type information * about the value to be read * * @exception MARSHAL when the given <code>TypeCode</code> object is * not consistent with the value that was contained * in the input stream */ abstract public void read_value(InputStream is, TypeCode t) throws MARSHAL; /** * Writes out the value of this <code>Any</code> object * to the given output stream. If both <code>typecode</code> * and <code>value</code> need to be written, use * <code>create_output_stream()</code> to create an <code>OutputStream</code>, * then use <code>write_any</code> on the <code>OutputStream</code>. * <P> * If this method is called on an <code>Any</code> object that has not * had a value inserted into its <code>value</code> field, it will throw * the exception <code>java.lang.NullPointerException</code>. * * @param os the <code>org.omg.CORBA.portable.OutputStream</code> * object into which to marshal the value * of this <code>Any</code> object * */ abstract public void write_value(OutputStream os); /** * Creates an output stream into which this <code>Any</code> object's * value can be marshalled. * * @return the newly-created <code>OutputStream</code> */ abstract public OutputStream create_output_stream(); /** * Creates an input stream from which this <code>Any</code> object's value * can be unmarshalled. * * @return the newly-created <code>InputStream</code> */ abstract public InputStream create_input_stream(); /////////////////////////////////////////////////////////////////////////// // basic insertion/extraction methods /** * Extracts the <code>short</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>short</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>short</code> or the * <code>value</code> field has not yet been set */ abstract public short extract_short() throws BAD_OPERATION; /** * Inserts the given <code>short</code> * into this <code>Any</code> object's <code>value</code> field. * * @param s the <code>short</code> to insert into this * <code>Any</code> object */ abstract public void insert_short(short s); /** * Extracts the <code>int</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>int</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than an <code>int</code> or the * <code>value</code> field has not yet been set */ abstract public int extract_long() throws BAD_OPERATION; /** * Inserts the given <code>int</code> * into this <code>Any</code> object's <code>value</code> field. * * @param l the <code>int</code> to insert into this * <code>Any</code> object */ abstract public void insert_long(int l); /** * Extracts the <code>long</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>long</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>long</code> or the * <code>value</code> field has not yet been set */ abstract public long extract_longlong() throws BAD_OPERATION; /** * Inserts the given <code>long</code> * into this <code>Any</code> object's <code>value</code> field. * * @param l the <code>long</code> to insert into this * <code>Any</code> object */ abstract public void insert_longlong(long l); /** * Extracts the <code>short</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>short</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>short</code> or the * <code>value</code> field has not yet been set */ abstract public short extract_ushort() throws BAD_OPERATION; /** * Inserts the given <code>short</code> * into this <code>Any</code> object's <code>value</code> field. * * @param s the <code>short</code> to insert into this * <code>Any</code> object */ abstract public void insert_ushort(short s); /** * Extracts the <code>int</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>int</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than an <code>int</code> or the * <code>value</code> field has not yet been set */ abstract public int extract_ulong() throws BAD_OPERATION; /** * Inserts the given <code>int</code> * into this <code>Any</code> object's <code>value</code> field. * * @param l the <code>int</code> to insert into this * <code>Any</code> object */ abstract public void insert_ulong(int l); /** * Extracts the <code>long</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>long</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>long</code> or the * <code>value</code> field has not yet been set */ abstract public long extract_ulonglong() throws BAD_OPERATION; /** * Inserts the given <code>long</code> * into this <code>Any</code> object's <code>value</code> field. * * @param l the <code>long</code> to insert into this * <code>Any</code> object */ abstract public void insert_ulonglong(long l); /** * Extracts the <code>float</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>float</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>float</code> or the * <code>value</code> field has not yet been set */ abstract public float extract_float() throws BAD_OPERATION; /** * Inserts the given <code>float</code> * into this <code>Any</code> object's <code>value</code> field. * * @param f the <code>float</code> to insert into this * <code>Any</code> object */ abstract public void insert_float(float f); /** * Extracts the <code>double</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>double</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>double</code> or the * <code>value</code> field has not yet been set */ abstract public double extract_double() throws BAD_OPERATION; /** * Inserts the given <code>double</code> * into this <code>Any</code> object's <code>value</code> field. * * @param d the <code>double</code> to insert into this * <code>Any</code> object */ abstract public void insert_double(double d); /** * Extracts the <code>boolean</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>boolean</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>boolean</code> or the * <code>value</code> field has not yet been set */ abstract public boolean extract_boolean() throws BAD_OPERATION; /** * Inserts the given <code>boolean</code> * into this <code>Any</code> object's <code>value</code> field. * * @param b the <code>boolean</code> to insert into this * <code>Any</code> object */ abstract public void insert_boolean(boolean b); /** * Extracts the <code>char</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>char</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>char</code> or the * <code>value</code> field has not yet been set */ abstract public char extract_char() throws BAD_OPERATION; /** * Inserts the given <code>char</code> * into this <code>Any</code> object's <code>value</code> field. * * @param c the <code>char</code> to insert into this * <code>Any</code> object * @exception DATA_CONVERSION if there is a data conversion * error */ abstract public void insert_char(char c) throws DATA_CONVERSION; /** * Extracts the <code>char</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>char</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>char</code> or the * <code>value</code> field has not yet been set */ abstract public char extract_wchar() throws BAD_OPERATION; /** * Inserts the given <code>char</code> * into this <code>Any</code> object's <code>value</code> field. * * @param c the <code>char</code> to insert into this * <code>Any</code> object */ abstract public void insert_wchar(char c); /** * Extracts the <code>byte</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>byte</code> stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>byte</code> or the * <code>value</code> field has not yet been set */ abstract public byte extract_octet() throws BAD_OPERATION; /** * Inserts the given <code>byte</code> * into this <code>Any</code> object's <code>value</code> field. * * @param b the <code>byte</code> to insert into this * <code>Any</code> object */ abstract public void insert_octet(byte b); /** * Extracts the <code>Any</code> object in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>Any</code> object stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than an <code>Any</code> object or the * <code>value</code> field has not yet been set */ abstract public Any extract_any() throws BAD_OPERATION; /** * Inserts the given <code>Any</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param a the <code>Any</code> object to insert into this * <code>Any</code> object */ abstract public void insert_any(Any a); /** * Extracts the <code>org.omg.CORBA.Object</code> in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>org.omg.CORBA.Object</code> stored in * this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than an * <code>org.omg.CORBA.Object</code> or the * <code>value</code> field has not yet been set */ abstract public org.omg.CORBA.Object extract_Object() throws BAD_OPERATION; /** * Inserts the given <code>org.omg.CORBA.Object</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param o the <code>org.omg.CORBA.Object</code> object to insert into this * <code>Any</code> object */ abstract public void insert_Object(org.omg.CORBA.Object o); /** * Extracts the <code>java.io.Serializable</code> object in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>java.io.Serializable</code> object stored in * this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>java.io.Serializable</code> * object or the * <code>value</code> field has not yet been set */ abstract public java.io.Serializable extract_Value() throws BAD_OPERATION ; /** * Inserts the given <code>java.io.Serializable</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param v the <code>java.io.Serializable</code> object to insert into this * <code>Any</code> object */ abstract public void insert_Value(java.io.Serializable v) ; /** * Inserts the given <code>java.io.Serializable</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param v the <code>java.io.Serializable</code> object to insert into this * <code>Any</code> object * @param t the <code>TypeCode</code> object that is to be inserted into * this <code>Any</code> object's <code>type</code> field * and that describes the <code>java.io.Serializable</code> * object being inserted * @throws MARSHAL if the ORB has a problem marshalling or * unmarshalling parameters */ abstract public void insert_Value(java.io.Serializable v, TypeCode t) throws MARSHAL ; /** * Inserts the given <code>org.omg.CORBA.Object</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param o the <code>org.omg.CORBA.Object</code> instance to insert into this * <code>Any</code> object * @param t the <code>TypeCode</code> object that is to be inserted into * this <code>Any</code> object and that describes * the <code>Object</code> being inserted * @exception BAD_OPERATION if this method is invalid for this * <code>Any</code> object * */ abstract public void insert_Object(org.omg.CORBA.Object o, TypeCode t) throws BAD_PARAM; /** * Extracts the <code>String</code> object in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>String</code> object stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>String</code> object or the * <code>value</code> field has not yet been set */ abstract public String extract_string() throws BAD_OPERATION; /** * Inserts the given <code>String</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param s the <code>String</code> object to insert into this * <code>Any</code> object * @exception DATA_CONVERSION if there is a data conversion error * @exception MARSHAL if the ORB has a problem marshalling or * unmarshalling parameters */ abstract public void insert_string(String s) throws DATA_CONVERSION, MARSHAL; /** * Extracts the <code>String</code> object in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>String</code> object stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>String</code> object or the * <code>value</code> field has not yet been set */ abstract public String extract_wstring() throws BAD_OPERATION; /** * Inserts the given <code>String</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param s the <code>String</code> object to insert into this * <code>Any</code> object * @exception MARSHAL if the ORB has a problem marshalling or * unmarshalling parameters */ abstract public void insert_wstring(String s) throws MARSHAL; /** * Extracts the <code>TypeCode</code> object in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>TypeCode</code> object stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a <code>TypeCode</code> object or the * <code>value</code> field has not yet been set */ abstract public TypeCode extract_TypeCode() throws BAD_OPERATION; /** * Inserts the given <code>TypeCode</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param t the <code>TypeCode</code> object to insert into this * <code>Any</code> object */ abstract public void insert_TypeCode(TypeCode t); /** * Extracts the <code>Principal</code> object in this * <code>Any</code> object's <code>value</code> field. * Note that the class <code>Principal</code> has been deprecated. * * @return the <code>Principal</code> object stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a * <code>Principal</code> object or the * <code>value</code> field has not yet been set * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> * @deprecated Deprecated by CORBA 2.2. */ @Deprecated public Principal extract_Principal() throws BAD_OPERATION { throw new org.omg.CORBA.NO_IMPLEMENT() ; } /** * Inserts the given <code>Principal</code> object * into this <code>Any</code> object's <code>value</code> field. * Note that the class <code>Principal</code> has been deprecated. * * @param p the <code>Principal</code> object to insert into this * <code>Any</code> object * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> * @deprecated Deprecated by CORBA 2.2. */ @Deprecated public void insert_Principal(Principal p) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } /////////////////////////////////////////////////////////////////////////// // insertion/extraction of streamables /** * Extracts a <code>Streamable</code> from this <code>Any</code> object's * <code>value</code> field. This method allows the extraction of * non-primitive IDL types. * * @return the <code>Streamable</code> stored in the <code>Any</code> object. * @throws BAD_INV_ORDER if the caller has invoked operations in the wrong order * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public org.omg.CORBA.portable.Streamable extract_Streamable() throws org.omg.CORBA.BAD_INV_ORDER { throw new org.omg.CORBA.NO_IMPLEMENT() ; } /** * Inserts the given <code>Streamable</code> object * into this <code>Any</code> object's <code>value</code> field. * This method allows the insertion of non-primitive IDL types. * * @param s the <code>Streamable</code> object to insert into this * <code>Any</code> object; may be a non-primitive * IDL type * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public void insert_Streamable(Streamable s) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } /** * Extracts the <code>java.math.BigDecimal</code> object in this * <code>Any</code> object's <code>value</code> field. * * @return the <code>java.math.BigDecimal</code> object * stored in this <code>Any</code> object * @exception BAD_OPERATION if this <code>Any</code> object * contains something other than a * <code>java.math.BigDecimal</code> object or the * <code>value</code> field has not yet been set * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public java.math.BigDecimal extract_fixed() { throw new org.omg.CORBA.NO_IMPLEMENT(); } /** * Throws an <a href="package-summary.html#NO_IMPLEMENT"> * <code>org.omg.CORBA.NO_IMPLEMENT</code></a> exception. * <P> * Inserts the given <code>java.math.BigDecimal</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param value the <code>java.math.BigDecimal</code> object * to insert into this <code>Any</code> object * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public void insert_fixed(java.math.BigDecimal value) { throw new org.omg.CORBA.NO_IMPLEMENT(); } /** * Throws an <a href="package-summary.html#NO_IMPLEMENT"> * <code>org.omg.CORBA.NO_IMPLEMENT</code></a> exception. * <P> * Inserts the given <code>java.math.BigDecimal</code> object * into this <code>Any</code> object's <code>value</code> field. * * @param value the <code>java.math.BigDecimal</code> object * to insert into this <code>Any</code> object * @param type the <code>TypeCode</code> object that is to be inserted into * this <code>Any</code> object's <code>type</code> field * and that describes the <code>java.math.BigDecimal</code> * object being inserted * @throws org.omg.CORBA.BAD_INV_ORDER if this method is invoked improperly * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public void insert_fixed(java.math.BigDecimal value, org.omg.CORBA.TypeCode type) throws org.omg.CORBA.BAD_INV_ORDER { throw new org.omg.CORBA.NO_IMPLEMENT(); } }