    1   /*
    2    * Copyright 2004-2009 the Seasar Foundation and the Others.
    3    *
    4    * Licensed under the Apache License, Version 2.0 (the "License");
    5    * you may not use this file except in compliance with the License.
    6    * You may obtain a copy of the License at
    7    *
    8    *     http://www.apache.org/licenses/LICENSE-2.0
    9    *
    10   * Unless required by applicable law or agreed to in writing, software
    11   * distributed under the License is distributed on an "AS IS" BASIS,
    12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
    13   * either express or implied. See the License for the specific language
    14   * governing permissions and limitations under the License.
    15   */
    16  package org.seasar.cubby.tags;
    17
    18  import java.util.Date;
    19
    20  public class FormDto {
    21  	private String stringField;
    22  	private Integer integerField;
    23  	private Integer[] integerArrayField;
    24  	private Boolean booleanField;
    25  	private Date dateField;
    26  	public String getStringField() {
    27  		return stringField;
    28  	}
    29  	public void setStringField(String stringField) {
    30  		this.stringField = stringField;
    31  	}
    32  	public Integer getIntegerField() {
    33  		return integerField;
    34  	}
    35  	public void setIntegerField(Integer integerField) {
    36  		this.integerField = integerField;
    37  	}
    38  	public Boolean getBooleanField() {
    39  		return booleanField;
    40  	}
    41  	public void setBooleanField(Boolean booleanField) {
    42  		this.booleanField = booleanField;
    43  	}
    44  	public Integer[] getIntegerArrayField() {
    45  		return integerArrayField == null ? null : integerArrayField.clone();
    46  	}
    47  	public void setIntegerArrayField(Integer[] integerArrayField) {
    48  		this.integerArrayField = integerArrayField == null ? null : integerArrayField.clone();
    49  	}
    50  	public Date getDateField() {
    51  		return dateField;
    52  	}
    53  	public void setDateField(Date dateField) {
    54  		this.dateField = dateField;
    55  	}
    56  }