Package com.storedobject.core
Class DataChanged
java.lang.Object
com.storedobject.core.DataChanged
Represents a data change event for a specific object.
- Author:
- Syam
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum representing the types of changes that can occur. -
Method Summary
Modifier and TypeMethodDescriptionGet the type of change.static DataChanged.CHANGE
getChange
(byte change) Get the type of change from a byte code.byte
Get the byte code of the change.Retrieves the object instance that was changed.Retrieves the TransactionManager that can be used for further processing.
-
Method Details
-
getObject
Retrieves the object instance that was changed.- Returns:
- the object instance
-
getChange
-
getChange
Get the type of change from a byte code.- Parameters:
change
- Byte code representing the type of change.- Returns:
- Type of change.
-
getChangeCode
public byte getChangeCode()Get the byte code of the change.- Returns:
- The byte code of the change.
-
getTransactionManager
Retrieves the TransactionManager that can be used for further processing.- Returns:
- the TransactionManager that can be used fr further processing.
-