public interface BeanProperties<B>
Modifier and Type | Method and Description |
---|---|
IndexedPropertyDescriptor |
getIndexedPropertyDescriptor(String propertyName) |
Method |
getIndexedReadMethod(String propertyName) |
Method |
getIndexedWriteMethod(String propertyName) |
MappedPropertyDescriptor |
getMappedPropertyDescriptor(String propertyName) |
Method |
getMappedReadMethod(String propertyName) |
Method |
getMappedWriteMethod(String propertyName) |
Map<String,PropertyDescriptor> |
getPropertiesIndex() |
PropertyDescriptor |
getPropertyDescriptor(String propertyName) |
Method |
getReadPropertyMethod(String propertyName) |
Method |
getWriteMethod(String name) |
boolean |
hasProperty(String propertyName)
Checks if the current bean type has a property identified by the input name.
|
boolean |
isReadable(String propertyName)
Checks if the specified property name identifies a readable property.
|
boolean |
isWritable(String propertyName)
Checks if the specified property name identifies a writable property.
|
boolean hasProperty(String propertyName)
propertyName
- the name of the property to be checked.boolean isReadable(String propertyName)
propertyName
- the name of the property to be checked.true
, if the property is readable.boolean isWritable(String propertyName)
propertyName
- the name of the property to be checked.true
, if the property is writable.PropertyDescriptor getPropertyDescriptor(String propertyName)
propertyName
- Method getReadPropertyMethod(String propertyName)
propertyName
- Method getWriteMethod(String name)
name
- IndexedPropertyDescriptor getIndexedPropertyDescriptor(String propertyName)
propertyName
- Method getIndexedReadMethod(String propertyName)
propertyName
- Method getIndexedWriteMethod(String propertyName)
propertyName
- MappedPropertyDescriptor getMappedPropertyDescriptor(String propertyName)
Method getMappedReadMethod(String propertyName)
Map<String,PropertyDescriptor> getPropertiesIndex()
Method getMappedWriteMethod(String propertyName)
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.