Uploaded image for project: 'Talend Unified Platform'
  1. Talend Unified Platform
  2. TUP-21081

[Refactoring] Move schema creation code from SettingVisitory to SchemaElementParameter

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Work Item
    • Status: New
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • All
    • GreenHopper Ranking:
      0|i1cnxn:
    • 9223372036854775807
    • Small

    Description

      Problem is ElementParameter class has to much responsibilities and fields. Some of fields are required, some are optional. Constructor should reflect which fields are required, but it doesn't. All fields are set via setter methods. This is not correct as developer may forget/doesn't know to set some particular field.

      This ticket suggests to move setting some constant values during schema element parameter creation from SettingVisitor class to SchemaElementParameter class.

      Separate classes may added for schema child parameters (and a parameter.schema package)

      Attachments

        Activity

          People

            Unassigned Unassigned
            igonchar Ivan Gonchar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: