|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.description.OperationDesc
An OperationDesc is an abstract description of an operation on a service.
Field Summary | |
static int |
MSG_METHOD_BODYARRAY
|
static int |
MSG_METHOD_DOCUMENT
|
static int |
MSG_METHOD_ELEMENTARRAY
|
static int |
MSG_METHOD_NONCONFORMING
|
static int |
MSG_METHOD_SOAPENVELOPE
|
Constructor Summary | |
OperationDesc()
Default constructor. |
|
OperationDesc(String name,
ParameterDesc[] parameters,
javax.xml.namespace.QName returnQName)
"Complete" constructor |
Method Summary | |
void |
addFault(FaultDesc fault)
|
void |
addParameter(ParameterDesc param)
|
void |
addParameter(javax.xml.namespace.QName paramName,
javax.xml.namespace.QName xmlType,
Class javaType,
byte parameterMode,
boolean inHeader,
boolean outHeader)
|
ArrayList |
getAllInParams()
Return a list of ALL "in" params (including INOUTs) Note: if we were sure the order went IN->INOUT->OUT, we could optimize this. |
ArrayList |
getAllOutParams()
Return a list of ALL "out" params (including INOUTs) Note: if we were sure the order went IN->INOUT->OUT, we could optimize this. |
javax.xml.namespace.QName |
getElementQName()
|
FaultDesc |
getFaultByClass(Class cls)
Returns the FaultDesc for the fault class given. |
FaultDesc |
getFaultByQName(javax.xml.namespace.QName qname)
Returns the FaultDesc for a QName (which is typically found in the details element of a SOAP fault). |
FaultDesc |
getFaultByXmlType(javax.xml.namespace.QName xmlType)
Returns the FaultDesc for an XMLType. |
ArrayList |
getFaults()
|
ArrayList |
getInParams()
Returns an ordered list of IN params (not INOUT) |
ParameterDesc |
getInputParamByQName(javax.xml.namespace.QName qname)
|
int |
getMessageOperationStyle()
|
Method |
getMethod()
|
String |
getName()
Return the operation's name |
int |
getNumInParams()
|
int |
getNumOutParams()
|
int |
getNumParams()
|
ArrayList |
getOutParams()
Returns an ordered list of OUT params (not INOUT) |
ParameterDesc |
getOutputParamByQName(javax.xml.namespace.QName qname)
|
ParameterDesc |
getParamByQName(javax.xml.namespace.QName qname)
|
ParameterDesc |
getParameter(int i)
|
ArrayList |
getParameters()
|
ServiceDesc |
getParent()
|
Class |
getReturnClass()
|
ParameterDesc |
getReturnParamDesc()
|
javax.xml.namespace.QName |
getReturnQName()
|
javax.xml.namespace.QName |
getReturnType()
|
String |
getSoapAction()
|
Style |
getStyle()
Return the style of the operation, defaulting to the parent ServiceDesc's style if we don't have one explicitly set. |
Use |
getUse()
Return the use of the operation, defaulting to the parent ServiceDesc's use if we don't have one explicitly set. |
boolean |
isOneWay()
|
boolean |
isReturnHeader()
Is the return value in the header of the response message? |
void |
setElementQName(javax.xml.namespace.QName elementQName)
|
void |
setMessageOperationStyle(int messageOperationStyle)
|
void |
setMethod(Method method)
|
void |
setName(String name)
Set the operation's name |
void |
setOneWay(boolean oneWay)
|
void |
setParameters(ArrayList newParameters)
Set the parameters wholesale. |
void |
setParent(ServiceDesc parent)
|
void |
setReturnClass(Class returnClass)
|
void |
setReturnHeader(boolean value)
Set whether the return value is in the response message. |
void |
setReturnQName(javax.xml.namespace.QName returnQName)
|
void |
setReturnType(javax.xml.namespace.QName returnType)
|
void |
setSoapAction(String soapAction)
|
void |
setStyle(Style style)
|
void |
setUse(Use use)
|
String |
toString()
|
String |
toString(String indent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MSG_METHOD_BODYARRAY
public static final int MSG_METHOD_SOAPENVELOPE
public static final int MSG_METHOD_ELEMENTARRAY
public static final int MSG_METHOD_DOCUMENT
public static final int MSG_METHOD_NONCONFORMING
Constructor Detail |
public OperationDesc()
public OperationDesc(String name, ParameterDesc[] parameters, javax.xml.namespace.QName returnQName)
Method Detail |
public String getName()
public void setName(String name)
public javax.xml.namespace.QName getReturnQName()
public void setReturnQName(javax.xml.namespace.QName returnQName)
public javax.xml.namespace.QName getReturnType()
public void setReturnType(javax.xml.namespace.QName returnType)
public Class getReturnClass()
public void setReturnClass(Class returnClass)
public javax.xml.namespace.QName getElementQName()
public void setElementQName(javax.xml.namespace.QName elementQName)
public boolean isOneWay()
public void setOneWay(boolean oneWay)
public ServiceDesc getParent()
public void setParent(ServiceDesc parent)
public String getSoapAction()
public void setSoapAction(String soapAction)
public void setStyle(Style style)
public Style getStyle()
public void setUse(Use use)
public Use getUse()
public void addParameter(ParameterDesc param)
public void addParameter(javax.xml.namespace.QName paramName, javax.xml.namespace.QName xmlType, Class javaType, byte parameterMode, boolean inHeader, boolean outHeader)
public ParameterDesc getParameter(int i)
public ArrayList getParameters()
public void setParameters(ArrayList newParameters)
newParameters
- an ArrayList of ParameterDescspublic int getNumInParams()
public int getNumOutParams()
public int getNumParams()
public Method getMethod()
public void setMethod(Method method)
public boolean isReturnHeader()
public void setReturnHeader(boolean value)
public ParameterDesc getParamByQName(javax.xml.namespace.QName qname)
public ParameterDesc getInputParamByQName(javax.xml.namespace.QName qname)
public ParameterDesc getOutputParamByQName(javax.xml.namespace.QName qname)
public ArrayList getAllInParams()
public ArrayList getAllOutParams()
public ArrayList getInParams()
public ArrayList getOutParams()
public void addFault(FaultDesc fault)
public ArrayList getFaults()
public FaultDesc getFaultByClass(Class cls)
public FaultDesc getFaultByQName(javax.xml.namespace.QName qname)
public FaultDesc getFaultByXmlType(javax.xml.namespace.QName xmlType)
public ParameterDesc getReturnParamDesc()
public String toString()
public String toString(String indent)
public int getMessageOperationStyle()
public void setMessageOperationStyle(int messageOperationStyle)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |