All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.DynamicAny.DynArrayPOA Maven / Gradle / Ivy

The newest version!
package org.omg.DynamicAny;


/**
* org/omg/DynamicAny/DynArrayPOA.java .
* Error!  A message was requested which does not exist.  The messages file does not contain the key: toJavaProlog1
* Error!  A message was requested which does not exist.  The messages file does not contain the key: toJavaProlog2
* Monday, February 12, 2024 at 2:42:26 PM Central European Standard Time
*/


/**
    * DynArray objects support the manipulation of IDL arrays.
    * Note that the dimension of the array is contained in the TypeCode which is accessible
    * through the type attribute. It can also be obtained by calling the component_count operation.
    */
public abstract class DynArrayPOA extends org.omg.PortableServer.Servant
 implements org.omg.DynamicAny.DynArrayOperations, org.omg.CORBA.portable.InvokeHandler
{

  // Constructors

  private static java.util.Map _methods = new java.util.HashMap ();
  static
  {
    _methods.put ("get_elements", 0);
    _methods.put ("set_elements", 1);
    _methods.put ("get_elements_as_dyn_any", 2);
    _methods.put ("set_elements_as_dyn_any", 3);
    _methods.put ("type", 4);
    _methods.put ("assign", 5);
    _methods.put ("from_any", 6);
    _methods.put ("to_any", 7);
    _methods.put ("equal", 8);
    _methods.put ("destroy", 9);
    _methods.put ("copy", 10);
    _methods.put ("insert_boolean", 11);
    _methods.put ("insert_octet", 12);
    _methods.put ("insert_char", 13);
    _methods.put ("insert_short", 14);
    _methods.put ("insert_ushort", 15);
    _methods.put ("insert_long", 16);
    _methods.put ("insert_ulong", 17);
    _methods.put ("insert_float", 18);
    _methods.put ("insert_double", 19);
    _methods.put ("insert_string", 20);
    _methods.put ("insert_reference", 21);
    _methods.put ("insert_typecode", 22);
    _methods.put ("insert_longlong", 23);
    _methods.put ("insert_ulonglong", 24);
    _methods.put ("insert_wchar", 25);
    _methods.put ("insert_wstring", 26);
    _methods.put ("insert_any", 27);
    _methods.put ("insert_dyn_any", 28);
    _methods.put ("insert_val", 29);
    _methods.put ("get_boolean", 30);
    _methods.put ("get_octet", 31);
    _methods.put ("get_char", 32);
    _methods.put ("get_short", 33);
    _methods.put ("get_ushort", 34);
    _methods.put ("get_long", 35);
    _methods.put ("get_ulong", 36);
    _methods.put ("get_float", 37);
    _methods.put ("get_double", 38);
    _methods.put ("get_string", 39);
    _methods.put ("get_reference", 40);
    _methods.put ("get_typecode", 41);
    _methods.put ("get_longlong", 42);
    _methods.put ("get_ulonglong", 43);
    _methods.put ("get_wchar", 44);
    _methods.put ("get_wstring", 45);
    _methods.put ("get_any", 46);
    _methods.put ("get_dyn_any", 47);
    _methods.put ("get_val", 48);
    _methods.put ("seek", 49);
    _methods.put ("rewind", 50);
    _methods.put ("next", 51);
    _methods.put ("component_count", 52);
    _methods.put ("current_component", 53);
  }

  public org.omg.CORBA.portable.OutputStream _invoke (String $method,
                                org.omg.CORBA.portable.InputStream in,
                                org.omg.CORBA.portable.ResponseHandler $rh)
  {
    throw new org.omg.CORBA.BAD_OPERATION();
  } // _invoke

  // Type-specific CORBA::Object operations
  private static String[] __ids = {
    "IDL:omg.org/DynamicAny/DynArray:1.0", 
    "IDL:omg.org/DynamicAny/DynAny:1.0"};

  public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
  {
    return (String[])__ids.clone ();
  }

  public DynArray _this() 
  {
    return DynArrayHelper.narrow(
    super._this_object());
  }

  public DynArray _this(org.omg.CORBA.ORB orb) 
  {
    return DynArrayHelper.narrow(
    super._this_object(orb));
  }


} // class DynArrayPOA




© 2015 - 2025 Weber Informatics LLC | Privacy Policy