package com.vci.corba.auth2.data;
|
|
|
/**
|
* Generated from IDL struct "GrandValue".
|
*
|
* @author JacORB IDL compiler V 3.9
|
* @version generated at 2022-12-23 15:42:24
|
*/
|
|
public abstract class GrandValueHelper
|
{
|
private volatile static org.omg.CORBA.TypeCode _type;
|
public static org.omg.CORBA.TypeCode type ()
|
{
|
if (_type == null)
|
{
|
synchronized(GrandValueHelper.class)
|
{
|
if (_type == null)
|
{
|
_type = org.omg.CORBA.ORB.init().create_struct_tc(com.vci.corba.auth2.data.GrandValueHelper.id(),"GrandValue",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("ID", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("users", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("roles", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("userGroups", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("identifier", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("expToSQL", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("isGrand", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(9)), null),new org.omg.CORBA.StructMember("ruleText", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("seniorRuleText", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("ruleName", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("ruleType", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("lexpToSQL", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("lruleText", org.omg.CORBA.ORB.init().create_wstring_tc(0), null),new org.omg.CORBA.StructMember("lseniorRuleText", 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.auth2.data.GrandValue s)
|
{
|
any.type(type());
|
write( any.create_output_stream(),s);
|
}
|
|
public static com.vci.corba.auth2.data.GrandValue 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/auth2/data/GrandValue:1.0";
|
}
|
public static com.vci.corba.auth2.data.GrandValue read (final org.omg.CORBA.portable.InputStream in)
|
{
|
com.vci.corba.auth2.data.GrandValue result = new com.vci.corba.auth2.data.GrandValue();
|
result.ID=in.read_wstring();
|
result.users=in.read_wstring();
|
result.roles=in.read_wstring();
|
result.userGroups=in.read_wstring();
|
result.identifier=in.read_wstring();
|
result.expToSQL=in.read_wstring();
|
result.isGrand=in.read_char();
|
result.ruleText=in.read_wstring();
|
result.seniorRuleText=in.read_wstring();
|
result.ruleName=in.read_wstring();
|
result.ruleType=in.read_wstring();
|
result.lexpToSQL=in.read_wstring();
|
result.lruleText=in.read_wstring();
|
result.lseniorRuleText=in.read_wstring();
|
return result;
|
}
|
public static void write (final org.omg.CORBA.portable.OutputStream out, final com.vci.corba.auth2.data.GrandValue s)
|
{
|
java.lang.String tmpResult1060 = s.ID;
|
out.write_wstring( tmpResult1060 );
|
java.lang.String tmpResult1061 = s.users;
|
out.write_wstring( tmpResult1061 );
|
java.lang.String tmpResult1062 = s.roles;
|
out.write_wstring( tmpResult1062 );
|
java.lang.String tmpResult1063 = s.userGroups;
|
out.write_wstring( tmpResult1063 );
|
java.lang.String tmpResult1064 = s.identifier;
|
out.write_wstring( tmpResult1064 );
|
java.lang.String tmpResult1065 = s.expToSQL;
|
out.write_wstring( tmpResult1065 );
|
out.write_char(s.isGrand);
|
java.lang.String tmpResult1066 = s.ruleText;
|
out.write_wstring( tmpResult1066 );
|
java.lang.String tmpResult1067 = s.seniorRuleText;
|
out.write_wstring( tmpResult1067 );
|
java.lang.String tmpResult1068 = s.ruleName;
|
out.write_wstring( tmpResult1068 );
|
java.lang.String tmpResult1069 = s.ruleType;
|
out.write_wstring( tmpResult1069 );
|
java.lang.String tmpResult1070 = s.lexpToSQL;
|
out.write_wstring( tmpResult1070 );
|
java.lang.String tmpResult1071 = s.lruleText;
|
out.write_wstring( tmpResult1071 );
|
java.lang.String tmpResult1072 = s.lseniorRuleText;
|
out.write_wstring( tmpResult1072 );
|
}
|
}
|