EDMTransaction
edm.edom3
Interface EDMTransaction
All Superinterfaces:EDMContextDependent
public interface EDMTransaction extends EDMContextDependent
TODO: not yet completely defined.Author: aet
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description EDMModel[]
getLockedModels()
Return locked models for this transaction.EDMTransaction
getParent()
Return parent transaction for this transaction if any.boolean
isContextTransaction()
Return true if this is a CONTEXT transaction - that is EDMIlockboolean
isReadTransaction()
Return true if this is a READ transactionboolean
isWriteTransaction()
Return true if this is a WRITE transactionMethods inherited from interface edm.edom3.EDMContextDependent
getContext
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 EDMIlockReturns:true if this is a CONTEXT transactionSee Also:EDMLocalContext.reserveContext()
isReadTransaction
boolean isReadTransaction()
Return true if this is a READ transactionReturns:true if this is a READ transaction
isWriteTransaction
boolean isWriteTransaction()
Return true if this is a WRITE transactionReturns: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