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.
| Fields inherited from class org.alfresco.util.schemacomp.Result |
strength |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationResult
public ValidationResult(DbProperty dbProperty,
java.lang.String message)
ValidationResult
public ValidationResult(DbProperty dbProperty,
Result.Strength strength,
java.lang.String message)
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:
Result
- A 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.
- Overrides:
describe in class Result
- Returns:
getValue
public java.lang.Object getValue()
- Returns:
- the value that was rejected.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.