Interface ObjectChange
-
- All Known Implementing Classes:
MutableObjectChange
public interface ObjectChangeAccumulates changes of a single object with a transaction.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,? extends AttributeChange>getAttributeChanges()Map<String,? extends PropertyChange>getChanges()org.apache.cayenne.ObjectIdgetPostCommitId()org.apache.cayenne.ObjectIdgetPreCommitId()Map<String,? extends ToManyRelationshipChange>getToManyRelationshipChanges()Map<String,? extends ToOneRelationshipChange>getToOneRelationshipChanges()ObjectChangeTypegetType()
-
-
-
Method Detail
-
getType
ObjectChangeType getType()
-
getPreCommitId
org.apache.cayenne.ObjectId getPreCommitId()
-
getPostCommitId
org.apache.cayenne.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()
-
-