package org.dbxml.core.corba.db;
/**
 *	Generated from IDL definition of alias "Timestamp"
 *	@author JacORB IDL compiler 
 */

public class TimestampHelper
{
	private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.dbxml.core.corba.db.TimestampHelper.id(),"Timestamp",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(23)));
	public TimestampHelper ()
	{
	}
	public static void insert(org.omg.CORBA.Any any, long s)
	{
		any.insert_longlong(s);
	}
	public static long extract(org.omg.CORBA.Any any)
	{
		return any.extract_longlong();
	}
	public static org.omg.CORBA.TypeCode type()
	{
		return _type;
	}
	public static String id()
	{
		return "IDL:org/dbxml/core/corba/db/Timestamp:1.0";
	}
	public static long read(org.omg.CORBA.portable.InputStream _in)
	{
		long _result;
		_result=_in.read_longlong();
		return _result;
	}
	public static void write(org.omg.CORBA.portable.OutputStream _out, long _s)
	{
		_out.write_longlong(_s);
	}
}
