/*--- Copyright 2006-2007 Visual Systems Corporation. http://www.vscorp.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ---*/ package com.googlecode.wicketwebbeans.model.beanprops; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class BeanMetaDataTestBean2 implements Serializable { private static final long serialVersionUID = -8500883418534059147L; private enum Gender { Male, Female }; private String firstName; private String lastName; private Date startDate; private Integer age; private BigDecimal savingsAmount; private Gender gender; private Boolean selected; public BeanMetaDataTestBean2() { } public BeanMetaDataTestBean2(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } /** * Gets the age. * * @return a Integer. */ public Integer getAge() { return age; } /** * Sets age. * * @param age a Integer. */ public void setAge(Integer age) { this.age = age; } /** * Gets the firstName. * * @return a String. */ public String getFirstName() { return firstName; } /** * Sets firstName. * * @param firstName a String. */ public void setFirstName(String firstName) { this.firstName = firstName; } /** * Gets the lastName. * * @return a String. */ public String getLastName() { return lastName; } /** * Sets lastName. * * @param lastName a String. */ public void setLastName(String lastName) { this.lastName = lastName; } /** * Gets the savingsAmount. * * @return a BigDecimal. */ public BigDecimal getSavingsAmount() { return savingsAmount; } /** * Sets savingsAmount. * * @param savingsAmount a BigDecimal. */ public void setSavingsAmount(BigDecimal savingsAmount) { this.savingsAmount = savingsAmount; } /** * Gets the startDate. * * @return a Date. */ public Date getStartDate() { return startDate; } /** * Sets startDate. * * @param startDate a Date. */ public void setStartDate(Date startDate) { this.startDate = startDate; } /** * Gets the gender. * * @return a Gender. */ public Gender getGender() { return gender; } /** * Sets gender. * * @param gender a Gender. */ public void setGender(Gender gender) { this.gender = gender; } public Boolean getSelected() { return selected; } public void setSelected(Boolean selected) { this.selected = selected; } }