Interface Change

All Known Implementing Classes:
DeleteObjectChange, NewObjectChange, ObjectChangeSet

public interface Change
Represents a change to an object made during a transaction.
  • Method Details

    • getObjectClass

      default Class<?> getObjectClass()
      Gets the type of the changed object.
      Returns:
      Object type
    • getClone

      Object getClone()
      Gets the clone with changes.
      Returns:
      Clone, never null
    • getOriginal

      Object getOriginal()
      Gets the original object.
      Returns:
      Original
    • getDescriptor

      Descriptor getDescriptor()
      Gets descriptor of the changed object.
      Returns:
      Instance descriptor
    • getEntityContext

      default URI getEntityContext()
      Gets identifier of the repository context to which the changed object belongs.
      Returns:
      context URI