package com.vci.corba.portal.data; /** * Generated from IDL struct "PLCommandParameter". * * @author JacORB IDL compiler V 3.9 * @version generated at 2022-12-23 15:42:24 */ public abstract class PLCommandParameterHelper { private volatile static org.omg.CORBA.TypeCode _type; public static org.omg.CORBA.TypeCode type () { if (_type == null) { synchronized(PLCommandParameterHelper.class) { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_struct_tc(com.vci.corba.portal.data.PLCommandParameterHelper.id(),"PLCommandParameter",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("plOId", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plCommandOId", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plKey", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plValue", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plCreateTime", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plCreateUser", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plModifyTime", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plModifyUser", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plLicensOrs", 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.portal.data.PLCommandParameter s) { any.type(type()); write( any.create_output_stream(),s); } public static com.vci.corba.portal.data.PLCommandParameter 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/portal/data/PLCommandParameter:1.0"; } public static com.vci.corba.portal.data.PLCommandParameter read (final org.omg.CORBA.portable.InputStream in) { com.vci.corba.portal.data.PLCommandParameter result = new com.vci.corba.portal.data.PLCommandParameter(); result.plOId=in.read_wstring(); result.plCommandOId=in.read_wstring(); result.plKey=in.read_wstring(); result.plValue=in.read_wstring(); result.plCreateTime=in.read_wstring(); result.plCreateUser=in.read_wstring(); result.plModifyTime=in.read_wstring(); result.plModifyUser=in.read_wstring(); result.plLicensOrs=in.read_wstring(); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final com.vci.corba.portal.data.PLCommandParameter s) { java.lang.String tmpResult1246 = s.plOId; out.write_wstring( tmpResult1246 ); java.lang.String tmpResult1247 = s.plCommandOId; out.write_wstring( tmpResult1247 ); java.lang.String tmpResult1248 = s.plKey; out.write_wstring( tmpResult1248 ); java.lang.String tmpResult1249 = s.plValue; out.write_wstring( tmpResult1249 ); java.lang.String tmpResult1250 = s.plCreateTime; out.write_wstring( tmpResult1250 ); java.lang.String tmpResult1251 = s.plCreateUser; out.write_wstring( tmpResult1251 ); java.lang.String tmpResult1252 = s.plModifyTime; out.write_wstring( tmpResult1252 ); java.lang.String tmpResult1253 = s.plModifyUser; out.write_wstring( tmpResult1253 ); java.lang.String tmpResult1254 = s.plLicensOrs; out.write_wstring( tmpResult1254 ); } }