You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2010/06/25 19:18:49 UTC

[jira] Updated: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-666:
--------------------------------------

    Attachment: DIRSTUDIO-666.png

Attached UI mock

>  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
>         Attachments: DIRSTUDIO-666.png
>
>
> 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.