public interface ArooaClass
DynaBean
.
Implementations should implement equals and hashCode so their
BeanOverview
s may be cached. This is because creating them
is possibly an expensive operation due to introspection (although this
hasn't been proved by the developer).
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
forClass()
Provide the actual Java class this is for.
|
BeanOverview |
getBeanOverview(PropertyAccessor accessor)
Get an overview of the class.
|
java.lang.Object |
newInstance()
Create a new instance of the Object this represents.
|
java.lang.Class<?> forClass()
java.lang.Object newInstance() throws ArooaInstantiationException
ArooaInstantiationException
- If creation fails.BeanOverview getBeanOverview(PropertyAccessor accessor)
accessor
- A property accessor.