Package 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
Modifier and TypeMethodDescriptionString[]The names for all the properties.Class<?> getPropertyType(String property) Get the property type.booleanhasReadableProperty(String property) Is there a readable property of the given name.booleanhasWriteableProperty(String property) Is there a writable property of the given name.booleanIs the property indexed.booleanIs the property mapped.
-
Method Details
-
getProperties
String[] getProperties()The names for all the properties.- Returns:
- An array of names.
-
hasWriteableProperty
Is there a writable property of the given name.- Parameters:
property- The name.- Returns:
- true/false
-
hasReadableProperty
Is there a readable property of the given name.- Parameters:
property- The name.- Returns:
- true/false
-
getPropertyType
Get the property type.- Parameters:
property- The property name.- Returns:
- The class of the property.
- Throws:
ArooaNoPropertyException
-
isIndexed
Is the property indexed.- Parameters:
property- The property name.- Returns:
- true/false.
- Throws:
ArooaNoPropertyException
-
isMapped
Is the property mapped.- Parameters:
property- The property name.- Returns:
- true/false.
- Throws:
ArooaNoPropertyException
-