package test.interop.wchar_tao_interop;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "GoodDay".
 *
 * @author JacORB IDL compiler V @project.version@
 * @version generated at 25-Feb-2014 13:44:21
 */

public class GoodDayPOATie
	extends GoodDayPOA
{
	private GoodDayOperations _delegate;

	private POA _poa;
	public GoodDayPOATie(GoodDayOperations delegate)
	{
		_delegate = delegate;
	}
	public GoodDayPOATie(GoodDayOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public test.interop.wchar_tao_interop.GoodDay _this()
	{
		org.omg.CORBA.Object __o = _this_object() ;
		test.interop.wchar_tao_interop.GoodDay __r = test.interop.wchar_tao_interop.GoodDayHelper.narrow(__o);
		return __r;
	}
	public test.interop.wchar_tao_interop.GoodDay _this(org.omg.CORBA.ORB orb)
	{
		org.omg.CORBA.Object __o = _this_object(orb) ;
		test.interop.wchar_tao_interop.GoodDay __r = test.interop.wchar_tao_interop.GoodDayHelper.narrow(__o);
		return __r;
	}
	public GoodDayOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(GoodDayOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public java.lang.String hello_simple()
	{
		return _delegate.hello_simple();
	}

	public void test() throws test.interop.wchar_tao_interop.GoodDayPackage.WStringException
	{
_delegate.test();
	}

	public java.lang.String hello_wide(java.lang.String msg)
	{
		return _delegate.hello_wide(msg);
	}

}
