Class InstancePropertiesDifferences
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesDifferences
Capture the differences between instance properties. Just as in the Differences class from which this inherits, it
captures the differences in instance properties in the following areas:
- OnlyOnLeft - values that only appear on the 'left' object (the one from which differences were checked)
- OnlyOnRight - values that only appear on the 'right' object (the one passed as an argument when differences were calculated
- Names - the names of the properties that differ, including those from OnlyOnLeft, OnlyOnRight and where the property has a value on both sides but that value is different
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
Differences.SidePresent, Differences.ValuePair
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
differing, matching, onlyOnLeft, onlyOnRight
-
Constructor Summary
ConstructorDescriptionConstruct a new set of differences between two sets of instance properties. -
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(InstanceProperties left, InstanceProperties right) Determine if there is a difference between the provided instance properties' values, and capture each of the differences and similarities.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences
addDiffering, addMatching, addOnlyOnOneSide, check, getLeftValue, getNames, getOnlyOnLeft, getOnlyOnRight, getRightValue, hasDifferences, isDifferent
-
Constructor Details
-
InstancePropertiesDifferences
public InstancePropertiesDifferences()Construct a new set of differences between two sets of instance properties.
-
-
Method Details
-
check
Determine if there is a difference between the provided instance properties' values, and capture each of the differences and similarities.- Parameters:
left
- the instance properties from the first instanceright
- the instance properties from the second instance
-