Class ParameterDescriptionComposite
- java.lang.Object
-
- org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite
-
public class ParameterDescriptionComposite extends Object
-
-
Constructor Summary
Constructors Constructor Description ParameterDescriptionComposite()
ParameterDescriptionComposite(String parameterType, Class parameterTypeClass, WebParamAnnot webParamAnnot, WebServiceRefAnnot webServiceRefAnnot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
compare(Object obj)
String
getHolderActualType()
Class
getHolderActualTypeClass()
For JAX-WS Holder, returns the class associated with T. int
getListOrder()
MethodDescriptionComposite
getMethodDescriptionCompositeRef()
String
getParameterType()
Returns the String descrbing this Parameter type.Class
getParameterTypeClass()
Returns the class associated with the Parameter.String
getRawType()
WebParamAnnot
getWebParamAnnot()
WebServiceRefAnnot
getWebServiceRefAnnot()
boolean
isHolderType()
boolean
isListType()
void
setIsListType(boolean isListType)
void
setListOrder(int listOrder)
void
setMethodDescriptionCompositeRef(MethodDescriptionComposite mdc)
void
setParameterType(String parameterType)
void
setWebParamAnnot(WebParamAnnot webParamAnnot)
void
setWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
String
toString()
Convenience method for unit testing.
-
-
-
Constructor Detail
-
ParameterDescriptionComposite
public ParameterDescriptionComposite()
-
ParameterDescriptionComposite
public ParameterDescriptionComposite(String parameterType, Class parameterTypeClass, WebParamAnnot webParamAnnot, WebServiceRefAnnot webServiceRefAnnot)
-
-
Method Detail
-
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, then that excact string will be returned, i.e. "java.util.List ". 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.
-
getRawType
public String getRawType()
-
getHolderActualType
public String getHolderActualType()
-
isHolderType
public boolean isHolderType()
-
-