db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (TORQUE-116) property for object state
Date Thu, 16 Feb 2012 09:16:59 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Thomas Fox reassigned TORQUE-116:

    Assignee: Thomas Fox
> property for object state
> -------------------------
>                 Key: TORQUE-116
>                 URL: https://issues.apache.org/jira/browse/TORQUE-116
>             Project: Torque
>          Issue Type: Improvement
>          Components: Generator, Runtime
>         Environment: n/a
>            Reporter: Thoralf Rickert
>            Assignee: Thomas Fox
>            Priority: Minor
> Sometimes it would be very helpful to know the state of an Object. Currently we have
the states "new" and "modified". Additionally I think there could be at least one state more.
During initializing of the object (populateObject) the Base class calls some setters in the
object. It would be nice to now that this set-methods are called during the initializing phase
of the object to change the behavior of the method.
> The populateObject method could set an internal method "isPopulating" at the beginning
of the process to true. And at the end it should set this variable to false. Then someone
could check that variable state.
> Another situation would be "save" in an threaded and not-thread-safe-environment.
> This work for this is minimal. We need only a change in the templates.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

View raw message