EDMTransaction


edm.edom3

Interface EDMTransaction


  • All Superinterfaces:EDMContextDependent



    public interface EDMTransaction
    extends EDMContextDependent

    TODO: not yet completely defined.

    Author: aet

    • Method Detail

      • getParent

        EDMTransaction getParent()

        Return parent transaction for this transaction if any.

        Returns:parent transaction

      • isContextTransaction

        boolean isContextTransaction()

        Return true if this is a CONTEXT transaction - that is EDMIlock

        Returns:true if this is a CONTEXT transactionSee Also:EDMLocalContext.reserveContext()

      • isReadTransaction

        boolean isReadTransaction()

        Return true if this is a READ transaction

        Returns:true if this is a READ transaction

      • isWriteTransaction

        boolean isWriteTransaction()

        Return true if this is a WRITE transaction

        Returns:true if this is a WRITE transaction

      • getLockedModels

        EDMModel[] getLockedModels()
                            throws EdmiException

        Return locked models for this transaction.

        Returns:array of models locked in this transactionThrows:EdmiException - if the method fails