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

Support operations on both Spring Entity classes and their DAO's

    Details

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

      Spring Cartridge

      Description

      Currently, the Spring cartridge puts all defined operations on the DAO.

      It would be very helpful to allow operations to be assigned to the entity class, instead of the DAO.

      One option that solve the problem would be to use a tagged value to determine the destination of an operation. In absence of the tagged value, a default we be defined. I suggest that that the Entity be the default.

      A variation would be to put all operations on the Entity unless they have an associated stereotype, such as <<DAOperation>>. I don't know if this would be much more difficult to implement, but I think it would be clearer. Operations with this stereotype on a entity would be associated with the entity class.

        Attachments

          Activity

            People

            • Assignee:
              overheat Plushnikov Michail
              Reporter:
              royfeldman Roy Feldman
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: