
package helloWorld;

/**
 * <ul>
 * <li> <b>IDL Source</b>    "HelloWorld.idl"
 * <li> <b>IDL Name</b>      ::helloWorld::GoodDay
 * <li> <b>Repository Id</b> IDL:helloWorld/GoodDay:1.0
 * </ul>
 * <b>IDL definition:</b>
 * <pre>
 * interface GoodDay {
  ...
};
 * </pre>
 */
public class GoodDayPOATie extends GoodDayPOA {
  private helloWorld.GoodDayOperations _delegate;
  private org.omg.PortableServer.POA _poa;

  public GoodDayPOATie (final helloWorld.GoodDayOperations _delegate) {
    this._delegate = _delegate;
  }

  public GoodDayPOATie (final helloWorld.GoodDayOperations _delegate, 
                              final org.omg.PortableServer.POA _poa) {
    this._delegate = _delegate;
    this._poa = _poa;
  }

  public helloWorld.GoodDayOperations _delegate () {
    return this._delegate;
  }

  public void _delegate (final helloWorld.GoodDayOperations delegate) {
    this._delegate = delegate;
  }

  public org.omg.PortableServer.POA _default_POA () {
    if (_poa != null) {
      return _poa;
    } 
    else {
      return super._default_POA();
    }
  }

  /**
   * <pre>
   *   string hello ();
   * </pre>
   */
  public java.lang.String hello () {
    return this._delegate.hello();
  }

}
