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

[Metamodel] Change Precedence Order of Viewmodel Serialization Strategies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0-M9
    • Core
    • None

    Description

      Currently the framework has 4 viewmodel serialization strategies in order of highest to lowest precedence, if encountered:

      1. use JAXB semantics
      2. implement ViewModel interface
      3. implement Serializable
      4. fallback: gather all non-mixed-in properties into a 'memento' ... requires a @DomainObject(nature=...) annotation

      however, we discussed to change the order to

      1. implement ViewModel interface
      2. implement Serializable
      3. use JAXB semantics
      4. fallback: gather all non-mixed-in properties into a 'memento'

      Attachments

        Activity

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: