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
-
public class EntityProxyDifferences extends EntitySummaryDifferences
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
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
differing, matching, onlyOnLeft, onlyOnRight
-
-
Constructor Summary
Constructors Constructor Description EntityProxyDifferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckUniqueProperties(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.InstancePropertiesDifferencesgetUniquePropertiesDifferences()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.booleanhasDifferences()Returns true if the two have any differences (are not equal), otherwise false.booleanhasUniquePropertiesDifferences()Returns 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, hasClassificationDifferences
-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
addDiffering, addMatching, addOnlyOnOneSide, check, getLeftValue, getNames, getOnlyOnLeft, getOnlyOnRight, getRightValue, isDifferent
-
-
-
-
Method Detail
-
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
public InstancePropertiesDifferences 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
public void checkUniqueProperties(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.- Parameters:
left- the unique properties from the first instanceright- the unique properties from the second instance
-
-