Class EntityDetailDifferences


  • public class EntityDetailDifferences
    extends EntitySummaryDifferences
    Capture the differences between EntityDetail objects.
    • Constructor Detail

      • EntityDetailDifferences

        public EntityDetailDifferences()
    • Method Detail

      • hasDifferences

        public boolean hasDifferences()
        Returns true if the two have any differences (are not equal), otherwise false.
        Overrides:
        hasDifferences in class EntitySummaryDifferences
        Returns:
        boolean
      • hasInstancePropertiesDifferences

        public boolean hasInstancePropertiesDifferences()
        Returns true if the two have any differences in their instance properties, or false if the instance properties are the same.
        Returns:
        boolean
      • getInstancePropertiesDifferences

        public 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.
        Returns:
        InstancePropertiesDifferences
      • checkInstanceProperties

        public 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.
        Parameters:
        left - the instance properties from the first instance
        right - the instance properties from the second instance