Uploaded image for project: 'The AndroMDA project'
  1. The AndroMDA project
  2. ANDROMDA-344

Private attributes of an entity cause Java compiler errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If an <<Entity>> has an attribute with visibility='private', the generated DAO class tries to access that attribute using a call to private setter. The Java compiler gives an error message, of course.

      There should be an OCL constraint in EntityFacade that ensures that all attributes of an entity have visibility='public'.

        Attachments

          Activity

            People

            • Assignee:
              overheat overheat
              Reporter:
              mattes3 Matthias Bohlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: