package org.omg.CosTransactions;

import org.omg.CORBA.Any;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.StructMember;
import org.omg.CORBA.ORB;
import org.omg.CORBA.portable.OutputStream;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.Delegate;
import org.omg.CORBA.portable.ObjectImpl;

/**
 * NotSubtransactionHelper Class generated by the Idl2Java Compiler 3.1 of Jonathan
 */



public class NotSubtransactionHelper {
	static ORB _orb = ORB.init();
	static TypeCode _type;
	public static String _id = "IDL:omg.org/CosTransactions/NotSubtransaction:1.0";
	public static String id() {
		return _id;
	}

	public static void insert(Any a,org.omg.CosTransactions.NotSubtransaction t) {
		a.type(_type);
		write(a.create_output_stream(),t);
	}

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

	static {
		_type = _orb.create_recursive_tc(_id);
		int _nbMemb = 0;
		StructMember[] members = new StructMember[_nbMemb];
		_type = _orb.create_struct_tc(_id,"NotSubtransaction",members);
	}
	public static NotSubtransaction read(InputStream istream) {
		org.omg.CosTransactions.NotSubtransaction _result = new org.omg.CosTransactions.NotSubtransaction();
		return _result;
	}

	public static void write(OutputStream ostream, NotSubtransaction value) {
	}

	public static TypeCode type() {
		return _type;
	}

}
