Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-40

Use composition in the element model instead of aggregation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Parser
    • None

    Description

      Following on from this list discussion:

      http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200606.mbox/%3cOF3DBE4B68.EE66C8FC-ON8025718C.004DD2B3-8025718C.004E6060@uk.ibm.com%3e

      1. remove addXxxElement methods. Change semantics of createXxxElement to "create and add"
      2. distribute createXxxElement methods so they appear on the YyyElement interface where Yyy is the parent element of Xxx
      3. XxxElementImpl to implement Cloneable and clone() to carry out a deep clone
      4. add createXxxElement(XxxElement) methods to deep clone the parameter and add the clone to the target object

      Attachments

        Activity

          People

            hughesj Jeremy Hughes
            hughesj Jeremy Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: