|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.contract.model.test.source.ValidationResultInfo.Builder
public static class ValidationResultInfo.Builder
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.kuali.student.contract.model.test.source.ValidationResult |
---|
ValidationResult.ErrorLevel |
Constructor Summary | |
---|---|
ValidationResultInfo.Builder()
|
|
ValidationResultInfo.Builder(ValidationResult validationResultInfo)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationResultInfo.Builder()
public ValidationResultInfo.Builder(ValidationResult validationResultInfo)
Method Detail |
---|
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 void setLevel(Integer level)
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 void setError(String message)
public void setWarn(String message)
public boolean isOk()
ValidationResult
isOk
in interface ValidationResult
public boolean isWarn()
ValidationResult
isWarn
in interface ValidationResult
public boolean isError()
ValidationResult
isError
in interface ValidationResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |