Class MutableObjectChange
java.lang.Object
org.apache.cayenne.commitlog.model.MutableObjectChange
- All Implemented Interfaces:
ObjectChange
A mutable implementation of
ObjectChange.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeChanged(String property, Object oldValue, Object newValue) Map<String, ? extends AttributeChange> Map<String, ? extends PropertyChange> Map<String, ? extends ToManyRelationshipChange> Map<String, ? extends ToOneRelationshipChange> getType()voidsetPostCommitId(ObjectId postCommitId) voidsetType(ObjectChangeType changeType) voidtoManyRelationshipConnected(String property, ObjectId value) voidtoManyRelationshipDisconnected(String property, ObjectId value) voidtoOneRelationshipConnected(String property, ObjectId value) voidtoOneRelationshipDisconnected(String property, ObjectId value)
-
Constructor Details
-
MutableObjectChange
-
-
Method Details
-
getChanges
- Specified by:
getChangesin interfaceObjectChange
-
getAttributeChanges
- Specified by:
getAttributeChangesin interfaceObjectChange
-
getToManyRelationshipChanges
- Specified by:
getToManyRelationshipChangesin interfaceObjectChange
-
getToOneRelationshipChanges
- Specified by:
getToOneRelationshipChangesin interfaceObjectChange
-
getType
- Specified by:
getTypein interfaceObjectChange
-
getPreCommitId
- Specified by:
getPreCommitIdin interfaceObjectChange
-
getPostCommitId
- Specified by:
getPostCommitIdin interfaceObjectChange
-
setPostCommitId
-
setType
-
toManyRelationshipConnected
-
toManyRelationshipDisconnected
-
toOneRelationshipConnected
-
toOneRelationshipDisconnected
-
attributeChanged
-