Class SchemaVersionValidator
java.lang.Object
org.alfresco.util.schemacomp.validator.AbstractDbValidator
org.alfresco.util.schemacomp.validator.SchemaVersionValidator
- All Implemented Interfaces:
DbValidator
Validate a schema's version number with respect to a reference schema.
For the target schema to pass validation its version number must be greater than or equal to the reference schema's version number.
- Author:
- Matt Ward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(DbObject referenceObj, DbObject targetObj, DiffContext ctx) Validate the target database object (against the reference object if necessary).Methods inherited from class org.alfresco.util.schemacomp.validator.AbstractDbValidator
addFieldToValidate, getProperty, getPropertyNames, setFieldsToValidate, setProperty, validates, validatesFullObject
-
Constructor Details
-
SchemaVersionValidator
public SchemaVersionValidator()
-
-
Method Details
-
validate
Description copied from interface:DbValidatorValidate the target database object (against the reference object if necessary). Store the validation results on the DiffContext.- Parameters:
referenceObj- DbObjecttargetObj- DbObjectctx- DiffContext
-