001    package org.omg.TimeBase;
002    
003    /**
004     * Generated from IDL alias "InaccuracyT".
005     *
006     * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
007     * @version generated at Jun 18, 2012 10:36:59 AM
008     */
009    
010    public final class InaccuracyTHelper
011    {
012            private static org.omg.CORBA.TypeCode _type = null;
013    
014            public static void insert (org.omg.CORBA.Any any, long s)
015            {
016                    any.insert_ulonglong(s);
017            }
018    
019            public static long extract (final org.omg.CORBA.Any any)
020            {
021                    return any.extract_ulonglong();
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.TimeBase.InaccuracyTHelper.id(), "InaccuracyT",org.omg.TimeBase.TimeTHelper.type());
029                    }
030                    return _type;
031            }
032    
033            public static String id()
034            {
035                    return "IDL:omg.org/TimeBase/InaccuracyT:1.0";
036            }
037            public static long read (final org.omg.CORBA.portable.InputStream _in)
038            {
039                    long _result;
040                    _result=_in.read_ulonglong();
041                    return _result;
042            }
043    
044            public static void write (final org.omg.CORBA.portable.OutputStream _out, long _s)
045            {
046                    _out.write_ulonglong(_s);
047            }
048    }