org.alfresco.util.schemacomp
Class DiffContext
java.lang.Object
org.alfresco.util.schemacomp.DiffContext
public class DiffContext
- extends java.lang.Object
A context made available to schema differencing and validation operations. It supplies information
about the database dialect that should be used when validating database properties
and the Results object that should be populated with schema differences and validation errors.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffContext
public DiffContext(org.hibernate.dialect.Dialect dialect,
Results results,
Schema referenceSchema,
Schema targetSchema)
- Constructor.
- Parameters:
dialect - results - referenceSchema - targetSchema -
DiffContext
public DiffContext(org.hibernate.dialect.Dialect dialect,
Schema referenceSchema,
Schema targetSchema)
- Constructor.
- Parameters:
dialect - referenceSchema - targetSchema -
getDialect
public org.hibernate.dialect.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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.