Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2564

Rationalize mixee interfaces; fix derivation of sequence for EntityChanges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M5
    • None
    • None

    Description

      A number of HasXxx had been moved to the commons module, but these are intended for domain objects to implement in order that they can participate as mixees for framework-provided mixins.

      Also, make more explicit the roles around interactions and transactions:

      • HasUniqueId to HasInteractionId
      • rename RepresentsInteractionMemberExecution to HasTransactionId (because the sequence here was for transactions, not nested executions).

      In course of this, discovered that the derivation of getSequence for EntityChanges was wrong, and should use SequenceType of TRANSACTION.  Fix, and renames the Sequence enum to SequenceType and change the internal Interaction#next to use SequenceType rather than an untyped string.  

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: