ludc
2024-09-14 36c2449aec5b51e5ed4e5c6841154b746060e09a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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 );
    }
}