Changeset 2920


Ignore:
Timestamp:
2002-01-30T01:30:14+13:00 (20 years ago)
Author:
cs025
Message:

Added ability to cope with NzdlBrowse objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/service/NzdlRequest.java

    r2284 r2920  
    3737 * @author Gordon Paynter (paynter@cs.waikato.ac.nz)
    3838 * @author Brett Sheeran (bsheeran@xtra.co.nz) (comments)
     39 * @author George Buchanan (g.buchanan@mdx.ac.uk)
    3940 * @version $Revision$
    4041 */
     
    4344  private corbaFilterRequest m_Filter = null;
    4445
    45   public NzdlRequest( corbaFilterRequest request ) {
    46     m_Filter =  request;
    47   }
     46
     47    public NzdlRequest( corbaFilterRequest request ) {
     48    m_Filter = request;
     49    }
    4850
    4951  /**
     
    6062  public NzdlRequest( NzdlQuery _query ) {
    6163    m_Filter = NzdlCorbaFactory.createQueryFilterRequest( _query );
     64  }
     65
     66  /**
     67   *  Creates an instance of NzdlRequest based on a classifier string
     68   *  inside a {@link NzdlBrowse NzdlBrowse} object.
     69   */
     70  public NzdlRequest( NzdlBrowse _browse) {
     71    m_Filter = NzdlCorbaFactory.createBrowseFilterRequest( _browse );
    6272  }
    6373
     
    108118    return m_Filter;
    109119  }
    110  
     120  
    111121}
Note: See TracChangeset for help on using the changeset viewer.