org.jboss.seam.util
Class AnnotatedBeanProperty<T extends Annotation>

java.lang.Object
  extended by org.jboss.seam.util.AnnotatedBeanProperty<T>

public class AnnotatedBeanProperty<T extends Annotation>
extends Object

A convenience class for working with an annotated property (either a field or method) of a JavaBean class.

Author:
Shane Bryzak

Constructor Summary
AnnotatedBeanProperty(Class<?> cls, Class<T> annotationClass)
           
 
Method Summary
 T getAnnotation()
           
 String getName()
           
 Type getPropertyType()
           
 Object getValue(Object bean)
           
 boolean isSet()
           
 void setValue(Object bean, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedBeanProperty

public AnnotatedBeanProperty(Class<?> cls,
                             Class<T> annotationClass)
Method Detail

setValue

public void setValue(Object bean,
                     Object value)

getValue

public Object getValue(Object bean)

getName

public String getName()

getAnnotation

public T getAnnotation()

getPropertyType

public Type getPropertyType()

isSet

public boolean isSet()


Copyright © 2011 Seam Framework. All Rights Reserved.