|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.impl.Validator.ErrorInfo
public static class Validator.ErrorInfo
The validator is collecting instances of this data bean, which holds a single validation constraints information.
Constructor Summary | |
---|---|
Validator.ErrorInfo(java.lang.Object pSource,
java.lang.String pSourceName,
ErrorCode pErrorCode,
java.lang.String pErrorMessage,
java.lang.Object[] pDetails)
Creates a new instance. |
Method Summary | |
---|---|
java.lang.Object[] |
getDetails()
Returns the error messages details, suitable for Formatter.format(String, Object...) . |
ErrorCode |
getErrorCode()
Returns the error messages code. |
java.lang.String |
getErrorMessage()
Returns the error messages description, suitable for Formatter.format(String, Object...) . |
java.lang.Object |
getSource()
Returns the validation errors source object. |
java.lang.String |
getSourceName()
Returns the source objects name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Validator.ErrorInfo(java.lang.Object pSource, java.lang.String pSourceName, ErrorCode pErrorCode, java.lang.String pErrorMessage, java.lang.Object[] pDetails)
pSource
- The validation errors source object.pSourceName
- The source objects name.pErrorCode
- The error messages code.pErrorMessage
- The error messages description, suitable for
Formatter.format(String, Object...)
.pDetails
- The error messages details, suitable for
Formatter.format(String, Object...)
.Method Detail |
---|
public java.lang.Object getSource()
public java.lang.String getSourceName()
public ErrorCode getErrorCode()
public java.lang.String getErrorMessage()
Formatter.format(String, Object...)
.
public java.lang.Object[] getDetails()
Formatter.format(String, Object...)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |