001 package org.omg.CSI;
002
003 /**
004 * Generated from IDL alias "AuthorizationElementType".
005 *
006 * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
007 * @version generated at Sep 6, 2011 5:12:32 AM
008 */
009
010 public final class AuthorizationElementTypeHelper
011 {
012 private static org.omg.CORBA.TypeCode _type = null;
013
014 public static void insert (org.omg.CORBA.Any any, int s)
015 {
016 any.insert_ulong(s);
017 }
018
019 public static int extract (final org.omg.CORBA.Any any)
020 {
021 return any.extract_ulong();
022 }
023
024 public static org.omg.CORBA.TypeCode type ()
025 {
026 if (_type == null)
027 {
028 _type = org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CSI.AuthorizationElementTypeHelper.id(), "AuthorizationElementType",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(5)));
029 }
030 return _type;
031 }
032
033 public static String id()
034 {
035 return "IDL:omg.org/CSI/AuthorizationElementType:1.0";
036 }
037 public static int read (final org.omg.CORBA.portable.InputStream _in)
038 {
039 int _result;
040 _result=_in.read_ulong();
041 return _result;
042 }
043
044 public static void write (final org.omg.CORBA.portable.OutputStream _out, int _s)
045 {
046 _out.write_ulong(_s);
047 }
048 }