Package org.alfresco.util.schemacomp
Class ValidationResult
java.lang.Object
org.alfresco.util.schemacomp.Result
org.alfresco.util.schemacomp.ValidationResult
Results of a validation operation.
- Author:
- Matt Ward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()A loggable message to describe the comparison result.An overload of theResult.describe()that allows you to specify what locale to use for the loggable message that describes the comparison result.getValue()voidsetDbProperty(DbProperty dbProperty)
-
Constructor Details
-
ValidationResult
-
-
Method Details
-
getDbProperty
- Returns:
- the dbProperty that was rejected.
-
setDbProperty
- Parameters:
dbProperty- the dbProperty to set
-
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. -
describe
Description copied from class:ResultAn overload of theResult.describe()that allows you to specify what locale to use for the loggable message that describes the comparison result. -
getValue
- Returns:
- the value that was rejected.
-