Class EntityProxyDifferences


  • public class EntityProxyDifferences
    extends EntitySummaryDifferences
    Capture the differences between EntityProxy objects.
    • Constructor Detail

      • EntityProxyDifferences

        public EntityProxyDifferences()
    • 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
      • 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 instance
        right - the unique properties from the second instance