Class ParameterDescriptionComposite
java.lang.Object
org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite
-
Constructor Summary
ConstructorsConstructorDescriptionParameterDescriptionComposite(String parameterType, Class parameterTypeClass, WebParamAnnot webParamAnnot, WebServiceRefAnnot webServiceRefAnnot) -
Method Summary
Modifier and TypeMethodDescriptionbooleanFor JAX-WS Holder, returns the class associated with T. intReturns the String descrbing this Parameter type.Returns the class associated with the Parameter.booleanbooleanvoidsetIsListType(boolean isListType) voidsetListOrder(int listOrder) voidvoidsetParameterType(String parameterType) voidsetWebParamAnnot(WebParamAnnot webParamAnnot) voidsetWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot) toString()Convenience method for unit testing.
-
Constructor Details
-
ParameterDescriptionComposite
public ParameterDescriptionComposite() -
ParameterDescriptionComposite
public ParameterDescriptionComposite(String parameterType, Class parameterTypeClass, WebParamAnnot webParamAnnot, WebServiceRefAnnot webServiceRefAnnot)
-
-
Method Details
-
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
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
For JAX-WS Holder, returns the class associated with T. For non-JAX-WS Holders returns null. -
getWebParamAnnot
- Returns:
- Returns the webParamAnnot.
-
getWebServiceRefAnnot
- Returns:
- Returns the webServiceRefAnnot.
-
getListOrder
public int getListOrder()- Returns:
- Returns the webServiceContextAnnot.
-
getMethodDescriptionCompositeRef
- Returns:
- Returns the parentMDC.
-
setParameterType
- Parameters:
parameterType- The parameterType to set.
-
setWebParamAnnot
- Parameters:
webParamAnnot- The webParamAnnot to set.
-
setWebServiceRefAnnot
- Parameters:
webServiceRefAnnot- The webServiceRefAnnot to set.
-
setListOrder
public void setListOrder(int listOrder) - Parameters:
webServiceContextAnnot- The webServiceContextAnnot to set.
-
setMethodDescriptionCompositeRef
- Parameters:
mdc- The parent MethodDescriptionComposite to set.
-
compare
-
setIsListType
public void setIsListType(boolean isListType) -
isListType
public boolean isListType() -
toString
Convenience method for unit testing. We will print all of the data members here. -
getRawType
-
getHolderActualType
-
isHolderType
public boolean isHolderType()
-