Package org.alfresco.util.schemacomp
Class DiffContext
- java.lang.Object
-
- org.alfresco.util.schemacomp.DiffContext
-
public class DiffContext extends java.lang.ObjectA context made available to schema differencing and validation operations. It supplies information about thedatabase dialectthat should be used when validating database properties and theResultsobject that should be populated with schema differences and validation errors.- Author:
- Matt Ward
-
-
Constructor Summary
Constructors Constructor Description DiffContext(Dialect dialect, Schema referenceSchema, Schema targetSchema)Constructor.DiffContext(Dialect dialect, Results results, Schema referenceSchema, Schema targetSchema)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultsgetComparisonResults()DialectgetDialect()SchemagetReferenceSchema()SchemagetTargetSchema()
-
-
-
Method Detail
-
getDialect
public Dialect getDialect()
- Returns:
- the dialect
-
getComparisonResults
public Results getComparisonResults()
- Returns:
- the results of schema comparison: validation failures, differences etc.
-
getReferenceSchema
public Schema getReferenceSchema()
- Returns:
- the referenceSchema
-
getTargetSchema
public Schema getTargetSchema()
- Returns:
- the targetSchema
-
-