org.oddjob.framework
Class WrapDynaBeanOverview

java.lang.Object
  extended by org.oddjob.framework.WrapDynaBeanOverview
All Implemented Interfaces:
BeanOverview

public class WrapDynaBeanOverview
extends Object
implements BeanOverview


Constructor Summary
WrapDynaBeanOverview(WrapDynaClass dynaClass)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapDynaBeanOverview

public WrapDynaBeanOverview(WrapDynaClass dynaClass)
Method Detail

getProperties

public String[] getProperties()
Description copied from interface: BeanOverview
The names for all the properties.

Specified by:
getProperties in interface BeanOverview
Returns:
An array of names.

getPropertyType

public Class<?> getPropertyType(String property)
                         throws ArooaNoPropertyException
Description copied from interface: BeanOverview
Get the property type.

Specified by:
getPropertyType in interface BeanOverview
Parameters:
property - The property name.
Returns:
The class of the property.
Throws:
ArooaNoPropertyException

hasReadableProperty

public boolean hasReadableProperty(String property)
Description copied from interface: BeanOverview
Is there a readable property of the given name.

Specified by:
hasReadableProperty in interface BeanOverview
Parameters:
property - The name.
Returns:
true/false

hasWriteableProperty

public boolean hasWriteableProperty(String property)
Description copied from interface: BeanOverview
Is there a writable property of the given name.

Specified by:
hasWriteableProperty in interface BeanOverview
Parameters:
property - The name.
Returns:
true/false

isIndexed

public boolean isIndexed(String property)
                  throws ArooaNoPropertyException
Description copied from interface: BeanOverview
Is the property indexed.

Specified by:
isIndexed in interface BeanOverview
Parameters:
property - The property name.
Returns:
true/false.
Throws:
ArooaNoPropertyException

isMapped

public boolean isMapped(String property)
                 throws ArooaNoPropertyException
Description copied from interface: BeanOverview
Is the property mapped.

Specified by:
isMapped in interface BeanOverview
Parameters:
property - The property name.
Returns:
true/false.
Throws:
ArooaNoPropertyException