Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2697

Read-only cgen template creates mutator methods for to-many relationships

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2.M2
    • 4.1.1, 4.2.RC1
    • None
    • None
    • I have CayenneModeler v. 4.2.M3-SNAPSHOT (built around 11/2020)

    Description

      I have a model with read-only entities. Class generation from CayenneModeler correctly excludes all setters, but incorrectly generates "addToX" and "removeFromX" to-many mutators.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m