Class RedundantDbObject


  • public class RedundantDbObject
    extends Result
    If more than one DB item in the target schema matches a reference DB item then this result will be issued.
    Author:
    Matt Ward
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String describe()
      A loggable message to describe the comparison result.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RedundantDbObject

        public RedundantDbObject​(DbObject dbObject,
                                 java.util.List<DbObject> matches)
    • Method Detail

      • describe

        public java.lang.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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object