org.oddjob.arooa.reflect
Interface BeanOverview

All Known Implementing Classes:
DynaBeanOverview, WrapDynaBeanOverview

public interface BeanOverview

A Bean Overview is a very light look at the characteristics of a bean.


Method Summary
 String[] getProperties()
          The names for all the properties.
 Class<?> getPropertyType(String property)
          Get the property type.
 boolean hasReadableProperty(String property)
          Is there a readable property of the given name.
 boolean hasWriteableProperty(String property)
          Is there a writable property of the given name.
 boolean isIndexed(String property)
          Is the property indexed.
 boolean isMapped(String property)
          Is the property mapped.
 

Method Detail

getProperties

String[] getProperties()
The names for all the properties.

Returns:
An array of names.

hasWriteableProperty

boolean hasWriteableProperty(String property)
Is there a writable property of the given name.

Parameters:
property - The name.
Returns:
true/false

hasReadableProperty

boolean hasReadableProperty(String property)
Is there a readable property of the given name.

Parameters:
property - The name.
Returns:
true/false

getPropertyType

Class<?> getPropertyType(String property)
                         throws ArooaNoPropertyException
Get the property type.

Parameters:
property - The property name.
Returns:
The class of the property.
Throws:
ArooaNoPropertyException

isIndexed

boolean isIndexed(String property)
                  throws ArooaNoPropertyException
Is the property indexed.

Parameters:
property - The property name.
Returns:
true/false.
Throws:
ArooaNoPropertyException

isMapped

boolean isMapped(String property)
                 throws ArooaNoPropertyException
Is the property mapped.

Parameters:
property - The property name.
Returns:
true/false.
Throws:
ArooaNoPropertyException