ObjectChange (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.commitlog.model, interface: ObjectChange

# Interface ObjectChange

All Known Implementing Classes:
  `MutableObjectChange`

public interface ObjectChange
Accumulates changes of a single object with a transaction.

Since:
  4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String, ? extends AttributeChange>`
  `getAttributeChanges()`
  `Map<String, ? extends PropertyChange>`
  `getChanges()`
  `ObjectId`
  `getPostCommitId()`
  `ObjectId`
  `getPreCommitId()`
  `Map<String, ? extends ToManyRelationshipChange>`
  `getToManyRelationshipChanges()`
  `Map<String, ? extends ToOneRelationshipChange>`
  `getToOneRelationshipChanges()`
  `ObjectChangeType`
  `getType()`

- ## Method Details

  - ### getType

    ObjectChangeType getType()

  - ### getPreCommitId

    ObjectId getPreCommitId()

  - ### getPostCommitId

    ObjectId getPostCommitId()

  - ### getChanges

    Map<String, ? extends PropertyChange> getChanges()

  - ### getAttributeChanges

    Map<String, ? extends AttributeChange> getAttributeChanges()

  - ### getToOneRelationshipChanges

    Map<String, ? extends ToOneRelationshipChange> getToOneRelationshipChanges()

  - ### getToManyRelationshipChanges

    Map<String, ? extends ToManyRelationshipChange> getToManyRelationshipChanges()