org.apache.axis2.jaxws.description.builder
Class MethodDescriptionComposite
java.lang.Object
org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite
- All Implemented Interfaces:
- TMAnnotationComposite, TMFAnnotationComposite
public class MethodDescriptionComposite
- extends java.lang.Object
- implements TMAnnotationComposite, TMFAnnotationComposite
Constructor Summary |
MethodDescriptionComposite()
|
MethodDescriptionComposite(java.lang.String methodName,
java.lang.String returnType,
WebMethodAnnot webMethodAnnot,
WebResultAnnot webResultAnnot,
boolean oneWayAnnotated,
HandlerChainAnnot handlerChainAnnot,
SoapBindingAnnot soapBindingAnnot,
WebServiceRefAnnot webServiceRefAnnot,
WebEndpointAnnot webEndpointAnnot,
RequestWrapperAnnot requestWrapperAnnot,
ResponseWrapperAnnot responseWrapperAnnot)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodDescriptionComposite
public MethodDescriptionComposite()
MethodDescriptionComposite
public MethodDescriptionComposite(java.lang.String methodName,
java.lang.String returnType,
WebMethodAnnot webMethodAnnot,
WebResultAnnot webResultAnnot,
boolean oneWayAnnotated,
HandlerChainAnnot handlerChainAnnot,
SoapBindingAnnot soapBindingAnnot,
WebServiceRefAnnot webServiceRefAnnot,
WebEndpointAnnot webEndpointAnnot,
RequestWrapperAnnot requestWrapperAnnot,
ResponseWrapperAnnot responseWrapperAnnot)
getMethodName
public java.lang.String getMethodName()
- Returns:
- Returns the methodName
getReturnType
public java.lang.String getReturnType()
- Returns the String descrbing this method result type. Note that this string is unparsed. For
example, if it represents a java.util.List, then that excact string will be
returned, i.e. "java.util.List". You can use other methods on this object to
retrieve parsed values for Generics and Holders.
- Returns:
- Returns the returnType
getReturnTypeClass
public java.lang.Class getReturnTypeClass()
- Returns the class associated with the method result type. Note that if the resturn type a
generic (such as java.util.List) then the class associated with the raw type is
returned (i.e. java.util.List).
There are other methods that return the class for the actual type for certain JAX-WS specific
generics such as Response
- Returns:
- Returns the parameterTypeClass.
isOneWay
public boolean isOneWay()
- Returns:
- returns whether this is OneWay
getWebEndpointAnnot
public WebEndpointAnnot getWebEndpointAnnot()
- Returns:
- Returns the webEndpointAnnot.
getRequestWrapperAnnot
public RequestWrapperAnnot getRequestWrapperAnnot()
- Returns:
- Returns the requestWrapperAnnot.
getResponseWrapperAnnot
public ResponseWrapperAnnot getResponseWrapperAnnot()
- Returns:
- Returns the responseWrapperAnnot.
getHandlerChainAnnot
public HandlerChainAnnot getHandlerChainAnnot()
- Returns:
- Returns the handlerChainAnnot.
getSoapBindingAnnot
public SoapBindingAnnot getSoapBindingAnnot()
- Returns:
- Returns the soapBindingAnnot.
getWebMethodAnnot
public WebMethodAnnot getWebMethodAnnot()
- Returns:
- Returns the webMethodAnnot.
getWebResultAnnot
public WebResultAnnot getWebResultAnnot()
- Returns:
- Returns the webResultAnnot.
getWebServiceRefAnnot
public WebServiceRefAnnot getWebServiceRefAnnot()
- Returns:
- Returns the webServiceRefAnnot.
getActionAnnot
public ActionAnnot getActionAnnot()
- Returns:
- Returns the actionAnnot.
getExceptions
public java.lang.String[] getExceptions()
- Returns:
- Returns the exceptions.
getExceptionTypes
public java.lang.Class[] getExceptionTypes()
- Returns:
- Returns the exceptions.
getDeclaringClass
public java.lang.String getDeclaringClass()
- Returns:
- Returns the fully qualified name of the declaring class.
getDescriptionBuilderCompositeRef
public DescriptionBuilderComposite getDescriptionBuilderCompositeRef()
- Returns:
- Returns the ModuleClassType.
setMethodName
public void setMethodName(java.lang.String methodName)
- Parameters:
methodName
- The methodName to set.
setReturnType
public void setReturnType(java.lang.String returnType)
- Parameters:
returnType
- The returnType to set.
setOneWayAnnot
public void setOneWayAnnot(boolean oneWayAnnotated)
- Parameters:
oneWayAnnotated
- The oneWay boolean to set
setWebEndpointAnnot
public void setWebEndpointAnnot(WebEndpointAnnot webEndpointAnnot)
- Parameters:
webEndpointAnnotImpl
- The webEndpointAnnotImpl to set.
setRequestWrapperAnnot
public void setRequestWrapperAnnot(RequestWrapperAnnot requestWrapperAnnot)
- Parameters:
requestWrapperAnnot
- The requestWrapperAnnot to set.
setResponseWrapperAnnot
public void setResponseWrapperAnnot(ResponseWrapperAnnot responseWrapperAnnot)
- Parameters:
responseWrapperAnnot
- The responseWrapperAnnot to set.
setHandlerChainAnnot
public void setHandlerChainAnnot(HandlerChainAnnot handlerChainAnnot)
- Specified by:
setHandlerChainAnnot
in interface TMFAnnotationComposite
- Parameters:
handlerChainAnnot
- The handlerChainAnnot to set.
setSoapBindingAnnot
public void setSoapBindingAnnot(SoapBindingAnnot soapBindingAnnot)
- Specified by:
setSoapBindingAnnot
in interface TMAnnotationComposite
- Parameters:
soapBindingAnnot
- The soapBindingAnnot to set.
setWebMethodAnnot
public void setWebMethodAnnot(WebMethodAnnot webMethodAnnot)
- Parameters:
webMethodAnnot
- The webMethodAnnot to set.
setWebResultAnnot
public void setWebResultAnnot(WebResultAnnot webResultAnnot)
- Parameters:
webResultAnnot
- The webResultAnnot to set.
setWebServiceRefAnnot
public void setWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
- Specified by:
setWebServiceRefAnnot
in interface TMFAnnotationComposite
- Parameters:
webServiceRefAnnot
- The webServiceRefAnnot to set.
setActionAnnot
public void setActionAnnot(ActionAnnot actionAnnot)
- Parameters:
actionAnnot
- The actionAnnot to set.
addParameterDescriptionComposite
public void addParameterDescriptionComposite(ParameterDescriptionComposite parameterDescription)
- Parameters:
parameterDescription
- The parameterDescription to add to the set.
addParameterDescriptionComposite
public void addParameterDescriptionComposite(ParameterDescriptionComposite parameterDescription,
int index)
- Parameters:
parameterDescription
- The parameterDescription to add to the set.index
- The index at which to place this parameterDescription
setParameterDescriptionCompositeList
public void setParameterDescriptionCompositeList(java.util.List<ParameterDescriptionComposite> parameterDescriptionList)
- Parameters:
parameterDescription
- The parameterDescription to add to the set.
getParameterDescriptionComposite
public ParameterDescriptionComposite getParameterDescriptionComposite(int index)
- Parameters:
parameterDescription
- The parameterDescription to add to the set.
getParameterDescriptionCompositeList
public java.util.List<ParameterDescriptionComposite> getParameterDescriptionCompositeList()
setExceptions
public void setExceptions(java.lang.String[] exceptions)
- Parameters:
exceptions
- The exceptions to set.
setDeclaringClass
public void setDeclaringClass(java.lang.String declaringClass)
- Parameters:
declaringClass
- The wrapper class to set.
setDescriptionBuilderCompositeRef
public void setDescriptionBuilderCompositeRef(DescriptionBuilderComposite dbc)
compare
public boolean compare(java.lang.Object obj)
setIsListType
public void setIsListType(boolean isListType)
isListType
public boolean isListType()
toString
public java.lang.String toString()
- Convenience method for unit testing. We will print all of the
data members here.
- Overrides:
toString
in class java.lang.Object
Copyright © 2007 Apache Web Services Project. All Rights Reserved.