Class NullValidator
- java.lang.Object
-
- org.alfresco.util.schemacomp.validator.AbstractDbValidator
-
- org.alfresco.util.schemacomp.validator.NullValidator
-
- All Implemented Interfaces:
DbValidator
public class NullValidator extends AbstractDbValidator
A 'do nothing' validator- Author:
- Matt Ward
-
-
Constructor Summary
Constructors Constructor Description NullValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(DbObject reference, DbObject target, 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
-
-
-
-
Method Detail
-
validate
public void validate(DbObject reference, DbObject target, DiffContext ctx)
Description copied from interface:DbValidatorValidate the target database object (against the reference object if necessary). Store the validation results on the DiffContext.- Parameters:
reference- DbObjecttarget- DbObjectctx- DiffContext
-
-