adams.flow.webservice
Class DisplayCluster

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

public class DisplayCluster
extends AbstractWebServiceClientSource<String>

Displays the string representation of a clusterer model.

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

Field Summary
protected  String m_Clusterer
          clusterer to display
protected  DisplayClustererResponseObject m_Returned
          response object
protected  String m_ReturnedString
          string returned to display
 
Fields inherited from class adams.flow.webservice.AbstractWebServiceClientSource
m_ConnectionTimeout, m_Owner, m_ReceiveTimeout
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
DisplayCluster()
           
 
Method Summary
 String clusterTipText()
          description of this option.
 void defineOptions()
          Adds options to the internal list of options.
protected  void doQuery()
          Performs the actual webservice query.
 Class[] generates()
          Returns the classes that this client generates.
 String getClusterer()
          get the name of the clusterer.
 String getResponseData()
          Returns the response data, if any.
protected  URL getWsdlLocation()
          Returns the WSDL location.
 String globalInfo()
          Adds options to the internal list of options.
 boolean hasResponseData()
          Checks whether there is any response data to be collected.
 void setClusterer(String s)
          set the name of the clusterer.
 
Methods inherited from class adams.flow.webservice.AbstractWebServiceClientSource
cleanUp, connectionTimeoutTipText, 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_ReturnedString

protected String m_ReturnedString
string returned to display


m_Clusterer

protected String m_Clusterer
clusterer to display


m_Returned

protected DisplayClustererResponseObject m_Returned
response object

Constructor Detail

DisplayCluster

public DisplayCluster()
Method Detail

globalInfo

public String globalInfo()
Adds options to the internal list of options.

Specified by:
globalInfo in class AbstractOptionHandler

defineOptions

public void defineOptions()
Adds options to the internal list of options.

Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractWebServiceClientSource<String>

setClusterer

public void setClusterer(String s)
set the name of the clusterer.

Parameters:
s - name of clusterer to display

getClusterer

public String getClusterer()
get the name of the clusterer.

Returns:
name of the clusterer to display

clusterTipText

public String clusterTipText()
description of this option.

Returns:
Description of the clusterer name option

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 String getResponseData()
Returns the response data, if any.

Returns:
the response data

getWsdlLocation

protected URL getWsdlLocation()
Returns the WSDL location.

Specified by:
getWsdlLocation in class AbstractWebServiceClientSource<String>
Returns:
the location

doQuery

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

Specified by:
doQuery in class AbstractWebServiceClientSource<String>
Throws:
Exception - if accessing webservice fails for some reason


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