FileDocCategorySizeDatePackage
FieldValidatorsExampleAction.javaAPI DocApache Struts 2.0.9 Apps3917Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.validation

FieldValidatorsExampleAction

public class FieldValidatorsExampleAction extends AbstractValidationActionSupport

Fields Summary
private static final long
serialVersionUID
private String
requiredValidatorField
private String
requiredStringValidatorField
private Integer
integerValidatorField
private Date
dateValidatorField
private String
emailValidatorField
private String
urlValidatorField
private String
stringLengthValidatorField
private String
regexValidatorField
private String
fieldExpressionValidatorField
Constructors Summary
Methods Summary
public java.sql.DategetDateValidatorField()




       
        return dateValidatorField;
    
public java.lang.StringgetEmailValidatorField()

        return emailValidatorField;
    
public java.lang.StringgetFieldExpressionValidatorField()

        return fieldExpressionValidatorField;
    
public java.lang.IntegergetIntegerValidatorField()

        return integerValidatorField;
    
public java.lang.StringgetRegexValidatorField()

        return regexValidatorField;
    
public java.lang.StringgetRequiredStringValidatorField()

        return requiredStringValidatorField;
    
public java.lang.StringgetRequiredValidatorField()

        return requiredValidatorField;
    
public java.lang.StringgetStringLengthValidatorField()

        return stringLengthValidatorField;
    
public java.lang.StringgetUrlValidatorField()

        return urlValidatorField;
    
public voidsetDateValidatorField(java.sql.Date dateValidatorField)

        this.dateValidatorField = dateValidatorField;
    
public voidsetEmailValidatorField(java.lang.String emailValidatorField)

        this.emailValidatorField = emailValidatorField;
    
public voidsetFieldExpressionValidatorField(java.lang.String fieldExpressionValidatorField)

        this.fieldExpressionValidatorField = fieldExpressionValidatorField;
    
public voidsetIntegerValidatorField(java.lang.Integer integerValidatorField)

        this.integerValidatorField = integerValidatorField;
    
public voidsetRegexValidatorField(java.lang.String regexValidatorField)

        this.regexValidatorField = regexValidatorField;
    
public voidsetRequiredStringValidatorField(java.lang.String requiredStringValidatorField)

        this.requiredStringValidatorField = requiredStringValidatorField;
    
public voidsetRequiredValidatorField(java.lang.String requiredValidatorField)

        this.requiredValidatorField = requiredValidatorField;
    
public voidsetStringLengthValidatorField(java.lang.String stringLengthValidatorField)

        this.stringLengthValidatorField = stringLengthValidatorField;
    
public voidsetUrlValidatorField(java.lang.String urlValidatorField)

        this.urlValidatorField = urlValidatorField;