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(PropertyChangeMetadata metadata, java.util.List<EntryChange> changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<EntryAdded>
getEntryAddedChanges()
java.util.List<EntryChange>
getEntryChanges()
java.util.List<EntryRemoved>
getEntryRemovedChanges()
java.util.List<EntryValueChange>
getEntryValueChanges()
int
hashCode()
java.lang.String
prettyPrint(PrettyValuePrinter valuePrinter)
-
Methods inherited from class org.javers.core.diff.changetype.PropertyChange
getChangeType, getPropertyName, getPropertyNameWithPath, isPropertyAdded, isPropertyRemoved, isPropertyValueChanged
-
Methods inherited from class org.javers.core.diff.Change
getAffectedGlobalId, getAffectedLocalId, getAffectedObject, getCommitMetadata, toString
-
-
-
-
Constructor Detail
-
MapChange
public MapChange(PropertyChangeMetadata metadata, java.util.List<EntryChange> changes)
-
-
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:
prettyPrint
in classChange
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classPropertyChange
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPropertyChange
-
-