public static class ValidationResultInfo.Builder extends Object implements ModelBuilder<ValidationResultInfo>, ValidationResult
ValidationResult.ErrorLevel
Constructor and Description |
---|
ValidationResultInfo.Builder() |
ValidationResultInfo.Builder(ValidationResult validationResultInfo) |
Modifier and Type | Method and Description |
---|---|
ValidationResultInfo |
build() |
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.
|
void |
setElement(String element) |
void |
setError(String message) |
void |
setInvalidData(Object invalidData) |
void |
setLevel(Integer level) |
void |
setMessage(String message) |
void |
setWarn(String message) |
public ValidationResultInfo.Builder()
public ValidationResultInfo.Builder(ValidationResult validationResultInfo)
public ValidationResultInfo build()
build
in interface ModelBuilder<ValidationResultInfo>
public String getElement()
ValidationResult
getElement
in interface ValidationResult
public void setElement(String element)
public Integer getLevel()
ValidationResult
getLevel
in interface ValidationResult
public String getMessage()
ValidationResult
getMessage
in interface ValidationResult
public void setMessage(String message)
public Object getInvalidData()
ValidationResult
getInvalidData
in interface ValidationResult
public void setInvalidData(Object invalidData)
public boolean isOk()
ValidationResult
isOk
in interface ValidationResult
public boolean isWarn()
ValidationResult
isWarn
in interface ValidationResult
public boolean isError()
ValidationResult
isError
in interface ValidationResult
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.