Class MapChange
- java.lang.Object
-
- org.javers.core.diff.Change
-
- org.javers.core.diff.changetype.PropertyChange
-
- org.javers.core.diff.changetype.map.MapChange
-
- All Implemented Interfaces:
java.io.Serializable
public class MapChange extends PropertyChange
Changes on a Map property- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MapChange(GlobalId affectedCdoId, java.lang.String propertyName, java.util.List<EntryChange> changes)MapChange(GlobalId affectedCdoId, java.lang.String propertyName, java.util.List<EntryChange> changes, java.util.Optional<CommitMetadata> commitMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<EntryAdded>getEntryAddedChanges()java.util.List<EntryChange>getEntryChanges()java.util.List<EntryRemoved>getEntryRemovedChanges()java.util.List<EntryValueChange>getEntryValueChanges()inthashCode()java.lang.StringprettyPrint(PrettyValuePrinter valuePrinter)-
Methods inherited from class org.javers.core.diff.changetype.PropertyChange
getPropertyName, getPropertyNameWithPath
-
Methods inherited from class org.javers.core.diff.Change
getAffectedGlobalId, getAffectedLocalId, getAffectedObject, getCommitMetadata, toString
-
-
-
-
Constructor Detail
-
MapChange
public MapChange(GlobalId affectedCdoId, java.lang.String propertyName, java.util.List<EntryChange> changes)
-
MapChange
public MapChange(GlobalId affectedCdoId, java.lang.String propertyName, java.util.List<EntryChange> changes, java.util.Optional<CommitMetadata> commitMetadata)
-
-
Method Detail
-
getEntryChanges
public java.util.List<EntryChange> getEntryChanges()
-
getEntryAddedChanges
public java.util.List<EntryAdded> getEntryAddedChanges()
-
getEntryRemovedChanges
public java.util.List<EntryRemoved> getEntryRemovedChanges()
-
getEntryValueChanges
public java.util.List<EntryValueChange> getEntryValueChanges()
-
prettyPrint
public java.lang.String prettyPrint(PrettyValuePrinter valuePrinter)
- Specified by:
prettyPrintin classChange
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classPropertyChange
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPropertyChange
-
-