edu.arsc.multisearch
Class ServiceWritable

java.lang.Object
  extended by edu.arsc.multisearch.ServiceWritable
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class ServiceWritable
extends java.lang.Object
implements org.apache.hadoop.io.Writable


Constructor Summary
ServiceWritable()
           
 
Method Summary
 java.lang.String getClientClass()
          Gets the clientClass value for this service.
 java.lang.String getName()
           
 java.lang.String getURL()
          Gets the URI value for this service.
 void readFields(java.io.DataInput input)
          This must be overwritten for Hadoop.
 void setClientClass(java.lang.String clientClass)
          Sets the clientClass value for the service.
 void setName(java.lang.String name)
          Set the spec name for this.
 void setURL(java.lang.String URL)
          Sets the URI value for the service.
 void write(java.io.DataOutput output)
          This must be overwritten for Hadoop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceWritable

public ServiceWritable()
Method Detail

readFields

public void readFields(java.io.DataInput input)
                throws java.io.IOException
This must be overwritten for Hadoop.

Specified by:
readFields in interface org.apache.hadoop.io.Writable
Parameters:
java.io.DataInput -
Throws:
java.io.IOException

write

public void write(java.io.DataOutput output)
           throws java.io.IOException
This must be overwritten for Hadoop.

Specified by:
write in interface org.apache.hadoop.io.Writable
Parameters:
java.io.DataOutput -
Throws:
java.io.IOException

setName

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

Parameters:
String - name

getName

public java.lang.String getName()
Returns:
String name

setURL

public void setURL(java.lang.String URL)
Sets the URI value for the service.

Parameters:
String - URI

setClientClass

public void setClientClass(java.lang.String clientClass)
Sets the clientClass value for the service.

Parameters:
String - clientClass

getClientClass

public java.lang.String getClientClass()
Gets the clientClass value for this service.

Returns:
String clientClass

getURL

public java.lang.String getURL()
Gets the URI value for this service.

Returns:
String URI