edu.arsc.multisearch.client
Class Client

java.lang.Object
  extended by edu.arsc.multisearch.client.Client
Direct Known Subclasses:
LemurIndriAxisClient, LuceneAxisClient, LuceneDaiClient

public class Client
extends java.lang.Object


Field Summary
protected  java.lang.String name
          The name of the service being contacted.
protected  ResultSetWritable rsw
          The ResultSetWritable which has the results of this call.
protected  java.lang.String URL
          URI of connection.
 
Constructor Summary
Client()
          Create a new client object.
 
Method Summary
 void call(java.lang.String query)
          Call the service that uses this client.
 Client getInstance()
          the function that allows reflection to work
 java.lang.String getName()
          Get name.
 ResultSetWritable getResultSet()
          Get the ResultSet from this object.
 java.lang.String getURL()
           
 void setName(java.lang.String name)
          Set the name.
 void setURL(java.lang.String URL)
          Set the URI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL

protected java.lang.String URL
URI of connection.


rsw

protected ResultSetWritable rsw
The ResultSetWritable which has the results of this call.


name

protected java.lang.String name
The name of the service being contacted.

Constructor Detail

Client

public Client()
Create a new client object.

Method Detail

getInstance

public Client getInstance()
the function that allows reflection to work

Returns:
Cliet

call

public void call(java.lang.String query)
Call the service that uses this client.

Parameters:
String - query

setURL

public void setURL(java.lang.String URL)
Set the URI

Parameters:
String - URI

getURL

public java.lang.String getURL()
Returns:
String URL

getResultSet

public ResultSetWritable getResultSet()
Get the ResultSet from this object.

Returns:
ResultSetWritable

setName

public void setName(java.lang.String name)
Set the name.

Parameters:
String - name

getName

public java.lang.String getName()
Get name.

Returns:
String name