HPSearch

cgl.hpsearch.common.xml
Class WSProxySpec

java.lang.Object
  extended bycgl.hpsearch.common.xml.WSProxySpec
All Implemented Interfaces:
Serializable

public class WSProxySpec
extends Object
implements Serializable

Descriptor for a Webservice. Contains a list for i/p, o/p, service parameters, event handles and exception Table.

Version:
$Revision: 1.1 $ $Date: 2005/10/16 14:40:46 $
Author:
Harshawardhan S. Gadgil (hgadgil@grids.ucs.indiana.edu)
See Also:
Serialized Form

Constructor Summary
WSProxySpec()
           
 
Method Summary
 void addErrorMap(ErrorMap vErrorMap)
          Method addErrorMap
 void addErrorMap(int index, ErrorMap vErrorMap)
          Method addErrorMap
 void addEventHandler(EventHandler vEventHandler)
          Method addEventHandler
 void addEventHandler(int index, EventHandler vEventHandler)
          Method addEventHandler
 void addInput(int index, String vInput)
          Method addInput
 void addInput(String vInput)
          Method addInput
 void addOutput(int index, String vOutput)
          Method addOutput
 void addOutput(String vOutput)
          Method addOutput
 void addParameter(int index, Parameter vParameter)
          Method addParameter
 void addParameter(Parameter vParameter)
          Method addParameter
 Enumeration enumerateErrorMap()
          Method enumerateErrorMap
 Enumeration enumerateEventHandler()
          Method enumerateEventHandler
 Enumeration enumerateInput()
          Method enumerateInput
 Enumeration enumerateOutput()
          Method enumerateOutput
 Enumeration enumerateParameter()
          Method enumerateParameter
 String getDestinationEngineID()
          Returns the value of field 'destinationEngineID'.
 String getEndPointURI()
          Returns the value of field 'endPointURI'.
 ErrorMap[] getErrorMap()
          Method getErrorMap
 ErrorMap getErrorMap(int index)
          Method getErrorMap
 int getErrorMapCount()
          Method getErrorMapCount
 EventHandler[] getEventHandler()
          Method getEventHandler
 EventHandler getEventHandler(int index)
          Method getEventHandler
 int getEventHandlerCount()
          Method getEventHandlerCount
 String[] getInput()
          Method getInput
 String getInput(int index)
          Method getInput
 int getInputCount()
          Method getInputCount
 String[] getOutput()
          Method getOutput
 String getOutput(int index)
          Method getOutput
 int getOutputCount()
          Method getOutputCount
 Parameter[] getParameter()
          Method getParameter
 Parameter getParameter(int index)
          Method getParameter
 int getParameterCount()
          Method getParameterCount
 String getServiceID()
          Returns the value of field 'serviceID'.
 String getSourceEngineID()
          Returns the value of field 'sourceEngineID'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void removeAllErrorMap()
          Method removeAllErrorMap
 void removeAllEventHandler()
          Method removeAllEventHandler
 void removeAllInput()
          Method removeAllInput
 void removeAllOutput()
          Method removeAllOutput
 void removeAllParameter()
          Method removeAllParameter
 ErrorMap removeErrorMap(int index)
          Method removeErrorMap
 EventHandler removeEventHandler(int index)
          Method removeEventHandler
 String removeInput(int index)
          Method removeInput
 String removeOutput(int index)
          Method removeOutput
 Parameter removeParameter(int index)
          Method removeParameter
 void setDestinationEngineID(String destinationEngineID)
          Sets the value of field 'destinationEngineID'.
 void setEndPointURI(String endPointURI)
          Sets the value of field 'endPointURI'.
 void setErrorMap(ErrorMap[] errorMapArray)
          Method setErrorMap
 void setErrorMap(int index, ErrorMap vErrorMap)
          Method setErrorMap
 void setEventHandler(EventHandler[] eventHandlerArray)
          Method setEventHandler
 void setEventHandler(int index, EventHandler vEventHandler)
          Method setEventHandler
 void setInput(int index, String vInput)
          Method setInput
 void setInput(String[] inputArray)
          Method setInput
 void setOutput(int index, String vOutput)
          Method setOutput
 void setOutput(String[] outputArray)
          Method setOutput
 void setParameter(int index, Parameter vParameter)
          Method setParameter
 void setParameter(Parameter[] parameterArray)
          Method setParameter
 void setServiceID(String serviceID)
          Sets the value of field 'serviceID'.
 void setSourceEngineID(String sourceEngineID)
          Sets the value of field 'sourceEngineID'.
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSProxySpec

public WSProxySpec()
Method Detail

addErrorMap

public void addErrorMap(ErrorMap vErrorMap)
                 throws IndexOutOfBoundsException
Method addErrorMap

Parameters:
vErrorMap -
Throws:
IndexOutOfBoundsException

addErrorMap

public void addErrorMap(int index,
                        ErrorMap vErrorMap)
                 throws IndexOutOfBoundsException
Method addErrorMap

Parameters:
index -
vErrorMap -
Throws:
IndexOutOfBoundsException

addEventHandler

public void addEventHandler(EventHandler vEventHandler)
                     throws IndexOutOfBoundsException
Method addEventHandler

Parameters:
vEventHandler -
Throws:
IndexOutOfBoundsException

addEventHandler

public void addEventHandler(int index,
                            EventHandler vEventHandler)
                     throws IndexOutOfBoundsException
Method addEventHandler

Parameters:
index -
vEventHandler -
Throws:
IndexOutOfBoundsException

addInput

public void addInput(String vInput)
              throws IndexOutOfBoundsException
Method addInput

Parameters:
vInput -
Throws:
IndexOutOfBoundsException

addInput

public void addInput(int index,
                     String vInput)
              throws IndexOutOfBoundsException
Method addInput

Parameters:
index -
vInput -
Throws:
IndexOutOfBoundsException

addOutput

public void addOutput(String vOutput)
               throws IndexOutOfBoundsException
Method addOutput

Parameters:
vOutput -
Throws:
IndexOutOfBoundsException

addOutput

public void addOutput(int index,
                      String vOutput)
               throws IndexOutOfBoundsException
Method addOutput

Parameters:
index -
vOutput -
Throws:
IndexOutOfBoundsException

addParameter

public void addParameter(Parameter vParameter)
                  throws IndexOutOfBoundsException
Method addParameter

Parameters:
vParameter -
Throws:
IndexOutOfBoundsException

addParameter

public void addParameter(int index,
                         Parameter vParameter)
                  throws IndexOutOfBoundsException
Method addParameter

Parameters:
index -
vParameter -
Throws:
IndexOutOfBoundsException

enumerateErrorMap

public Enumeration enumerateErrorMap()
Method enumerateErrorMap


enumerateEventHandler

public Enumeration enumerateEventHandler()
Method enumerateEventHandler


enumerateInput

public Enumeration enumerateInput()
Method enumerateInput


enumerateOutput

public Enumeration enumerateOutput()
Method enumerateOutput


enumerateParameter

public Enumeration enumerateParameter()
Method enumerateParameter


getDestinationEngineID

public String getDestinationEngineID()
Returns the value of field 'destinationEngineID'.

Returns:
the value of field 'destinationEngineID'.

getEndPointURI

public String getEndPointURI()
Returns the value of field 'endPointURI'.

Returns:
the value of field 'endPointURI'.

getErrorMap

public ErrorMap getErrorMap(int index)
                     throws IndexOutOfBoundsException
Method getErrorMap

Parameters:
index -
Throws:
IndexOutOfBoundsException

getErrorMap

public ErrorMap[] getErrorMap()
Method getErrorMap


getErrorMapCount

public int getErrorMapCount()
Method getErrorMapCount


getEventHandler

public EventHandler getEventHandler(int index)
                             throws IndexOutOfBoundsException
Method getEventHandler

Parameters:
index -
Throws:
IndexOutOfBoundsException

getEventHandler

public EventHandler[] getEventHandler()
Method getEventHandler


getEventHandlerCount

public int getEventHandlerCount()
Method getEventHandlerCount


getInput

public String getInput(int index)
                throws IndexOutOfBoundsException
Method getInput

Parameters:
index -
Throws:
IndexOutOfBoundsException

getInput

public String[] getInput()
Method getInput


getInputCount

public int getInputCount()
Method getInputCount


getOutput

public String getOutput(int index)
                 throws IndexOutOfBoundsException
Method getOutput

Parameters:
index -
Throws:
IndexOutOfBoundsException

getOutput

public String[] getOutput()
Method getOutput


getOutputCount

public int getOutputCount()
Method getOutputCount


getParameter

public Parameter getParameter(int index)
                       throws IndexOutOfBoundsException
Method getParameter

Parameters:
index -
Throws:
IndexOutOfBoundsException

getParameter

public Parameter[] getParameter()
Method getParameter


getParameterCount

public int getParameterCount()
Method getParameterCount


getServiceID

public String getServiceID()
Returns the value of field 'serviceID'.

Returns:
the value of field 'serviceID'.

getSourceEngineID

public String getSourceEngineID()
Returns the value of field 'sourceEngineID'.

Returns:
the value of field 'sourceEngineID'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllErrorMap

public void removeAllErrorMap()
Method removeAllErrorMap


removeAllEventHandler

public void removeAllEventHandler()
Method removeAllEventHandler


removeAllInput

public void removeAllInput()
Method removeAllInput


removeAllOutput

public void removeAllOutput()
Method removeAllOutput


removeAllParameter

public void removeAllParameter()
Method removeAllParameter


removeErrorMap

public ErrorMap removeErrorMap(int index)
Method removeErrorMap

Parameters:
index -

removeEventHandler

public EventHandler removeEventHandler(int index)
Method removeEventHandler

Parameters:
index -

removeInput

public String removeInput(int index)
Method removeInput

Parameters:
index -

removeOutput

public String removeOutput(int index)
Method removeOutput

Parameters:
index -

removeParameter

public Parameter removeParameter(int index)
Method removeParameter

Parameters:
index -

setDestinationEngineID

public void setDestinationEngineID(String destinationEngineID)
Sets the value of field 'destinationEngineID'.

Parameters:
destinationEngineID - the value of field 'destinationEngineID'.

setEndPointURI

public void setEndPointURI(String endPointURI)
Sets the value of field 'endPointURI'.

Parameters:
endPointURI - the value of field 'endPointURI'.

setErrorMap

public void setErrorMap(int index,
                        ErrorMap vErrorMap)
                 throws IndexOutOfBoundsException
Method setErrorMap

Parameters:
index -
vErrorMap -
Throws:
IndexOutOfBoundsException

setErrorMap

public void setErrorMap(ErrorMap[] errorMapArray)
Method setErrorMap

Parameters:
errorMapArray -

setEventHandler

public void setEventHandler(int index,
                            EventHandler vEventHandler)
                     throws IndexOutOfBoundsException
Method setEventHandler

Parameters:
index -
vEventHandler -
Throws:
IndexOutOfBoundsException

setEventHandler

public void setEventHandler(EventHandler[] eventHandlerArray)
Method setEventHandler

Parameters:
eventHandlerArray -

setInput

public void setInput(int index,
                     String vInput)
              throws IndexOutOfBoundsException
Method setInput

Parameters:
index -
vInput -
Throws:
IndexOutOfBoundsException

setInput

public void setInput(String[] inputArray)
Method setInput

Parameters:
inputArray -

setOutput

public void setOutput(int index,
                      String vOutput)
               throws IndexOutOfBoundsException
Method setOutput

Parameters:
index -
vOutput -
Throws:
IndexOutOfBoundsException

setOutput

public void setOutput(String[] outputArray)
Method setOutput

Parameters:
outputArray -

setParameter

public void setParameter(int index,
                         Parameter vParameter)
                  throws IndexOutOfBoundsException
Method setParameter

Parameters:
index -
vParameter -
Throws:
IndexOutOfBoundsException

setParameter

public void setParameter(Parameter[] parameterArray)
Method setParameter

Parameters:
parameterArray -

setServiceID

public void setServiceID(String serviceID)
Sets the value of field 'serviceID'.

Parameters:
serviceID - the value of field 'serviceID'.

setSourceEngineID

public void setSourceEngineID(String sourceEngineID)
Sets the value of field 'sourceEngineID'.

Parameters:
sourceEngineID - the value of field 'sourceEngineID'.

unmarshal

public static Object unmarshal(Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

HPSearch

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