|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidatorDescription
ValidatorDescription
Method Summary | |
---|---|
String |
asXml()
Returns the validator XML definition. |
String |
getFieldName()
Returns the field name to create the validation rule for. |
boolean |
isSimpleValidator()
|
void |
setKey(String key)
Sets the I18N message key. |
void |
setMessage(String message)
Sets the default validator failure message. |
void |
setShortCircuit(boolean shortCircuit)
Set the shortCircuit flag. |
Method Detail |
---|
String asXml()
String getFieldName()
void setKey(String key)
key
- the I18N message keyvoid setMessage(String message)
message
- the default validator failure messagevoid setShortCircuit(boolean shortCircuit)
shortCircuit
- the shortCircuit flag.boolean isSimpleValidator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |