uk.org.ogsadai.client.databrowser
Class DBDataService

java.lang.Object
  extended byuk.org.ogsadai.client.databrowser.DBDataService

public class DBDataService
extends java.lang.Object

Wrapper class to the OGSADAI client toolkit ServiceGroupRegistry. Instantiates the DAISGR and also the GDS Factories listed on the registry.

Author:
Paul J Graham, EPCC

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  DBDataResource[] mDataResources
           
private  DataService mDataService
           
private  java.net.URL mDataServiceURL
           
private  int mNumResources
           
 
Constructor Summary
DBDataService(java.lang.String handle, DBProgressModel pm)
          Construct a DAI Service Group Registry, and its associated GDS factories
 
Method Summary
 DBDataResource[] getDataResources()
           
 java.net.URL getDataServiceURL()
           
 int getNumResources()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mDataResources

private DBDataResource[] mDataResources

mNumResources

private int mNumResources

mDataServiceURL

private java.net.URL mDataServiceURL

mDataService

private DataService mDataService
Constructor Detail

DBDataService

public DBDataService(java.lang.String handle,
                     DBProgressModel pm)
              throws java.lang.Exception
Construct a DAI Service Group Registry, and its associated GDS factories

Parameters:
handle - Handle for the Service Group Registry
pm - Progress indicator
Throws:
java.lang.Exception
Method Detail

getDataResources

public DBDataResource[] getDataResources()
Returns:
The resources available at this service

getNumResources

public int getNumResources()
Returns:
The number of resources available at this service

getDataServiceURL

public java.net.URL getDataServiceURL()
Returns:
The URL for this service

toString

public java.lang.String toString()