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

java.lang.Object
  extended by org.jboss.jca.common.annotations.repository.papaki.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

A AnnotationImpl.

Author:
Stefano Maestri

Constructor Summary
AnnotationImpl(org.jboss.papaki.Annotation annotation)
          Create a new AnnotationImpl with papaki backend
 
Method Summary
 Object getAnnotation()
           
 String getClassName()
           
 String getMemberName()
           
 List<String> getParameterTypes()
           
 boolean isOnField()
           
 boolean isOnMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationImpl

public AnnotationImpl(org.jboss.papaki.Annotation annotation)
               throws IllegalArgumentException
Create a new AnnotationImpl with papaki backend

Parameters:
annotation - the backing papaki annotation
Throws:
IllegalArgumentException - in case passed annotation is null
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface org.jboss.jca.common.spi.annotations.repository.Annotation

getAnnotation

public Object getAnnotation()
Specified by:
getAnnotation in interface org.jboss.jca.common.spi.annotations.repository.Annotation

getParameterTypes

public List<String> getParameterTypes()
Specified by:
getParameterTypes in interface org.jboss.jca.common.spi.annotations.repository.Annotation

getMemberName

public String getMemberName()
Specified by:
getMemberName in interface org.jboss.jca.common.spi.annotations.repository.Annotation

isOnMethod

public boolean isOnMethod()
Specified by:
isOnMethod in interface org.jboss.jca.common.spi.annotations.repository.Annotation

isOnField

public boolean isOnField()
Specified by:
isOnField in interface org.jboss.jca.common.spi.annotations.repository.Annotation


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