org.alfresco.util.schemacomp
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.
|
Nested Class Summary |
static class |
Difference.Where
Specifies the type of differences |
| Fields inherited from class org.alfresco.util.schemacomp.Result |
strength |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Difference
public Difference(Difference.Where where,
DbProperty left,
DbProperty right)
Difference
public Difference(Difference.Where where,
DbProperty left,
DbProperty right,
Result.Strength strength)
getWhere
public Difference.Where getWhere()
- Returns:
- the where
getLeft
public DbProperty getLeft()
- Returns:
- the left
getRight
public DbProperty getRight()
- Returns:
- the right
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.