See: Description
Class | Description |
---|---|
BeanClass |
BeanObject
This class defines Metadata for any type of java class.
|
BeanDomain |
BeanDomain
This class defines Metadata for a domain of java classes.
|
BeanProperty |
BeanObject
This class defines Metadata for a single property.
|
BeanRecordProxy<T> |
BeanRecordProxy
This class defines proxy that allows any POJO to behave like a record object.
|
BeanResult<T> |
BeanResult
This is a simple helper class that performs reading a list of beans from a query
Internally DBReader.getBeanList() is used.
|
Metadata is provides using the classes BeanDomain, BeanClass and BeanProperty.
It is recommended to derive a class from BeanDomain and provide a description for every contained class
using a nested class derived from BeanClass. Then in each BeanClass' constructor define the list of properties
by using the add() Method, which will return a BeanProperty object. This may be stored in a final field for static
metadata access.
The class BeanRecordProxy allows accessing JavaBean to DTO data though the Record interface defined in the org.apache.empire.data namespace.
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.