package demo.hello;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "GoodDay".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at Mar 4, 2009 1:55:17 PM
 */

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 demo.hello.GoodDay _this()
	{
		return demo.hello.GoodDayHelper.narrow(_this_object());
	}
	public demo.hello.GoodDay _this(org.omg.CORBA.ORB orb)
	{
		return demo.hello.GoodDayHelper.narrow(_this_object(orb));
	}
	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 java.lang.String hello_wide(java.lang.String msg)
	{
		return _delegate.hello_wide(msg);
	}

}
