package com.vci.corba.portal.data; /** * Generated from IDL struct "PLAction". * * @author JacORB IDL compiler V 3.9 * @version generated at 2022-12-23 15:42:24 */ public abstract class PLActionHelper { private volatile static org.omg.CORBA.TypeCode _type; public static org.omg.CORBA.TypeCode type () { if (_type == null) { synchronized(PLActionHelper.class) { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_struct_tc(com.vci.corba.portal.data.PLActionHelper.id(),"PLAction",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("plCode", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plName", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plBSUrl", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plCSClass", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plDesc", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("plTypeType", 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),new org.omg.CORBA.StructMember("plActionCls", 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.PLAction s) { any.type(type()); write( any.create_output_stream(),s); } public static com.vci.corba.portal.data.PLAction 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/PLAction:1.0"; } public static com.vci.corba.portal.data.PLAction read (final org.omg.CORBA.portable.InputStream in) { com.vci.corba.portal.data.PLAction result = new com.vci.corba.portal.data.PLAction(); result.plOId=in.read_wstring(); result.plCode=in.read_wstring(); result.plName=in.read_wstring(); result.plBSUrl=in.read_wstring(); result.plCSClass=in.read_wstring(); result.plDesc=in.read_wstring(); result.plTypeType=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(); result.plActionCls=in.read_wstring(); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final com.vci.corba.portal.data.PLAction s) { java.lang.String tmpResult1219 = s.plOId; out.write_wstring( tmpResult1219 ); java.lang.String tmpResult1220 = s.plCode; out.write_wstring( tmpResult1220 ); java.lang.String tmpResult1221 = s.plName; out.write_wstring( tmpResult1221 ); java.lang.String tmpResult1222 = s.plBSUrl; out.write_wstring( tmpResult1222 ); java.lang.String tmpResult1223 = s.plCSClass; out.write_wstring( tmpResult1223 ); java.lang.String tmpResult1224 = s.plDesc; out.write_wstring( tmpResult1224 ); java.lang.String tmpResult1225 = s.plTypeType; out.write_wstring( tmpResult1225 ); java.lang.String tmpResult1226 = s.plCreateTime; out.write_wstring( tmpResult1226 ); java.lang.String tmpResult1227 = s.plCreateUser; out.write_wstring( tmpResult1227 ); java.lang.String tmpResult1228 = s.plModifyTime; out.write_wstring( tmpResult1228 ); java.lang.String tmpResult1229 = s.plModifyUser; out.write_wstring( tmpResult1229 ); java.lang.String tmpResult1230 = s.plLicensOrs; out.write_wstring( tmpResult1230 ); java.lang.String tmpResult1231 = s.plActionCls; out.write_wstring( tmpResult1231 ); } }