org.alfresco.util.schemacomp
Class RedundantDbObject

java.lang.Object
  extended by org.alfresco.util.schemacomp.Result
      extended by org.alfresco.util.schemacomp.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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.util.schemacomp.Result
Result.Strength
 
Field Summary
 
Fields inherited from class org.alfresco.util.schemacomp.Result
strength
 
Constructor Summary
RedundantDbObject(DbObject dbObject, java.util.List matches)
           
 
Method Summary
 java.lang.String describe()
          A loggable message to describe the comparison result.
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.util.schemacomp.Result
getStrength
 
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 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:

toString

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.