org.hibernate.tutorial.domain
Class Person
java.lang.Object
org.hibernate.tutorial.domain.Person
public class Person
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Person
public Person()
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