Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1448

Data Object Modeller must support adding hashCode and equals method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Data Object Modeller
    • None
    • NEW
    • NEW

      There are quite some use-cases in both jBPM and Drools implementations that require the used data-model to have proper "equals" and "hashCode" implementations (Drools fact insertion based on equality is an example, or ad-hoc multi-stage support in Case Management in jBPM).

      The data-modeller does not provide an equals and hashCode generator, forcing a developer to implement this themselves. We need add functionality that allows users to add equals and hashcode. Generating a default implementation like, for example, Eclipse does, should be enough for now (and most use-cases I guess).

            wmedvede@redhat.com Walter Medvedeo
            rhn-gps-ddoyle Duncan Doyle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: