You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Murphy (JIRA)" <tu...@ws.apache.org> on 2006/05/02 16:10:46 UTC

[jira] Created: (TUSCANY-254) Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

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

         Key: TUSCANY-254
         URL: http://issues.apache.org/jira/browse/TUSCANY-254
     Project: Tuscany
        Type: Improvement

 Environment: All
    Reporter: Dan Murphy


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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TUSCANY-254) Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-254?page=all ]

Frank Budinsky updated TUSCANY-254:
-----------------------------------

    Fix Version: Mx

We'll do this soon after, but not in, M1

> Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface
> ---------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-254
>          URL: http://issues.apache.org/jira/browse/TUSCANY-254
>      Project: Tuscany
>         Type: Improvement

>   Components: Java SDO Tools
>  Environment: All
>     Reporter: Dan Murphy
>     Priority: Minor
>      Fix For: Mx

>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (TUSCANY-254) Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-254?page=all ]

Frank Budinsky resolved TUSCANY-254.
------------------------------------

    Resolution: Fixed

Fixed in revision 431587.

> Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-254
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-254
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Tools
>         Environment: All
>            Reporter: Dan Murphy
>            Priority: Minor
>             Fix For: Java-Mx
>
>         Attachments: Tuscany254.patch
>
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-254) Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

Posted by "Kapil Katyal (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-254?page=all ]

Kapil Katyal updated TUSCANY-254:
---------------------------------

    Attachment: Tuscany254.patch

Here is a patch to resolve this JIRA, can someone please review and apply this fix?

> Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-254
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-254
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Tools
>         Environment: All
>            Reporter: Dan Murphy
>            Priority: Minor
>             Fix For: Java-Mx
>
>         Attachments: Tuscany254.patch
>
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-254) Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-254?page=all ]

ant elder updated TUSCANY-254:
------------------------------

    Component: Java SDO Tools
     Priority: Minor  (was: Major)

> Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface
> ---------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-254
>          URL: http://issues.apache.org/jira/browse/TUSCANY-254
>      Project: Tuscany
>         Type: Improvement

>   Components: Java SDO Tools
>  Environment: All
>     Reporter: Dan Murphy
>     Priority: Minor

>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TUSCANY-254) Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface

Posted by "Dan Murphy (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-254?page=comments#action_12377404 ] 

Dan Murphy commented on TUSCANY-254:
------------------------------------

Sorry, should have set this to minor & assgined it to SDO Java... can't see how to do this now :(

> Add -interfaceDataObject codegen option to generate interfaces that extend SDO DataObject interface
> ---------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-254
>          URL: http://issues.apache.org/jira/browse/TUSCANY-254
>      Project: Tuscany
>         Type: Improvement

>  Environment: All
>     Reporter: Dan Murphy

>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira