|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.trees.validator.ValidationResult
public class ValidationResult
Run Time representation of the Validation Result on executing a validator.
Nested Class Summary | |
---|---|
static class |
ValidationResult.Result
Types of validation results. |
Constructor Summary | |
---|---|
ValidationResult()
Constructor for ValidationResult. |
Method Summary | |
---|---|
java.lang.String |
getCorrectionUI()
Getter for Correction Page. |
java.lang.String |
getCorrectiveAction()
Getter for Corrective action to launch correction UI. |
java.lang.String |
getDetailMessage()
|
java.lang.String |
getMessage()
Returns the translated message represented by this validation result. |
java.lang.String |
getMessageCode()
Returns the code for the given message. |
ValidationResult.Result |
getResult()
Returns the validation result. |
Validator |
getValidator()
Gets the validator associated with this Validation Result. |
boolean |
isFail()
Gets whether validation failed. |
boolean |
isPass()
Gets whether validation passed. |
void |
setCorrectionUI(java.lang.String correctionUI)
Setter for Correction Page. |
void |
setCorrectiveAction(java.lang.String correctiveAction)
Setter for Corrective action to launch correction UI. |
void |
setDetailMessage(java.lang.String detailMessage)
|
void |
setMessage(java.lang.String code,
java.lang.Object[] params)
Sets the validation result message. |
void |
setResult(ValidationResult.Result result)
Sets the result for the validation. |
void |
setValidator(Validator validator)
Sets the validator object also along with the Validation Result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationResult()
Method Detail |
---|
public void setResult(ValidationResult.Result result)
result
- the validation resultpublic ValidationResult.Result getResult()
public boolean isPass()
public boolean isFail()
public void setValidator(Validator validator)
validator
- Validator instanceValidator
public Validator getValidator()
Validator
public void setCorrectionUI(java.lang.String correctionUI)
correctionUI
- as Stringpublic java.lang.String getCorrectionUI()
public void setCorrectiveAction(java.lang.String correctiveAction)
correctiveAction
- as Stringpublic java.lang.String getCorrectiveAction()
public void setMessage(java.lang.String code, java.lang.Object[] params)
code
- the validation result codeparams
- the validation result parameterspublic java.lang.String getMessage()
public java.lang.String getMessageCode()
public void setDetailMessage(java.lang.String detailMessage)
public java.lang.String getDetailMessage()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |