org.jboss.jca.common.spi.annotations.repository
Interface Annotation


public interface Annotation

A Annotation.

Author:
Stefano Maestri

Method Summary
 Object getAnnotation()
          Get the Annotation Object
 String getClassName()
          Get the class Name of this annotation
 String getMemberName()
          Get the member name
 List<String> getParameterTypes()
          Get the list of parameters type for this annotation
 boolean isOnField()
          Check if the annotation is on a field
 boolean isOnMethod()
          Check if the annotation is on a method
 

Method Detail

getClassName

String getClassName()
Get the class Name of this annotation

Returns:
the classname

getAnnotation

Object getAnnotation()
Get the Annotation Object

Returns:
the java.lang.Annotation instance

getParameterTypes

List<String> getParameterTypes()
Get the list of parameters type for this annotation

Returns:
list of parameters types

getMemberName

String getMemberName()
Get the member name

Returns:
member name

isOnMethod

boolean isOnMethod()
Check if the annotation is on a method

Returns:
true if the annotation is attached to a method

isOnField

boolean isOnField()
Check if the annotation is on a field

Returns:
true if the annotation is attached to a field


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)