package com.vci.corba.qt.data;
|
|
|
/**
|
* Generated from IDL struct "BtmRefQueryOption".
|
*
|
* @author JacORB IDL compiler V 3.9
|
* @version generated at 2022-12-23 15:42:24
|
*/
|
|
public abstract class BtmRefQueryOptionHelper
|
{
|
private volatile static org.omg.CORBA.TypeCode _type;
|
public static org.omg.CORBA.TypeCode type ()
|
{
|
if (_type == null)
|
{
|
synchronized(BtmRefQueryOptionHelper.class)
|
{
|
if (_type == null)
|
{
|
_type = org.omg.CORBA.ORB.init().create_struct_tc(com.vci.corba.qt.data.BtmRefQueryOptionHelper.id(),"BtmRefQueryOption",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("attrName", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("refBtmName", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("refBtmQueryAttrs", org.omg.CORBA.ORB.init().create_alias_tc(com.vci.corba.common.data.WStringArrayHelper.id(), "WStringArray",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_wstring_tc(0))), null)});
|
}
|
}
|
}
|
return _type;
|
}
|
|
public static void insert (final org.omg.CORBA.Any any, final com.vci.corba.qt.data.BtmRefQueryOption s)
|
{
|
any.type(type());
|
write( any.create_output_stream(),s);
|
}
|
|
public static com.vci.corba.qt.data.BtmRefQueryOption extract (final org.omg.CORBA.Any any)
|
{
|
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
|
try
|
{
|
return read (in);
|
}
|
finally
|
{
|
try
|
{
|
in.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
|
public static String id()
|
{
|
return "IDL:com/vci/corba/qt/data/BtmRefQueryOption:1.0";
|
}
|
public static com.vci.corba.qt.data.BtmRefQueryOption read (final org.omg.CORBA.portable.InputStream in)
|
{
|
com.vci.corba.qt.data.BtmRefQueryOption result = new com.vci.corba.qt.data.BtmRefQueryOption();
|
result.attrName=in.read_wstring();
|
result.refBtmName=in.read_wstring();
|
result.refBtmQueryAttrs = com.vci.corba.common.data.WStringArrayHelper.read(in);
|
return result;
|
}
|
public static void write (final org.omg.CORBA.portable.OutputStream out, final com.vci.corba.qt.data.BtmRefQueryOption s)
|
{
|
java.lang.String tmpResult1172 = s.attrName;
|
out.write_wstring( tmpResult1172 );
|
java.lang.String tmpResult1173 = s.refBtmName;
|
out.write_wstring( tmpResult1173 );
|
com.vci.corba.common.data.WStringArrayHelper.write(out,s.refBtmQueryAttrs);
|
}
|
}
|