public final class BeanPropertyDesc extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGet() |
boolean |
canSet() |
List<Annotation> |
getAnnotatedAnnotations(Class<? extends Annotation> atype) |
<T extends Annotation> |
getAnnotation(Class<T> type) |
BeanTypeDesc<?> |
getBeanType() |
<E extends IBeanPropertyExtension> |
getExtension(Class<E> type) |
protected AccessibleObject |
getGetter() |
String |
getName() |
int |
getOrder() |
BeanPropertyDesc |
getOverridedProperty() |
Class<?> |
getRawGetterClass()
Returns type of property getter – method or field will be used to get a value.
|
Type |
getRawGetterType()
Returns type of property getter – method or field will be used to get a value.
|
Class<?> |
getRawSetterClass()
Returns type of property setter – method or field will be used to get a value.
|
Type |
getRawSetterType()
Returns type of property setter – method or field will be used to get a value.
|
protected AccessibleObject |
getSetter() |
JavaTypeDesc<?> |
getType() |
Object |
getValue(Object target) |
void |
registerExtension(IBeanPropertyExtension extension) |
boolean |
setValue(Object target,
Object value) |
String |
toString() |
protected boolean |
validateType(Class<?> t) |
protected boolean validateType(Class<?> t)
public BeanPropertyDesc getOverridedProperty()
public BeanTypeDesc<?> getBeanType()
public Type getRawGetterType()
Type or null if getter wasn't set.public Class<?> getRawGetterClass()
Class or null if getter wasn't set.public Type getRawSetterType()
Type or null if setter wasn't set.public Class<?> getRawSetterClass()
Class or null if setter wasn't set.protected AccessibleObject getGetter()
protected AccessibleObject getSetter()
public boolean canGet()
public boolean canSet()
public String getName()
public int getOrder()
public JavaTypeDesc<?> getType()
public Object getValue(Object target) throws IllegalArgumentException, InvocationTargetException
public boolean setValue(Object target, Object value) throws IllegalArgumentException, InvocationTargetException
public List<Annotation> getAnnotatedAnnotations(Class<? extends Annotation> atype)
public <T extends Annotation> T getAnnotation(Class<T> type)
public <E extends IBeanPropertyExtension> E getExtension(Class<E> type)
public void registerExtension(IBeanPropertyExtension extension)
Copyright © 2018. All rights reserved.