|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.perdues.db.typeHandlers.StringTypeHandler | +--com.perdues.db.typeHandlers.EmailTypeHandler
Type handler for the Email address type. This calls Validate.emailIsValid() to validate email addresses.
Constructor Summary | |
EmailTypeHandler()
|
Method Summary | |
void |
validate(ColumnInfo col,
Form form,
java.util.Hashtable errs)
Validates a Form field based on type information from the extended database schema. |
Methods inherited from class com.perdues.db.typeHandlers.StringTypeHandler |
renderForSQL, storeToForm, storeToForm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.perdues.db.DBTypeHandler |
renderForSQL, storeToForm, storeToForm |
Constructor Detail |
public EmailTypeHandler()
Method Detail |
public void validate(ColumnInfo col, Form form, java.util.Hashtable errs)
DBTypeHandler
TableInfo.validateRecord calls this for every column of the table so it can accommodate "virtual" form fields that don't map 1-to-1 onto columns.
validate
in interface DBTypeHandler
validate
in class StringTypeHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |