Package org.alfresco.util.schemacomp
Class ValidationResult
- java.lang.Object
-
- org.alfresco.util.schemacomp.Result
-
- org.alfresco.util.schemacomp.ValidationResult
-
public class ValidationResult extends Result
Results of a validation operation.- Author:
- Matt Ward
-
-
Constructor Summary
Constructors Constructor Description ValidationResult(DbProperty dbProperty, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescribe()A loggable message to describe the comparison result.DbPropertygetDbProperty()java.lang.ObjectgetValue()voidsetDbProperty(DbProperty dbProperty)
-
-
-
Constructor Detail
-
ValidationResult
public ValidationResult(DbProperty dbProperty, java.lang.String message)
-
-
Method Detail
-
getDbProperty
public DbProperty getDbProperty()
- Returns:
- the dbProperty that was rejected.
-
setDbProperty
public void setDbProperty(DbProperty dbProperty)
- Parameters:
dbProperty- the dbProperty to set
-
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.
-
getValue
public java.lang.Object getValue()
- Returns:
- the value that was rejected.
-
-