Class | Description |
---|---|
ERAttributeExtension |
The EOAttribute class allows you to model an attribute for a java object. In order to do this, the java class must implement a custom conversion method to write the value into the database and a value factory method to read the object back out. In some cases, you may want to use a java class as an attribute which does not implement a method appropriate for these operations. In some cases, the java class may even be final making it impossible to model the class as a custom attribute.
The ERAttributeExtension framework is designed to solve this problem. It does so by reimplementing EOAttribute. The reimplemented EOAttribute fixes the broken implementation of WO 5.4.3's adaptorValueConversionClassName characteristic and adds a new valueFactoryClassName characteristic to EOAttribute. Therefore, any prototype attribute which uses one of these two attribute characteristics in ERPrototypes requires the inclusion of this framework to work properly.
To use ERAttributeExtension framework, simply include it in your classpath and make sure it is listed before/above the JavaEOAccess framework. Once that is done, you should be able to use any of the extended prototypes found in ERPrototype or create your own. Currently, the extended prototypes available are:
Copyright © 2002 – 2024 Project Wonder.