HDIV API 2.0.4

org.hdiv.dataValidator
Class ValidationResult

java.lang.Object
  extended by org.hdiv.dataValidator.ValidationResult
All Implemented Interfaces:
IValidationResult

public class ValidationResult
extends java.lang.Object
implements IValidationResult

Validation Result class.

Author:
Roberto Velasco, Oscar Ocariz

Constructor Summary
ValidationResult()
           
 
Method Summary
 java.lang.String getExpectedValue()
           
 boolean getLegal()
           
 java.lang.Object getResult()
           
 void setExpectedValue(java.lang.String expectedValue)
           
 void setLegal(boolean legal)
           
 void setResult(java.lang.Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationResult

public ValidationResult()
Method Detail

getLegal

public boolean getLegal()
Specified by:
getLegal in interface IValidationResult
Returns:
Returns the legal.

setLegal

public void setLegal(boolean legal)
Specified by:
setLegal in interface IValidationResult
Parameters:
legal - The legal to set.

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface IValidationResult
Returns:
Returns the result.

setResult

public void setResult(java.lang.Object result)
Specified by:
setResult in interface IValidationResult
Parameters:
result - The result to set.

getExpectedValue

public java.lang.String getExpectedValue()
Specified by:
getExpectedValue in interface IValidationResult
Returns:
Returns the expectedValue.

setExpectedValue

public void setExpectedValue(java.lang.String expectedValue)
Specified by:
setExpectedValue in interface IValidationResult
Parameters:
expectedValue - The expectedValue to set.

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.