Class ParameterDescriptionComposite

java.lang.Object
org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite

public class ParameterDescriptionComposite extends Object
  • Constructor Details

    • ParameterDescriptionComposite

      public ParameterDescriptionComposite()
    • ParameterDescriptionComposite

      public ParameterDescriptionComposite(String parameterType, Class parameterTypeClass, WebParamAnnot webParamAnnot, WebServiceRefAnnot webServiceRefAnnot)
  • Method Details

    • getParameterType

      public String getParameterType()
      Returns the String descrbing this Parameter 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 to retrieve parsed values for Generics and Holders. For example, getParameterTypeClass(), getRawType(), getHolderActualType(), and getHolderActualTypeClass().
      Returns:
      Returns the parameterType.
    • getParameterTypeClass

      public Class getParameterTypeClass()
      Returns the class associated with the Parameter. Note that if this is a generic (including a JAXWS Holder) then the class associated with the raw type is returned (i.e. Holder.class).

      For a JAX-WS Holder, use getHolderActualType(...) to get the class associated with T.

      Returns:
      Returns the parameterTypeClass.
    • getHolderActualTypeClass

      public Class getHolderActualTypeClass()
      For JAX-WS Holder, returns the class associated with T. For non-JAX-WS Holders returns null.
    • getWebParamAnnot

      public WebParamAnnot getWebParamAnnot()
      Returns:
      Returns the webParamAnnot.
    • getWebServiceRefAnnot

      public WebServiceRefAnnot getWebServiceRefAnnot()
      Returns:
      Returns the webServiceRefAnnot.
    • getListOrder

      public int getListOrder()
      Returns:
      Returns the webServiceContextAnnot.
    • getMethodDescriptionCompositeRef

      public MethodDescriptionComposite getMethodDescriptionCompositeRef()
      Returns:
      Returns the parentMDC.
    • setParameterType

      public void setParameterType(String parameterType)
      Parameters:
      parameterType - The parameterType to set.
    • setWebParamAnnot

      public void setWebParamAnnot(WebParamAnnot webParamAnnot)
      Parameters:
      webParamAnnot - The webParamAnnot to set.
    • setWebServiceRefAnnot

      public void setWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
      Parameters:
      webServiceRefAnnot - The webServiceRefAnnot to set.
    • setListOrder

      public void setListOrder(int listOrder)
      Parameters:
      webServiceContextAnnot - The webServiceContextAnnot to set.
    • setMethodDescriptionCompositeRef

      public void setMethodDescriptionCompositeRef(MethodDescriptionComposite mdc)
      Parameters:
      mdc - The parent MethodDescriptionComposite to set.
    • 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
    • getRawType

      public String getRawType()
    • getHolderActualType

      public String getHolderActualType()
    • isHolderType

      public boolean isHolderType()