All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.CosTransactions.NotSubtransactionHelper Maven / Gradle / Ivy

Go to download

JBossTS - JBoss Transaction Service. JTA, JTS and XTS (WS-AT, WS-BA)

The newest version!
package org.omg.CosTransactions;


/**
 * Generated from IDL exception "NotSubtransaction".
 *
 * @author JacORB IDL compiler V 2.3.1 (JBoss patch01), 29-Jul-2009
 * @version generated at Oct 2, 2012 3:07:46 PM
 */

public final class NotSubtransactionHelper
{
	private static org.omg.CORBA.TypeCode _type = null;
	public static org.omg.CORBA.TypeCode type ()
	{
		if (_type == null)
		{
			_type = org.omg.CORBA.ORB.init().create_exception_tc(org.omg.CosTransactions.NotSubtransactionHelper.id(),"NotSubtransaction",new org.omg.CORBA.StructMember[0]);
		}
		return _type;
	}

	public static void insert (final org.omg.CORBA.Any any, final org.omg.CosTransactions.NotSubtransaction s)
	{
		any.type(type());
		write( any.create_output_stream(),s);
	}

	public static org.omg.CosTransactions.NotSubtransaction extract (final org.omg.CORBA.Any any)
	{
		return read(any.create_input_stream());
	}

	public static String id()
	{
		return "IDL:omg.org/CosTransactions/NotSubtransaction:1.0";
	}
	public static org.omg.CosTransactions.NotSubtransaction read (final org.omg.CORBA.portable.InputStream in)
	{
		String id = in.read_string();
		if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
		final org.omg.CosTransactions.NotSubtransaction result = new org.omg.CosTransactions.NotSubtransaction(id);
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.NotSubtransaction s)
	{
		out.write_string(id());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy