HPSearch

cgl.hpsearch.common.objects
Class RequestSpecification

java.lang.Object
  extended bycgl.hpsearch.common.objects.RequestSpecification

public class RequestSpecification
extends Object

The Resource's Request specification. Contains the various parameters to initialize and operate a particular resource. This class defines the minimum requirements for each resource. All other parameters are represented as serialized object(XML)
Created on Oct 24, 2004

Author:
Harshawardhan Gadgil

Constructor Summary
RequestSpecification()
           
 
Method Summary
static RequestSpecification getFromString(String xml)
          Returns the RequestSpecification object by unmarshalling the XML
 String getHandlerProxy()
           
 String getId()
           
 String getParameter()
           
 boolean isStartActivity()
           
 void setHandlerProxy(String handlerProxy)
           
 void setId(String id)
           
 void setParameter(String parameter)
           
 void setStartActivity(boolean isStartActivity)
           
 String toXML()
          Serializes the event to XML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestSpecification

public RequestSpecification()
Method Detail

toXML

public String toXML()
Serializes the event to XML

Returns:
Marshalled Object

getFromString

public static RequestSpecification getFromString(String xml)
Returns the RequestSpecification object by unmarshalling the XML

Parameters:
xml -
Returns:
RequestSpecification object or null if error

getHandlerProxy

public String getHandlerProxy()
Returns:
Returns the handlerProxy.

setHandlerProxy

public void setHandlerProxy(String handlerProxy)
Parameters:
handlerProxy - The handlerProxy to set.

getId

public String getId()
Returns:
Returns the id.

setId

public void setId(String id)
Parameters:
id - The id to set.

isStartActivity

public boolean isStartActivity()
Returns:
Returns the isStartActivity.

setStartActivity

public void setStartActivity(boolean isStartActivity)
Parameters:
isStartActivity - The isStartActivity to set.

getParameter

public String getParameter()
Returns:
Returns the parameter.

setParameter

public void setParameter(String parameter)
Parameters:
parameter - The parameter to set.

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006