Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88665

Create internal functional attribute getter and setter methods and to duplication in generated models

    Details

      Description

      Create internal functional attribute getter and setter methods and to duplication in generated models.

      This change adds two new generated methods to service builder models:
      getAttributeGetterFunctions() and getAttributeSetterBiConsumers()

      These methods are used to reduces duplication by delegating to these methods for several other methods like getModelAttributes(), setModelAttributes(), toString() and toXMLString().

      In the latest version we use these methods to interact with hibernate when fetching and persisting models.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.0 DXP FP72
                  7.1.10 DXP FP7
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.2.X
                  Master