org.granite.messaging.amf.io.util
Class FieldProperty

java.lang.Object
  extended by org.granite.messaging.amf.io.util.Property
      extended by org.granite.messaging.amf.io.util.FieldProperty

public class FieldProperty
extends Property

Author:
Franck WOLFF

Constructor Summary
FieldProperty(Converters converters, Field field)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 Object getProperty(Object instance)
           
 Type getType()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
           
 void setProperty(Object instance, Object value, boolean convert)
           
 
Methods inherited from class org.granite.messaging.amf.io.util.Property
convert, getConverters, getName, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldProperty

public FieldProperty(Converters converters,
                     Field field)
Method Detail

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
Specified by:
isAnnotationPresent in class Property

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Specified by:
getAnnotation in class Property

getType

public Type getType()
Specified by:
getType in class Property

setProperty

public void setProperty(Object instance,
                        Object value,
                        boolean convert)
Specified by:
setProperty in class Property

getProperty

public Object getProperty(Object instance)
Specified by:
getProperty in class Property