Expresso 5-6

com.jcorporate.expresso.core.controller
Class ValidationItem

java.lang.Object
  extended bycom.jcorporate.expresso.core.controller.ValidationItem

public class ValidationItem
extends Object

A ValidationItem encapsulates a single item to be validated, typically an input collected from a web page submission.

Creation date: (7/19/00 3:30:40 PM)

Author:
Adam Rossi, PlatinumSolutions

Constructor Summary
ValidationItem(String newFieldName, boolean newIsRequired)
          ValidationItem constructor comment.
ValidationItem(String newFieldName, boolean newIsRequired, String newCheckClassName)
          ValidationItem constructor comment.
ValidationItem(String newFieldName, String newFriendlyFieldName, boolean newIsRequired, String newCheckClassName)
          ValidationItem constructor comment.
ValidationItem(String newFieldName, String newFriendlyFieldName, String newDbFieldName, boolean newIsRequired, String newCheckClassName)
          ValidationItem constructor comment.
 
Method Summary
 void checkThisItem()
          Creation date: (7/19/00 5:42:08 PM)
 String getCheckClassName()
          Creation date: (7/19/00 3:39:59 PM)
 String getDbFieldName()
          Creation date: (7/19/00 5:36:16 PM)
 String getFieldName()
          Creation date: (7/19/00 3:36:25 PM)
 String getFriendlyFieldName()
          Creation date: (7/19/00 3:57:23 PM)
 boolean isRequired()
          Creation date: (7/19/00 3:37:33 PM)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationItem

public ValidationItem(String newFieldName,
                      String newFriendlyFieldName,
                      String newDbFieldName,
                      boolean newIsRequired,
                      String newCheckClassName)
ValidationItem constructor comment.


ValidationItem

public ValidationItem(String newFieldName,
                      String newFriendlyFieldName,
                      boolean newIsRequired,
                      String newCheckClassName)
ValidationItem constructor comment.


ValidationItem

public ValidationItem(String newFieldName,
                      boolean newIsRequired)
ValidationItem constructor comment.


ValidationItem

public ValidationItem(String newFieldName,
                      boolean newIsRequired,
                      String newCheckClassName)
ValidationItem constructor comment.

Method Detail

checkThisItem

public void checkThisItem()
                   throws ValidationException
Creation date: (7/19/00 5:42:08 PM)

Throws:
com.jcorporate.expresso.core.controller.ValidationError - The exception description.
ValidationException

getCheckClassName

public String getCheckClassName()
Creation date: (7/19/00 3:39:59 PM)

Returns:
java.lang.String

getDbFieldName

public String getDbFieldName()
Creation date: (7/19/00 5:36:16 PM)

Returns:
java.lang.String

getFieldName

public String getFieldName()
Creation date: (7/19/00 3:36:25 PM)

Returns:
java.lang.String

getFriendlyFieldName

public String getFriendlyFieldName()
Creation date: (7/19/00 3:57:23 PM)

Returns:
java.lang.String

isRequired

public boolean isRequired()
Creation date: (7/19/00 3:37:33 PM)

Returns:
boolean

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.