|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationError
Interface to which all error objects in Stripes should conform.
Method Summary | |
---|---|
String |
getActionPath()
Returns the action path of the form/ActionBean, if one was supplied. |
Class<? extends ActionBean> |
getBeanclass()
Returns the class of the ActionBean associated to the request. |
String |
getFieldName()
Returns the name of the field in error, if one was supplied. |
String |
getFieldValue()
Returns the value that is in error, if one was supplied. |
void |
setActionPath(String actionPath)
Provides the message with access to the unique action path associated with the ActionBean bound to the current request. |
void |
setBeanclass(Class<? extends ActionBean> clazz)
Provides the message with access to the class of the ActionBean that is bound to the current request. |
void |
setFieldName(String name)
Provides the message with access to the name of the field in which the error occurred. |
void |
setFieldValue(String value)
Provides the message with access to the value of the field in which the error occurred |
Methods inherited from interface net.sourceforge.stripes.action.Message |
---|
getMessage |
Method Detail |
---|
void setFieldName(String name)
void setFieldValue(String value)
void setActionPath(String actionPath)
void setBeanclass(Class<? extends ActionBean> clazz)
String getFieldName()
String getFieldValue()
String getActionPath()
Class<? extends ActionBean> getBeanclass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |