Package 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.- Author:
- Matt Ward
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDifference.WhereSpecifies the type of differences
-
Constructor Summary
Constructors Constructor Description Difference(Difference.Where where, DbProperty left, DbProperty right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescribe()A loggable message to describe the comparison result.DbPropertygetLeft()DbPropertygetRight()Difference.WheregetWhere()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Difference
public Difference(Difference.Where where, DbProperty left, DbProperty right)
-
-
Method Detail
-
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:ResultA 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.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-