org.jboss.jca.common.annotations.repository.jandex
Class AnnotationImpl

java.lang.Object
  extended by org.jboss.jca.common.annotations.repository.jandex.AnnotationImpl
All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.Annotation

public class AnnotationImpl
extends Object
implements org.jboss.jca.common.spi.annotations.repository.Annotation

An AnnotationImpl.

Author:
Stefano Maestri, Jesper Pedersen

Constructor Summary
AnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass)
          Create a new AnnotationImpl.
 
Method Summary
 Object getAnnotation()
          Get the annotation.
 String getClassName()
          Get the className.
 String getMemberName()
          Get the memberName.
 List<String> getParameterTypes()
          Get the parameterTypes.
 boolean isOnField()
          Get the onField.
 boolean isOnMethod()
          Get the onMethod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationImpl

public AnnotationImpl(String className,
                      ClassLoader cl,
                      List<String> parameterTypes,
                      String memberName,
                      boolean onMethod,
                      boolean onField,
                      Class<?> annotationClass)
Create a new AnnotationImpl.

Parameters:
className - className
cl - classloader
parameterTypes - parameterTypes
memberName - memberName
onMethod - onMethod
onField - onField
annotationClass - annotationClass
Method Detail

getClassName

public String getClassName()
Get the className.

Specified by:
getClassName in interface org.jboss.jca.common.spi.annotations.repository.Annotation
Returns:
the className.

getAnnotation

public Object getAnnotation()
Get the annotation.

Specified by:
getAnnotation in interface org.jboss.jca.common.spi.annotations.repository.Annotation
Returns:
the annotation.

getParameterTypes

public List<String> getParameterTypes()
Get the parameterTypes.

Specified by:
getParameterTypes in interface org.jboss.jca.common.spi.annotations.repository.Annotation
Returns:
the parameterTypes.

getMemberName

public String getMemberName()
Get the memberName.

Specified by:
getMemberName in interface org.jboss.jca.common.spi.annotations.repository.Annotation
Returns:
the memberName.

isOnMethod

public boolean isOnMethod()
Get the onMethod.

Specified by:
isOnMethod in interface org.jboss.jca.common.spi.annotations.repository.Annotation
Returns:
the onMethod.

isOnField

public boolean isOnField()
Get the onField.

Specified by:
isOnField in interface org.jboss.jca.common.spi.annotations.repository.Annotation
Returns:
the onField.


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