Class EntityProxyDifferences
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummaryDifferences
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxyDifferences
Capture the differences between EntityProxy objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
Differences.SidePresent, Differences.ValuePair -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckUniqueProperties(InstanceProperties left, InstanceProperties right) Determine if there is a difference between the provided unique properties, and capture either each of those differences or the similarity.Returns the differences between unique properties of these instances, or null if there either are no unique properties on the instance or the unique properties are the same on both instances.booleanReturns true if the two have any differences (are not equal), otherwise false.booleanReturns true if the two have any differences in their unique properties, or false if the unique properties are the same.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummaryDifferences
checkClassifications, getClassificationDifferences, hasClassificationDifferencesMethods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
addOnlyOnOneSide, check, getLeftValue, getNames, getOnlyOnLeft, getOnlyOnRight, getRightValue, isDifferent
-
Constructor Details
-
EntityProxyDifferences
public EntityProxyDifferences()
-
-
Method Details
-
hasDifferences
public boolean hasDifferences()Returns true if the two have any differences (are not equal), otherwise false.- Overrides:
hasDifferencesin classEntitySummaryDifferences- Returns:
- boolean
-
hasUniquePropertiesDifferences
public boolean hasUniquePropertiesDifferences()Returns true if the two have any differences in their unique properties, or false if the unique properties are the same.- Returns:
- boolean
-
getUniquePropertiesDifferences
Returns the differences between unique properties of these instances, or null if there either are no unique properties on the instance or the unique properties are the same on both instances.- Returns:
- InstancePropertiesDifferences
-
checkUniqueProperties
Determine if there is a difference between the provided unique properties, and capture either each of those differences or the similarity.- Parameters:
left- the unique properties from the first instanceright- the unique properties from the second instance
-