Class ModelTransaction


  • public class ModelTransaction
    extends java.lang.Object
    One Transaction, objects of this type can be reused.
    • Method Detail

      • start

        public void start()
        Starts transaction. After transaction started events will be recorded and analyzed.
      • start

        public void start​(boolean readOnly,
                          boolean validateModel)
      • modelChanged

        public void modelChanged​(java.beans.PropertyChangeEvent evt)
        Handles model change event.
        Parameters:
        evt - event
      • changed

        public void changed​(javax.jmi.reflect.RefObject object)
        Handles model change event.
        Parameters:
        object - object
      • isStarted

        public boolean isStarted()
      • isFirePostCommit

        public boolean isFirePostCommit()
        Determines whether post commit events are fired
        Returns:
        true if events are fired, false otherwise
      • setModelValidator

        public void setModelValidator​(ModelValidator handler)
      • beforeChange

        public void beforeChange()
      • setFirePostCommit

        public void setFirePostCommit​(boolean firePostCommit)
      • setModifiedElements

        public void setModifiedElements​(ModifiedElements modifiedElements)