org.apache.axis2.jaxws.description.builder
Class ParameterDescriptionComposite

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

public class ParameterDescriptionComposite
extends java.lang.Object


Constructor Summary
ParameterDescriptionComposite()
           
ParameterDescriptionComposite(java.lang.String parameterType, java.lang.Class parameterTypeClass, WebParamAnnot webParamAnnot, WebServiceRefAnnot webServiceRefAnnot)
           
 
Method Summary
 boolean compare(java.lang.Object obj)
           
 java.lang.String getHolderActualType()
           
 java.lang.Class getHolderActualTypeClass()
          For JAX-WS Holder, returns the class associated with T.
 int getListOrder()
           
 MethodDescriptionComposite getMethodDescriptionCompositeRef()
           
 java.lang.String getParameterType()
          Returns the String descrbing this Parameter type.
 java.lang.Class getParameterTypeClass()
          Returns the class associated with the Parameter.
 java.lang.String getRawType()
           
 WebParamAnnot getWebParamAnnot()
           
 WebServiceRefAnnot getWebServiceRefAnnot()
           
 boolean isHolderType()
           
 boolean isListType()
           
 void setIsListType(boolean isListType)
           
 void setListOrder(int listOrder)
           
 void setMethodDescriptionCompositeRef(MethodDescriptionComposite mdc)
           
 void setParameterType(java.lang.String parameterType)
           
 void setWebParamAnnot(WebParamAnnot webParamAnnot)
           
 void setWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
           
 java.lang.String toString()
          Convenience method for unit testing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterDescriptionComposite

public ParameterDescriptionComposite()

ParameterDescriptionComposite

public ParameterDescriptionComposite(java.lang.String parameterType,
                                     java.lang.Class parameterTypeClass,
                                     WebParamAnnot webParamAnnot,
                                     WebServiceRefAnnot webServiceRefAnnot)
Method Detail

getParameterType

public java.lang.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 java.lang.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 java.lang.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(java.lang.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(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

getRawType

public java.lang.String getRawType()

getHolderActualType

public java.lang.String getHolderActualType()

isHolderType

public boolean isHolderType()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.