public class Recipient extends Object implements Serializable
All members of this class are allowed to be null
.
If both, the person and the organization, are defined, the person is expected to be a member of the specified organization.
Constructor and Description |
---|
Recipient()
Constructs a recipient.
|
Recipient(Organization organization,
Person person)
Deprecated.
please use
Recipient(Organization, Person, Telecom) instead. |
Recipient(Organization organization,
Person person,
Telecom telecom)
Constructs a recipient.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Organization |
getOrganization() |
Person |
getPerson() |
Telecom |
getTelecom() |
int |
hashCode() |
void |
setOrganization(Organization organization) |
void |
setPerson(Person person) |
void |
setTelecom(Telecom telecom) |
String |
toString() |
public Recipient()
@Deprecated public Recipient(Organization organization, Person person)
Recipient(Organization, Person, Telecom)
instead.organization
- the organization.person
- the person.public Recipient(Organization organization, Person person, Telecom telecom)
organization
- the organization.person
- the person.telecom
- telecommunication address.@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public Person getPerson()
@Generated(value="lombok") public void setPerson(Person person)
@Generated(value="lombok") public Organization getOrganization()
@Generated(value="lombok") public void setOrganization(Organization organization)
@Generated(value="lombok") public Telecom getTelecom()
@Generated(value="lombok") public void setTelecom(Telecom telecom)
Copyright © 2018 Open eHealth Foundation. All rights reserved.