public interface PojoAttribute<T>
PojoAttribute interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead()
canRead.
|
boolean |
canWrite()
canWrite.
|
T |
get(Object pojo)
get.
|
<A extends Annotation> |
getAnnotation(Class<? extends A> annotationClass)
getAnnotation.
|
Class<T> |
getManagedClass()
getManagedClass.
|
String |
getName()
getName.
|
Class<?> |
getType()
getType.
|
void |
set(Object pojo,
T value)
set.
|
T get(Object pojo) throws IOException
get.
pojo - a Object object.IOException - if any.void set(Object pojo, T value) throws IOException
set.
pojo - a Object object.value - a T object.IOException - if any.boolean canRead()
canRead.
boolean canWrite()
canWrite.
<A extends Annotation> A getAnnotation(Class<? extends A> annotationClass)
getAnnotation.
A - a A object.annotationClass - a Class object.Copyright © 2016. All Rights Reserved.