Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-746

Remove Constructors from AbstractPersistentEntity that Auto Generate Identifiers

XMLWordPrintable

      Since adopting the Factory design pattern for creating our objects it is inappropriate for an object to generate its own identifier.

      If we decide to change the way our identifiers are generated it would require a hard code change in this class to get the change added. If we use Factories we could inject our identifier generation policy on the factory.

              Unassigned Unassigned
              nhook Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: