org.apache.axis2.jaxws.description.builder
Interface CustomAnnotationInstance


public interface CustomAnnotationInstance

This interface is intended to represent annotation instances that are not explicitly defined by the MDQ layer. This will allow the use of custom annotations or those outside the scope of the metadata that is intended for use within MDQ. The provider of CustomAnnotationInstances will be responsbile for mapping specific CustomAnnotationInstance implementations to actual annotation types.


Method Summary
 void addParameterData(java.lang.String paramName, java.lang.Object paramValue)
          This method stores parameter data in the CustomAnnotationInstance based on the key that is supplied.
 java.lang.String getAnnotationClassName()
          This returns a string that represents the fully qualified name of the annotation type this instance represents.
 java.lang.Object getParameterData(java.lang.String paramName)
          This method retrieves the parameter data associated with the given parameter name.
 java.lang.annotation.ElementType getTarget()
          This method returns the ElementType Enum that represents the target for this annotation instance.
 void setAnnotationClassName(java.lang.String annotationClassName)
          This sets a string that represents the fully qualified name of the annotation type this instance represents.
 void setTarget(java.lang.annotation.ElementType elementType)
          This method sets the ElementType Enum that represents the target for this annotation instance.
 

Method Detail

getAnnotationClassName

java.lang.String getAnnotationClassName()
This returns a string that represents the fully qualified name of the annotation type this instance represents.


setAnnotationClassName

void setAnnotationClassName(java.lang.String annotationClassName)
This sets a string that represents the fully qualified name of the annotation type this instance represents.


setTarget

void setTarget(java.lang.annotation.ElementType elementType)
This method sets the ElementType Enum that represents the target for this annotation instance.


getTarget

java.lang.annotation.ElementType getTarget()
This method returns the ElementType Enum that represents the target for this annotation instance.


addParameterData

void addParameterData(java.lang.String paramName,
                      java.lang.Object paramValue)
                      throws java.lang.IllegalArgumentException
This method stores parameter data in the CustomAnnotationInstance based on the key that is supplied.

Throws:
java.lang.IllegalArgumentException

getParameterData

java.lang.Object getParameterData(java.lang.String paramName)
                                  throws java.lang.IllegalArgumentException
This method retrieves the parameter data associated with the given parameter name.

Throws:
java.lang.IllegalArgumentException


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