org.oddjob.arooa.deploy
Interface ArooaAnnotation

All Known Implementing Classes:
AnnotationArooaAnnotation, SyntheticArooaAnnotation

public interface ArooaAnnotation

Wrapper for an annotation. Allows a pretend annotation to be declared in an Arooa Descriptor file.

Author:
rob

Method Summary
 String getName()
          Get the name.
<T extends Annotation>
T
realAnnotation(Class<T> annotationType)
          Provide the real annotation if this is a wrapper for a real annotation.
 

Method Detail

getName

String getName()
Get the name.

Returns:
The name of annotation.

realAnnotation

<T extends Annotation> T realAnnotation(Class<T> annotationType)
Provide the real annotation if this is a wrapper for a real annotation. Null otherwise.

Parameters:
annotationType - The annotation this might be a wrapper for.
Returns:
The annotation or null.