Class ContainerChange
- java.lang.Object
-
- org.javers.core.diff.Change
-
- org.javers.core.diff.changetype.PropertyChange
-
- org.javers.core.diff.changetype.container.ContainerChange
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ArrayChange,CollectionChange
public abstract class ContainerChange extends PropertyChange
Changes on an Array or Collection property- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<?>getAddedValues()java.util.List<ContainerElementChange>getChanges()java.util.List<?>getRemovedValues()java.util.List<ValueAdded>getValueAddedChanges()java.util.List<ValueRemoved>getValueRemovedChanges()inthashCode()java.lang.StringprettyPrint(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
-
-
-
-
Method Detail
-
getChanges
public java.util.List<ContainerElementChange> getChanges()
-
getValueAddedChanges
public java.util.List<ValueAdded> getValueAddedChanges()
-
getValueRemovedChanges
public java.util.List<ValueRemoved> getValueRemovedChanges()
-
getAddedValues
public java.util.List<?> getAddedValues()
-
getRemovedValues
public java.util.List<?> getRemovedValues()
-
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
-
-