Class ListChange
- java.lang.Object
-
- org.javers.core.diff.Change
-
- org.javers.core.diff.changetype.PropertyChange<T>
-
- org.javers.core.diff.changetype.container.ContainerChange<T>
-
- org.javers.core.diff.changetype.container.CollectionChange<java.util.List<?>>
-
- org.javers.core.diff.changetype.container.ListChange
-
- All Implemented Interfaces:
java.io.Serializable
public final class ListChange extends CollectionChange<java.util.List<?>>
Changes on a List property- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListChange(PropertyChangeMetadata metadata, java.util.List<ContainerElementChange> changes)
ListChange(PropertyChangeMetadata metadata, java.util.List<ContainerElementChange> changes, java.util.List left, java.util.List right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.javers.core.diff.changetype.container.CollectionChange
getLeftSize, getRightSize
-
Methods inherited from class org.javers.core.diff.changetype.container.ContainerChange
getAddedValues, getChanges, getLeft, getRemovedValues, getRight, getValueAddedChanges, getValueRemovedChanges, prettyPrint, toString
-
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
-
-
-
-
Constructor Detail
-
ListChange
public ListChange(PropertyChangeMetadata metadata, java.util.List<ContainerElementChange> changes, java.util.List left, java.util.List right)
-
ListChange
public ListChange(PropertyChangeMetadata metadata, java.util.List<ContainerElementChange> changes)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classContainerChange<java.util.List<?>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classContainerChange<java.util.List<?>>
-
-