public class RelationshipDifferences extends Differences
Differences.SidePresentdiffering, matching, onlyOnLeft, onlyOnRight| Constructor and Description |
|---|
RelationshipDifferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInstanceProperties(InstanceProperties left,
InstanceProperties right)
Determine if there is a difference between the provided instance properties, and capture either each of those
differences or the similarity.
|
EntityProxyDifferences |
getEntityProxyOneDifferences()
Returns the differences between the first entity proxy of the two relationships.
|
EntityProxyDifferences |
getEntityProxyTwoDifferences()
Returns the differences between the second entity proxy of the two relationships.
|
InstancePropertiesDifferences |
getInstancePropertiesDifferences()
Returns the differences between instance properties of these instances, or null if there either are no instance
properties on the instance or the instance properties are the same on both instances.
|
boolean |
hasDifferences()
Returns true if the two have any differences (are not equal), otherwise false.
|
boolean |
hasEntityProxyDifferences()
Returns true if there are any differences in the entity proxies for the relationships.
|
boolean |
hasEntityProxyOneDifferences()
Returns true if there are any differences between the first entity proxy on the relationships.
|
boolean |
hasEntityProxyTwoDifferences()
Returns true if there are any differences between the second entity proxy on the relationships.
|
boolean |
hasInstancePropertiesDifferences()
Returns true if the two have any differences in their instance properties, or false if the instance properties
are the same.
|
void |
setEntityProxyOneDifferences(EntityProxyDifferences entityProxyOneDifferences)
Set the differences between the first entity proxy of the two relationships.
|
void |
setEntityProxyTwoDifferences(EntityProxyDifferences entityProxyTwoDifferences)
Set the differences between the second entity proxy of the two relationships.
|
addDiffering, addMatching, addOnlyOnOneSide, check, getLeftValue, getNames, getOnlyOnLeft, getOnlyOnRight, getRightValue, isDifferentpublic boolean hasDifferences()
hasDifferences in class Differencespublic boolean hasEntityProxyDifferences()
public boolean hasEntityProxyOneDifferences()
public boolean hasEntityProxyTwoDifferences()
public void setEntityProxyOneDifferences(EntityProxyDifferences entityProxyOneDifferences)
entityProxyOneDifferences - the differences calculated for entity proxy onepublic EntityProxyDifferences getEntityProxyOneDifferences()
public void setEntityProxyTwoDifferences(EntityProxyDifferences entityProxyTwoDifferences)
entityProxyTwoDifferences - the differences calculated for entity proxy twopublic EntityProxyDifferences getEntityProxyTwoDifferences()
public boolean hasInstancePropertiesDifferences()
public InstancePropertiesDifferences getInstancePropertiesDifferences()
public void checkInstanceProperties(InstanceProperties left, InstanceProperties right)
left - the instance properties from the first instanceright - the instance properties from the second instanceCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.