Package com.nomagic.uml2.transaction
Class TransactionManager.TransactionOptions
- java.lang.Object
-
- com.nomagic.uml2.transaction.TransactionManager.TransactionOptions
-
- Enclosing interface:
- TransactionManager
public static class TransactionManager.TransactionOptions extends java.lang.Object
Transaction options. ReadOnly - if transaction is readonly any model modification throwsReadOnlyModelException
default value is false; FirePostCommit fires events when transaction is done. Default value is true.
-
-
Field Summary
Fields Modifier and Type Field Description static TransactionManager.TransactionOptions
DEFAULT
Read write, with post commit events.static TransactionManager.TransactionOptions
NO_POSTCOMMIT
Read write without post commit.static TransactionManager.TransactionOptions
READONLY
Readonly transaction with post commit.
-
Constructor Summary
Constructors Constructor Description TransactionOptions(boolean readonly, boolean firePostCommit, boolean validateModel)
-
-
-
Field Detail
-
DEFAULT
public static TransactionManager.TransactionOptions DEFAULT
Read write, with post commit events.
-
READONLY
public static TransactionManager.TransactionOptions READONLY
Readonly transaction with post commit.
-
NO_POSTCOMMIT
public static TransactionManager.TransactionOptions NO_POSTCOMMIT
Read write without post commit.
-
-