Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-268

Copy constructor for Criteria

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-beta1
    • 4.0
    • Runtime
    • None

    Description

      Currently, there is no possibility to create a (reasonably) deep copy of a criteria object.
      There is the clone() method which creates a shallow copy.
      There should be a copy constructor which creates a new criteria object where all the contained list and Criterion object are copied as well.
      (ist is not possible to create a total deep copy because some of the objects in the list do not have a well-defined type )

      Attachments

        Activity

          People

            tfischer Thomas Fox
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: