wicket.contrib.phonebook
Class Contact

java.lang.Object
  extended by wicket.contrib.phonebook.Contact
All Implemented Interfaces:
Serializable

public class Contact
extends Object
implements Serializable

Contact details. This is the business object that we persist to the DB.

Author:
igor
See Also:
Serialized Form

Constructor Summary
Contact()
           
 
Method Summary
 String getEmail()
           
 String getFirstname()
           
 String getFullName()
           
 long getId()
           
 String getLastname()
           
 String getPhone()
           
 void setEmail(String email)
           
 void setFirstname(String firstname)
           
 void setId(long id)
          This is required for iBatis, but not for Hibernate
 void setLastname(String lastname)
           
 void setPhone(String phone)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Contact

public Contact()
Method Detail

getId

public long getId()

setId

public void setId(long id)
This is required for iBatis, but not for Hibernate

Parameters:
id -

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getFirstname

public String getFirstname()

setFirstname

public void setFirstname(String firstname)

getLastname

public String getLastname()

setLastname

public void setLastname(String lastname)

getPhone

public String getPhone()

setPhone

public void setPhone(String phone)

getFullName

public String getFullName()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2012 Wicket developers. All Rights Reserved.