com.jmrosengard.xmlbroker.soapipr
Class Method
java.lang.Object
|
+--com.jmrosengard.xmlbroker.soapipr.Method
- public class Method
- extends java.lang.Object
Represents a method, according the model:
methodName__in__out(param1,param2)
Field Summary |
private boolean |
hasReturned
|
private java.lang.String |
name
|
private java.util.ArrayList |
params
|
Constructor Summary |
Method(java.lang.String name)
|
Method Summary |
java.util.ArrayList |
getInParams()
Return a ArrayList with all the `in' parameters |
java.lang.String |
getName()
Return the method's name |
java.util.ArrayList |
getOutParams()
Return a ArrayList with all the `out' parameters |
int |
getParamCount()
Return the number of parameters |
boolean |
hasReturned()
Return true if the corresponding
method has been called and returned successfully |
java.util.Iterator |
paramIterator()
Return an Iterator to the parameter list |
void |
setParam(Parameter param)
Bind a parameter to the method |
void |
setReturned()
Call this method to set the return status of the
method represented by this as true. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
name
private java.lang.String name
params
private java.util.ArrayList params
hasReturned
private boolean hasReturned
Method
public Method(java.lang.String name)
setParam
public void setParam(Parameter param)
throws SoapInterpreterException
- Bind a parameter to the method
getOutParams
public java.util.ArrayList getOutParams()
- Return a ArrayList with all the `out' parameters
getInParams
public java.util.ArrayList getInParams()
- Return a ArrayList with all the `in' parameters
getParamCount
public int getParamCount()
- Return the number of parameters
paramIterator
public java.util.Iterator paramIterator()
- Return an Iterator to the parameter list
getName
public java.lang.String getName()
- Return the method's name
hasReturned
public boolean hasReturned()
- Return true if the corresponding
method has been called and returned successfully
setReturned
public void setReturned()
- Call this method to set the return status of the
method represented by this as true.