org.kuali.student.contract.model.test.source
Interface ValidationResult

All Known Implementing Classes:
ValidationResultInfo, ValidationResultInfo.Builder

public interface ValidationResult


Nested Class Summary
static class ValidationResult.ErrorLevel
           
 
Method Summary
 String getElement()
          Get ????

Type: String

???

 Object getInvalidData()
          Invalid data causing the error or warning

Type: Object

 Integer getLevel()
          Get ????

Type: Integer

Returns the ValidationResult's error level

 String getMessage()
          Get ????

Type: String

???

 boolean isError()
          Get ????

Type: boolean

Convenience method.

 boolean isOk()
          Get ????

Type: boolean

Convenience method.

 boolean isWarn()
          Get ????

Type: boolean

Convenience method.

 

Method Detail

getMessage

String getMessage()
Get ????

Type: String

???


getElement

String getElement()
Get ????

Type: String

???


getLevel

Integer getLevel()
Get ????

Type: Integer

Returns the ValidationResult's error level


getInvalidData

Object getInvalidData()
Invalid data causing the error or warning

Type: Object

Returns:
data causing the error or warning

isOk

boolean isOk()
Get ????

Type: boolean

Convenience method. Returns true if getErrorLevel() == ErrorLevel.OK


isWarn

boolean isWarn()
Get ????

Type: boolean

Convenience method. Returns true if getErrorLevel() == ErrorLevel.WARN


isError

boolean isError()
Get ????

Type: boolean

Convenience method. Returns true if getErrorLevel() == ErrorLevel.ERROR



Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.