|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.webservice.AbstractWebServiceClientTransformer<String,String>
com.example.customerservice.flow.CustomersByName
public class CustomersByName
Simple client for querying customer names.
| Field Summary | |
|---|---|
protected String |
m_CustomerName
the name of the customers to look up. |
protected List<Customer> |
m_Customers
the list of customers that were obtained from webservice. |
protected String |
m_ProvidedCustomerName
the provided customer name. |
| Fields inherited from class adams.flow.webservice.AbstractWebServiceClientTransformer |
|---|
m_Owner |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
CustomersByName()
|
|
| Method Summary | |
|---|---|
Class[] |
accepts()
Returns the classes that are accepted input. |
String |
customerNameTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected void |
doQuery()
Queries the webservice. |
Class[] |
generates()
Returns the classes that this processor generates. |
String |
getCustomerName()
Returns the customer name to look up. |
String |
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 |
setCustomerName(String value)
Sets the customer name to look up. |
void |
setRequestData(String value)
Sets the data for the request, if any. |
| Methods inherited from class adams.flow.webservice.AbstractWebServiceClientTransformer |
|---|
cleanUp, getOwner, postQuery, preQuery, query, setOwner |
| 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 |
| Field Detail |
|---|
protected String m_CustomerName
protected String m_ProvidedCustomerName
protected List<Customer> m_Customers
| Constructor Detail |
|---|
public CustomersByName()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setCustomerName(String value)
value - the namepublic String getCustomerName()
public String customerNameTipText()
public Class[] accepts()
public void setRequestData(String value)
value - the request dataprotected URL getWsdlLocation()
getWsdlLocation in class AbstractWebServiceClientTransformer<String,String>
protected void doQuery()
throws Exception
doQuery in class AbstractWebServiceClientTransformer<String,String>Exception - if accessing webservice fails for some reasonpublic Class[] generates()
public boolean hasResponseData()
getResponseData()public String getResponseData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||