Package org.javers.core.diff
Class RealNodePair
- java.lang.Object
-
- org.javers.core.diff.RealNodePair
-
- All Implemented Interfaces:
NodePair
public class RealNodePair extends java.lang.Object implements NodePair
holds two versions of the sameObjectNode
-
-
Constructor Summary
Constructors Constructor Description RealNodePair(ObjectNode left, ObjectNode right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalIdgetGlobalId()GlobalIdgetLeftGlobalId(Property property)java.lang.ObjectgetLeftPropertyValue(Property property)ManagedTypegetManagedType()java.util.List<JaversProperty>getProperties()ObjectNodegetRight()GlobalIdgetRightGlobalId(Property property)java.lang.ObjectgetRightPropertyValue(Property property)booleanisNullOnBothSides(Property property)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.javers.core.diff.NodePair
getLeftPropertyValueAndSanitize, getRightPropertyValueAndSanitize, sanitize
-
-
-
-
Constructor Detail
-
RealNodePair
public RealNodePair(ObjectNode left, ObjectNode right)
-
-
Method Detail
-
getManagedType
public ManagedType getManagedType()
- Specified by:
getManagedTypein interfaceNodePair
-
isNullOnBothSides
public boolean isNullOnBothSides(Property property)
- Specified by:
isNullOnBothSidesin interfaceNodePair
-
getLeftPropertyValue
public java.lang.Object getLeftPropertyValue(Property property)
- Specified by:
getLeftPropertyValuein interfaceNodePair
-
getRightPropertyValue
public java.lang.Object getRightPropertyValue(Property property)
- Specified by:
getRightPropertyValuein interfaceNodePair
-
getRightGlobalId
public GlobalId getRightGlobalId(Property property)
- Specified by:
getRightGlobalIdin interfaceNodePair
-
getLeftGlobalId
public GlobalId getLeftGlobalId(Property property)
- Specified by:
getLeftGlobalIdin interfaceNodePair
-
getRight
public ObjectNode getRight()
-
getProperties
public java.util.List<JaversProperty> getProperties()
- Specified by:
getPropertiesin interfaceNodePair
-
getGlobalId
public GlobalId getGlobalId()
- Specified by:
getGlobalIdin interfaceNodePair
-
-