Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-254

Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Java-SDO-M2
    • Java SDO Tools
    • None
    • All

    Description

      The current Java generator generates POJO style java interfaces, if a developer need to use SDO methods then they need to explicitly cast to a DataObject. This wouold be unnecessary and result in "better" code if the generated classed extended DataObject.
      This could be acheived by adding a -interfaceDataObject flag to the generator...

      Attachments

        1. Tuscany254.patch
          7 kB
          Kapil Katyal

        Activity

          People

            Unassigned Unassigned
            murphdg Dan Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: