Package cz.cvut.kbss.jopa.utils
Enum Class ChangeTrackingMode
- All Implemented Interfaces:
Serializable
,Comparable<ChangeTrackingMode>
,java.lang.constant.Constable
Specifies how changes to managed objects are tracked in transactions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeTrackingMode
resolve
(Configuration configuration) Resolves change tracking mode from the specified configuration.static ChangeTrackingMode
Returns the enum constant of this class with the specified name.static ChangeTrackingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMMEDIATE
Tracks changes immediately as they are made and propagates them to a transaction snapshot of the repository managed by the underlying OntoDriver. -
ON_COMMIT
Calculates changes on commit, propagating them immediately to the underlying repository.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
resolve
Resolves change tracking mode from the specified configuration.- Parameters:
configuration
- Configuration to resolve change tracking mode from- Returns:
- Resolved
ChangeTrackingMode
-