public class FunctionAttribute<T> extends Object implements PojoAttribute<T>
| Constructor and Description |
|---|
FunctionAttribute(Class<T> clazz,
Method getter,
Method setter,
String name,
FunctionAttribute<Object> parent) |
public Class<T> getManagedClass()
getManagedClass in interface PojoAttribute<T>public boolean canRead()
canRead in interface PojoAttribute<T>public boolean canWrite()
canWrite in interface PojoAttribute<T>public Class<T> getType()
getType in interface PojoAttribute<T>public void set(Object pojo, T value) throws IOException
set in interface PojoAttribute<T>IOExceptionpublic T get(Object pojo) throws IOException
get in interface PojoAttribute<T>IOExceptionpublic String getName()
getName in interface PojoAttribute<T>public <A extends Annotation> A getAnnotation(Class<? extends A> annotationClass)
getAnnotation in interface PojoAttribute<T>Copyright © 2014. All rights reserved.