Class Difference

java.lang.Object
org.alfresco.util.schemacomp.Result
org.alfresco.util.schemacomp.Difference

public final class Difference extends Result
Result of a comparison between two database objects.
Author:
Matt Ward
  • Constructor Details

  • Method Details

    • getWhere

      public Difference.Where getWhere()
      Returns:
      the where
    • getLeft

      public DbProperty getLeft()
      Returns:
      the left
    • getRight

      public DbProperty getRight()
      Returns:
      the right
    • describe

      public String describe()
      Description copied from class: Result
      A loggable message to describe the comparison result. Default implementation delegates to toString() but this should generally be overridden as toString() is used in a multitude of contexts.
      Overrides:
      describe in class Result
      Returns:
      String
    • describe

      public String describe(Locale locale)
      Description copied from class: Result
      An overload of the Result.describe() that allows you to specify what locale to use for the loggable message that describes the comparison result.
      Specified by:
      describe in class Result
      Parameters:
      locale - The locale to use for comparison description.
      Returns:
      String
    • toString

      public String toString()
      Overrides:
      toString in class Object