org.omg.DynamicAny.DynValuePOA Maven / Gradle / Ivy
Show all versions of openjdk-orb Show documentation
package org.omg.DynamicAny;
/**
* org/omg/DynamicAny/DynValuePOA.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /mnt/plextor/workspace/_jboss-openjdk-orb/src/share/classes/org/omg/DynamicAny/DynamicAny.idl
* piątek, 16 kwietnia 2021 18:04:52 CEST
*/
/**
* DynValue objects support the manipulation of IDL non-boxed value types.
* The DynValue interface can represent both null and non-null value types.
* For a DynValue representing a non-null value type, the DynValue's components comprise
* the public and private members of the value type, including those inherited from concrete base value types,
* in the order of definition. A DynValue representing a null value type has no components
* and a current position of -1.
* Warning: Indiscriminantly changing the contents of private value type members can cause the value type
* implementation to break by violating internal constraints. Access to private members is provided to support
* such activities as ORB bridging and debugging and should not be used to arbitrarily violate
* the encapsulation of the value type.
*/
public abstract class DynValuePOA extends org.omg.PortableServer.Servant
implements org.omg.DynamicAny.DynValueOperations, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("current_member_name", new java.lang.Integer (0));
_methods.put ("current_member_kind", new java.lang.Integer (1));
_methods.put ("get_members", new java.lang.Integer (2));
_methods.put ("set_members", new java.lang.Integer (3));
_methods.put ("get_members_as_dyn_any", new java.lang.Integer (4));
_methods.put ("set_members_as_dyn_any", new java.lang.Integer (5));
_methods.put ("is_null", new java.lang.Integer (6));
_methods.put ("set_to_null", new java.lang.Integer (7));
_methods.put ("set_to_value", new java.lang.Integer (8));
_methods.put ("type", new java.lang.Integer (9));
_methods.put ("assign", new java.lang.Integer (10));
_methods.put ("from_any", new java.lang.Integer (11));
_methods.put ("to_any", new java.lang.Integer (12));
_methods.put ("equal", new java.lang.Integer (13));
_methods.put ("destroy", new java.lang.Integer (14));
_methods.put ("copy", new java.lang.Integer (15));
_methods.put ("insert_boolean", new java.lang.Integer (16));
_methods.put ("insert_octet", new java.lang.Integer (17));
_methods.put ("insert_char", new java.lang.Integer (18));
_methods.put ("insert_short", new java.lang.Integer (19));
_methods.put ("insert_ushort", new java.lang.Integer (20));
_methods.put ("insert_long", new java.lang.Integer (21));
_methods.put ("insert_ulong", new java.lang.Integer (22));
_methods.put ("insert_float", new java.lang.Integer (23));
_methods.put ("insert_double", new java.lang.Integer (24));
_methods.put ("insert_string", new java.lang.Integer (25));
_methods.put ("insert_reference", new java.lang.Integer (26));
_methods.put ("insert_typecode", new java.lang.Integer (27));
_methods.put ("insert_longlong", new java.lang.Integer (28));
_methods.put ("insert_ulonglong", new java.lang.Integer (29));
_methods.put ("insert_wchar", new java.lang.Integer (30));
_methods.put ("insert_wstring", new java.lang.Integer (31));
_methods.put ("insert_any", new java.lang.Integer (32));
_methods.put ("insert_dyn_any", new java.lang.Integer (33));
_methods.put ("insert_val", new java.lang.Integer (34));
_methods.put ("get_boolean", new java.lang.Integer (35));
_methods.put ("get_octet", new java.lang.Integer (36));
_methods.put ("get_char", new java.lang.Integer (37));
_methods.put ("get_short", new java.lang.Integer (38));
_methods.put ("get_ushort", new java.lang.Integer (39));
_methods.put ("get_long", new java.lang.Integer (40));
_methods.put ("get_ulong", new java.lang.Integer (41));
_methods.put ("get_float", new java.lang.Integer (42));
_methods.put ("get_double", new java.lang.Integer (43));
_methods.put ("get_string", new java.lang.Integer (44));
_methods.put ("get_reference", new java.lang.Integer (45));
_methods.put ("get_typecode", new java.lang.Integer (46));
_methods.put ("get_longlong", new java.lang.Integer (47));
_methods.put ("get_ulonglong", new java.lang.Integer (48));
_methods.put ("get_wchar", new java.lang.Integer (49));
_methods.put ("get_wstring", new java.lang.Integer (50));
_methods.put ("get_any", new java.lang.Integer (51));
_methods.put ("get_dyn_any", new java.lang.Integer (52));
_methods.put ("get_val", new java.lang.Integer (53));
_methods.put ("seek", new java.lang.Integer (54));
_methods.put ("rewind", new java.lang.Integer (55));
_methods.put ("next", new java.lang.Integer (56));
_methods.put ("component_count", new java.lang.Integer (57));
_methods.put ("current_component", new java.lang.Integer (58));
}
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/DynValue:1.0",
"IDL:omg.org/DynamicAny/DynValueCommon: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 DynValue _this()
{
return DynValueHelper.narrow(
super._this_object());
}
public DynValue _this(org.omg.CORBA.ORB orb)
{
return DynValueHelper.narrow(
super._this_object(orb));
}
} // class DynValuePOA