org.apache.cocoon.woody.samples
Class Form2Bean

java.lang.Object
  extended by org.apache.cocoon.woody.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 $

Constructor Summary
Form2Bean()
           
 
Method Summary
 void addContact(Contact contact)
           
 void addDrink(String drink)
           
 int getaNumber()
           
 Date getBirthday()
           
 Collection getContacts()
           
 Collection getDrinks()
           
 String getEmail()
           
 String getIpAddress()
           
 String getPhoneCountry()
           
 String getPhoneNumber()
           
 String getPhoneZone()
           
 Sex getSex()
           
 boolean isChoose()
           
 void setaNumber(int aNumber)
           
 void setBirthday(Date birthday)
           
 void setChoose(boolean choose)
           
 void setContacts(Collection contacts)
           
 void setDrinks(Collection drinks)
           
 void setEmail(String email)
           
 void setIpAddress(String ipAddress)
           
 void setPhoneCountry(String phoneCountry)
           
 void setPhoneNumber(String phoneNumber)
           
 void setPhoneZone(String phoneZone)
           
 void setSex(Sex sex)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Form2Bean

public Form2Bean()
Method Detail

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)

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.