org.apache.commons.beanutils2
Interface BeanProperties<B>


public interface BeanProperties<B>


Method Summary
 IndexedPropertyDescriptor getIndexedPropertyDescriptor(String propertyName)
           
 Method getIndexedReadMethod(String propertyName)
           
 Method getIndexedWriteMethod(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.
 

Method Detail

hasProperty

boolean hasProperty(String propertyName)
                    throws IntrospectionException
Checks if the current bean type has a property identified by the input name.

Parameters:
propertyName - the name of the property to be checked.
Returns:
true if the current bean type has a property identified by the input name, false otherwise.
Throws:
IntrospectionException

isReadable

boolean isReadable(String propertyName)
                   throws IntrospectionException
Checks if the specified property name identifies a readable property.

Parameters:
propertyName - the name of the property to be checked.
Returns:
true, if the property is readable.
Throws:
IntrospectionException - TODO
NoSuchMethodException - TODO

isWritable

boolean isWritable(String propertyName)
                   throws IntrospectionException
Checks if the specified property name identifies a writable property.

Parameters:
propertyName - the name of the property to be checked.
Returns:
true, if the property is writable.
Throws:
IntrospectionException - TODO
NoSuchMethodException - TODO

getPropertyDescriptor

PropertyDescriptor getPropertyDescriptor(String propertyName)
                                         throws IntrospectionException
Parameters:
propertyName -
Returns:
Throws:
IntrospectionException
NoSuchMethodException

getReadPropertyMethod

Method getReadPropertyMethod(String propertyName)
                             throws IntrospectionException,
                                    NoSuchMethodException
Parameters:
propertyName -
Returns:
Throws:
IntrospectionException
NoSuchMethodException

getWriteMethod

Method getWriteMethod(String name)
                      throws NoSuchMethodException,
                             IntrospectionException
Parameters:
name -
Returns:
Throws:
NoSuchMethodException
IntrospectionException

getIndexedPropertyDescriptor

IndexedPropertyDescriptor getIndexedPropertyDescriptor(String propertyName)
                                                       throws NoSuchMethodException,
                                                              IntrospectionException
Parameters:
propertyName -
Returns:
Throws:
NoSuchMethodException
IntrospectionException

getIndexedReadMethod

Method getIndexedReadMethod(String propertyName)
                            throws NoSuchMethodException,
                                   IntrospectionException
Parameters:
propertyName -
Returns:
Throws:
NoSuchMethodException
IntrospectionException

getIndexedWriteMethod

Method getIndexedWriteMethod(String propertyName)
                             throws NoSuchMethodException,
                                    IntrospectionException
Parameters:
propertyName -
Returns:
Throws:
NoSuchMethodException
IntrospectionException

getPropertiesIndex

Map<String,PropertyDescriptor> getPropertiesIndex()
                                                  throws IntrospectionException
Returns:
Throws:
IntrospectionException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.