Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-beta1
    • Component/s: Generator, Runtime
    • Labels:
      None
    • Environment:
      n/a

      Description

      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.

        Activity

        Thoralf Rickert created issue -
        Thomas Fox made changes -
        Field Original Value New Value
        Assignee Thomas Fox [ tfischer ]
        Thomas Fox made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Thomas Fox added a comment -

        the following getters should be available: isLoading, isSaving and isDeleted

        Show
        Thomas Fox added a comment - the following getters should be available: isLoading, isSaving and isDeleted
        Thomas Fox made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 4.0 [ 12312102 ]
        Resolution Fixed [ 1 ]
        Thomas Fox made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1359d 23h 49m 1 Thomas Fox 16/Feb/12 10:17
        In Progress In Progress Resolved Resolved
        49d 1h 40m 1 Thomas Fox 05/Apr/12 12:58
        Resolved Resolved Closed Closed
        171d 19h 8m 1 Thomas Fox 24/Sep/12 08:06

          People

          • Assignee:
            Thomas Fox
            Reporter:
            Thoralf Rickert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development