Methods Summary |
---|
public void | addToEvent(Event event)
this.getEvents().add(event);
event.getParticipants().add(this);
|
public int | getAge()
return age;
|
public java.util.Set | getEmailAddresses()
return emailAddresses;
|
protected java.util.Set | getEvents()
// Defensive, convenience methods
return events;
|
public java.lang.String | getFirstname()
return firstname;
|
public java.lang.Long | getId()
return id;
|
public java.lang.String | getLastname()
return lastname;
|
public void | removeFromEvent(Event event)
this.getEvents().remove(event);
event.getParticipants().remove(this);
|
public void | setAge(int age)
this.age = age;
|
public void | setEmailAddresses(java.util.Set emailAddresses)
this.emailAddresses = emailAddresses;
|
protected void | setEvents(java.util.Set events)
this.events = events;
|
public void | setFirstname(java.lang.String firstname)
this.firstname = firstname;
|
public void | setId(java.lang.Long id)
this.id = id;
|
public void | setLastname(java.lang.String lastname)
this.lastname = lastname;
|