org.hibernate.tutorial.domain
Class Person

java.lang.Object
  extended by org.hibernate.tutorial.domain.Person

public class Person
extends Object


Constructor Summary
Person()
           
 
Method Summary
 void addToEvent(Event event)
           
 int getAge()
           
 Set getEmailAddresses()
           
protected  Set getEvents()
           
 String getFirstname()
           
 Long getId()
           
 String getLastname()
           
 void removeFromEvent(Event event)
           
 void setAge(int age)
           
 void setEmailAddresses(Set emailAddresses)
           
protected  void setEvents(Set events)
           
 void setFirstname(String firstname)
           
 void setId(Long id)
           
 void setLastname(String lastname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getAge

public int getAge()

setAge

public void setAge(int age)

getFirstname

public String getFirstname()

setFirstname

public void setFirstname(String firstname)

getLastname

public String getLastname()

setLastname

public void setLastname(String lastname)

getEmailAddresses

public Set getEmailAddresses()

setEmailAddresses

public void setEmailAddresses(Set emailAddresses)

getEvents

protected Set getEvents()

setEvents

protected void setEvents(Set events)

addToEvent

public void addToEvent(Event event)

removeFromEvent

public void removeFromEvent(Event event)


Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved