I want to specify the members of the generated Java bean class
---------------------------------------------------------------
Key: DIRSTUDIO-666
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-666
Project: Directory Studio
Issue Type: Improvement
Components: studio-persistence-tooling
Reporter: Stefan Seelmann
The current implementation automatically adds all LDAP attributes as members to
the generated Java bean class.
It would be nice to extend the wizard with a new page where the Java members
could be specifed.
The GUI widget to use is an JFace Table Viewer. There should be tree columns:
- the 1st column contains a checkbox where the user can select if the LDAP
attribute should be used at all. All checkboxes are checked by default
- the 2nd column contains a the LDAP attribute name, this column is not
modifyable by the user
- the 3rd column contains the Java member name. By default it has the same
value as the LDAP attribute name. But the user can modify this value. To edit
cells in a table viewer so-called CellEditors can be used.
If the user edits the Java member it must be checked that the new value is a
valid Java identifier and that the value isn't used twice.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.