Class ContainerChange<T>
java.lang.Object
org.javers.core.diff.Change
org.javers.core.diff.changetype.PropertyChange<T>
org.javers.core.diff.changetype.container.ContainerChange<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArrayChange,CollectionChange
Changes on an Array or Collection property
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanList<?>getLeft()Left (or old) Collection or arrayabstract intList<?>getRight()Right (or new) Collection or arrayabstract intinthashCode()prettyPrint(PrettyValuePrinter valuePrinter) toString()Pretty print with default dates formattingMethods inherited from class org.javers.core.diff.changetype.PropertyChange
getChangeType, getPropertyName, getPropertyNameWithPath, isPropertyAdded, isPropertyRemoved, isPropertyValueChangedMethods inherited from class org.javers.core.diff.Change
getAffectedGlobalId, getAffectedLocalId, getAffectedObject, getCommitMetadata
-
Method Details
-
getRight
Right (or new) Collection or array- Specified by:
getRightin classPropertyChange<T>
-
getLeft
Left (or old) Collection or array- Specified by:
getLeftin classPropertyChange<T>
-
getRightSize
public abstract int getRightSize() -
getLeftSize
public abstract int getLeftSize() -
getChanges
-
getValueAddedChanges
-
getValueRemovedChanges
-
getAddedValues
-
getRemovedValues
-
prettyPrint
- Specified by:
prettyPrintin classChange
-
equals
- Overrides:
equalsin classPropertyChange<T>
-
hashCode
public int hashCode()- Overrides:
hashCodein classPropertyChange<T>
-
toString
Description copied from class:ChangePretty print with default dates formatting- Overrides:
toStringin classPropertyChange<T>
-