org.apache.cocoon.forms.samples
Class Form2Bean
java.lang.Object
org.apache.cocoon.forms.samples.Form2Bean
public class Form2Bean
- extends Object
Sample bean used in the form2 binding demo.
- Version:
- $Id: Form2Bean.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Form2Bean
public Form2Bean()
getSex
public Sex getSex()
- Returns:
- Returns the sex.
setSex
public void setSex(Sex sex)
- Parameters:
sex
- The sex to set.
getEmail
public String getEmail()
setEmail
public void setEmail(String email)
getPhoneCountry
public String getPhoneCountry()
setPhoneCountry
public void setPhoneCountry(String phoneCountry)
getPhoneZone
public String getPhoneZone()
setPhoneZone
public void setPhoneZone(String phoneZone)
getPhoneNumber
public String getPhoneNumber()
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
getIpAddress
public String getIpAddress()
setIpAddress
public void setIpAddress(String ipAddress)
getBirthday
public Date getBirthday()
setBirthday
public void setBirthday(Date birthday)
getaNumber
public int getaNumber()
setaNumber
public void setaNumber(int aNumber)
isChoose
public boolean isChoose()
setChoose
public void setChoose(boolean choose)
getEnable
public Boolean getEnable()
setEnable
public void setEnable(Boolean enable)
getDrinks
public Collection getDrinks()
setDrinks
public void setDrinks(Collection drinks)
addDrink
public void addDrink(String drink)
getContacts
public Collection getContacts()
setContacts
public void setContacts(Collection contacts)
addContact
public void addContact(Contact contact)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.