package com.vci.corba.framework.data;
|
|
|
/**
|
* Generated from IDL struct "LogInfo".
|
*
|
* @author JacORB IDL compiler V 3.9
|
* @version generated at 2022-12-23 15:42:24
|
*/
|
|
public abstract class LogInfoHelper
|
{
|
private volatile static org.omg.CORBA.TypeCode _type;
|
public static org.omg.CORBA.TypeCode type ()
|
{
|
if (_type == null)
|
{
|
synchronized(LogInfoHelper.class)
|
{
|
if (_type == null)
|
{
|
_type = org.omg.CORBA.ORB.init().create_struct_tc(com.vci.corba.framework.data.LogInfoHelper.id(),"LogInfo",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("puid", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("username", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("truename", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("userIp", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("result", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("content", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("date", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("type", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("moduleName", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("entityDesc", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("property", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("previousVal", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("newVal", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("logType", 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.framework.data.LogInfo s)
|
{
|
any.type(type());
|
write( any.create_output_stream(),s);
|
}
|
|
public static com.vci.corba.framework.data.LogInfo 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/framework/data/LogInfo:1.0";
|
}
|
public static com.vci.corba.framework.data.LogInfo read (final org.omg.CORBA.portable.InputStream in)
|
{
|
com.vci.corba.framework.data.LogInfo result = new com.vci.corba.framework.data.LogInfo();
|
result.puid=in.read_wstring();
|
result.username=in.read_wstring();
|
result.truename=in.read_wstring();
|
result.userIp=in.read_wstring();
|
result.result=in.read_wstring();
|
result.content=in.read_wstring();
|
result.date=in.read_wstring();
|
result.type=in.read_wstring();
|
result.moduleName=in.read_wstring();
|
result.entityDesc=in.read_wstring();
|
result.property=in.read_wstring();
|
result.previousVal=in.read_wstring();
|
result.newVal=in.read_wstring();
|
result.logType=in.read_wstring();
|
return result;
|
}
|
public static void write (final org.omg.CORBA.portable.OutputStream out, final com.vci.corba.framework.data.LogInfo s)
|
{
|
java.lang.String tmpResult122 = s.puid;
|
out.write_wstring( tmpResult122 );
|
java.lang.String tmpResult123 = s.username;
|
out.write_wstring( tmpResult123 );
|
java.lang.String tmpResult124 = s.truename;
|
out.write_wstring( tmpResult124 );
|
java.lang.String tmpResult125 = s.userIp;
|
out.write_wstring( tmpResult125 );
|
java.lang.String tmpResult126 = s.result;
|
out.write_wstring( tmpResult126 );
|
java.lang.String tmpResult127 = s.content;
|
out.write_wstring( tmpResult127 );
|
java.lang.String tmpResult128 = s.date;
|
out.write_wstring( tmpResult128 );
|
java.lang.String tmpResult129 = s.type;
|
out.write_wstring( tmpResult129 );
|
java.lang.String tmpResult130 = s.moduleName;
|
out.write_wstring( tmpResult130 );
|
java.lang.String tmpResult131 = s.entityDesc;
|
out.write_wstring( tmpResult131 );
|
java.lang.String tmpResult132 = s.property;
|
out.write_wstring( tmpResult132 );
|
java.lang.String tmpResult133 = s.previousVal;
|
out.write_wstring( tmpResult133 );
|
java.lang.String tmpResult134 = s.newVal;
|
out.write_wstring( tmpResult134 );
|
java.lang.String tmpResult135 = s.logType;
|
out.write_wstring( tmpResult135 );
|
}
|
}
|