adams.flow.webservice
Class TestClassifier

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.flow.webservice.AbstractWebServiceClientTransformer<TestClassifier,Dataset>
              extended by adams.flow.webservice.TestClassifier
All Implemented Interfaces:
CleanUpHandler, Debuggable, Destroyable, OptionHandler, SizeOfHandler, WebServiceClient, WebServiceClientConsumer<TestClassifier>, WebServiceClientProducer<Dataset>, Serializable

public class TestClassifier
extends AbstractWebServiceClientTransformer<TestClassifier,Dataset>

client for the test webservice.

Version:
$Revision$
Author:
msf8
See Also:
Serialized Form

Field Summary
protected  TestClassifierResponseObject m_Returned
          object response
protected  Dataset m_ReturnedDataset
          dataset returned after testing
protected  TestClassifier m_Test
          input object for the test web service
 
Fields inherited from class adams.flow.webservice.AbstractWebServiceClientTransformer
m_ConnectionTimeout, m_Owner, m_ReceiveTimeout
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
TestClassifier()
           
 
Method Summary
 Class[] accepts()
          Returns the classes that are accepted input.
protected  void doQuery()
          Performs the actual webservice query.
 Class[] generates()
          Returns the classes that this client generates.
 Dataset getResponseData()
          Returns the response data, if any.
protected  URL getWsdlLocation()
          Returns the WSDL location.
 String globalInfo()
          Returns a string describing the object.
 boolean hasResponseData()
          Checks whether there is any response data to be collected.
 void setRequestData(TestClassifier value)
          Sets the data for the request, if any.
 
Methods inherited from class adams.flow.webservice.AbstractWebServiceClientTransformer
cleanUp, connectionTimeoutTipText, defineOptions, getConnectionTimeout, getOwner, getReceiveTimeout, postQuery, preQuery, query, receiveTimeoutTipText, setConnectionTimeout, setOwner, setReceiveTimeout
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager
 
Methods inherited from interface adams.core.Destroyable
destroy
 

Field Detail

m_Test

protected TestClassifier m_Test
input object for the test web service


m_ReturnedDataset

protected Dataset m_ReturnedDataset
dataset returned after testing


m_Returned

protected TestClassifierResponseObject m_Returned
object response

Constructor Detail

TestClassifier

public TestClassifier()
Method Detail

globalInfo

public String globalInfo()
Returns a string describing the object.

Specified by:
globalInfo in class AbstractOptionHandler
Returns:
a description suitable for displaying in the gui

accepts

public Class[] accepts()
Returns the classes that are accepted input.

Returns:
the classes that are accepted

setRequestData

public void setRequestData(TestClassifier value)
Sets the data for the request, if any.

Parameters:
value - the request data

generates

public Class[] generates()
Returns the classes that this client generates.

Returns:
the classes

hasResponseData

public boolean hasResponseData()
Checks whether there is any response data to be collected.

Returns:
true if data can be collected
See Also:
getResponseData()

getResponseData

public Dataset getResponseData()
Returns the response data, if any.

Returns:
the response data

getWsdlLocation

protected URL getWsdlLocation()
Returns the WSDL location.

Specified by:
getWsdlLocation in class AbstractWebServiceClientTransformer<TestClassifier,Dataset>
Returns:
the location

doQuery

protected void doQuery()
                throws Exception
Performs the actual webservice query.

Specified by:
doQuery in class AbstractWebServiceClientTransformer<TestClassifier,Dataset>
Throws:
Exception - if accessing webservice fails for some reason


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.