Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6530

Data Objects subtypes: constructor should include supertype fields

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Data Modeller
    • User Experience
    • NEW
    • NEW

    Description

      If I create a Data Object in KIE Workbench that inherits from another Data object, the child object's constructor should include fields for the parent.

      Ex:
      Validator

      { String message }

      AllowedValues extends Validator

      { List<String> allowedValues }

      In this case, the non-empty constructor for AllowedValues should include the "message" field in its argument list and invoke the super constructor (if available). This would save me from having to edit the source every time I used inheritance.

      Thanks!

      Attachments

        Activity

          People

            wmedvede@redhat.com Walter Medvedeo
            rmorrise_jira Russell Morrisey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: