|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
java.lang.String getAnnotationClassName()
void setAnnotationClassName(java.lang.String annotationClassName)
void setTarget(java.lang.annotation.ElementType elementType)
java.lang.annotation.ElementType getTarget()
void addParameterData(java.lang.String paramName, java.lang.Object paramValue) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
java.lang.Object getParameterData(java.lang.String paramName) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |