Class MethodDescriptionComposite

java.lang.Object
org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite
All Implemented Interfaces:
TMAnnotationComposite, TMFAnnotationComposite

public class MethodDescriptionComposite extends Object implements TMAnnotationComposite, TMFAnnotationComposite
  • Constructor Details

  • Method Details

    • getMethodName

      public String getMethodName()
      Returns:
      Returns the methodName
    • getReturnType

      public 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<my.package.Foo>, then that excact string will be returned, i.e. "java.util.List<my.package.Foo>". You can use other methods on this object to retrieve parsed values for Generics and Holders.
      Returns:
      Returns the returnType
    • getReturnTypeClass

      public Class getReturnTypeClass()
      Returns the class associated with the method result type. Note that if the resturn type a generic (such as java.util.List<my.package.Foo>) 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 String[] getExceptions()
      Returns:
      Returns the exceptions.
    • getExceptionTypes

      public Class[] getExceptionTypes()
      Returns:
      Returns the exceptions.
    • getDeclaringClass

      public String getDeclaringClass()
      Returns:
      Returns the fully qualified name of the declaring class.
    • getDescriptionBuilderCompositeRef

      public DescriptionBuilderComposite getDescriptionBuilderCompositeRef()
      Returns:
      Returns the ModuleClassType.
    • setMethodName

      public void setMethodName(String methodName)
      Parameters:
      methodName - The methodName to set.
    • setReturnType

      public void setReturnType(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(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 List<ParameterDescriptionComposite> getParameterDescriptionCompositeList()
    • setExceptions

      public void setExceptions(String[] exceptions)
      Parameters:
      exceptions - The exceptions to set.
    • setDeclaringClass

      public void setDeclaringClass(String declaringClass)
      Parameters:
      declaringClass - The wrapper class to set.
    • setDescriptionBuilderCompositeRef

      public void setDescriptionBuilderCompositeRef(DescriptionBuilderComposite dbc)
    • isStatic

      public boolean isStatic()
    • setStaticModifier

      public void setStaticModifier(boolean staticModifier)
    • isFinal

      public boolean isFinal()
    • setFinalModifier

      public void setFinalModifier(boolean finalModifier)
    • compare

      public boolean compare(Object obj)
    • setIsListType

      public void setIsListType(boolean isListType)
    • isListType

      public boolean isListType()
    • toString

      public String toString()
      Convenience method for unit testing. We will print all of the data members here.
      Overrides:
      toString in class Object