Summary: | auto-generated getters and setters to attributes are private in generated java classes | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Jean Jung <jean.jung> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde, kde, ralf.habacker |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 2.30 (KDE releases 19.12) | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/umbrello/aea379fb09ceadaa636f2b9374693c582dd8963d | Version Fixed In: | 2.29.80 (KDE Applications 19.11.80) |
Bug Depends on: | 351103 | ||
Bug Blocks: |
Description
Jean Jung
2014-03-01 20:03:55 UTC
Thanks for reporting your issue. There are currently two java code generators. If you enable the new code generator in Umbrello general settings, you can select the scope for accessor methods in the code generator wizard (second page, under Language Options). If you find that the old generator provides in some use cases that new one does not / does something better, please let us know. Unfortunately I do not see any further options for the export of Java code. I'm using Umbrello 2.18.3 from OpenSUSE Leap 42.1 and there setting further options is only possible at the C++ code export. (In reply to Benedikt Geißler from comment #2) > Unfortunately I do not see any further options for the export of Java code. > I'm using Umbrello 2.18.3 from OpenSUSE Leap 42.1 and there setting further > options is only possible at the C++ code export. New codegenerator is only enabled in the git master branch because of major design issues. See bug 351103 Git commit aea379fb09ceadaa636f2b9374693c582dd8963d by Ralf Habacker. Committed on 10/11/2019 at 19:00. Pushed by habacker into branch 'release/19.12'. Fix 'auto-generated getters and setters to atributes are private in generated java classes' FIXED-IN:2.29.90 (KDE Applications 19.11.90) M +4 -4 umbrello/codegenerators/java/javawriter.cpp https://commits.kde.org/umbrello/aea379fb09ceadaa636f2b9374693c582dd8963d |