|
||||||||||
| 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.AbstractWebServiceClientSink<String>
com.example.customerservice.flow.UpdateCustomer
public class UpdateCustomer
Simple client for querying customer names.
| Field Summary | |
|---|---|
protected String |
m_CustomerName
the name of the customers to look up. |
protected String |
m_ProvidedCustomerName
the provided customer name. |
| Fields inherited from class adams.flow.webservice.AbstractWebServiceClientSink |
|---|
m_Owner |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
UpdateCustomer()
|
|
| 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. |
void |
doQuery()
Queries the webservice. |
String |
getCustomerName()
Returns the customer name to update. |
protected URL |
getWsdlLocation()
Returns the WSDL location. |
String |
globalInfo()
Returns a string describing the object. |
void |
setCustomerName(String value)
Sets the customer name to update. |
void |
setRequestData(String value)
Sets the data for the request, if any. |
| Methods inherited from class adams.flow.webservice.AbstractWebServiceClientSink |
|---|
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
| Constructor Detail |
|---|
public UpdateCustomer()
| 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 AbstractWebServiceClientSink<String>
public void doQuery()
throws Exception
doQuery in class AbstractWebServiceClientSink<String>Exception - if accessing webservice fails for some reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||