Class Recipient
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.xds.core.metadata.Recipient
-
- All Implemented Interfaces:
Serializable
public class Recipient extends Object implements Serializable
Represents a recipient containing a person and/or organization and/or telecommunication address.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.
- Author:
- Jens Riemschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Recipient()
Constructs a recipient.Recipient(Organization organization, Person person, Telecom telecom)
Constructs a recipient.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
Recipient
public Recipient()
Constructs a recipient.
-
Recipient
public Recipient(Organization organization, Person person, Telecom telecom)
Constructs a recipient.- Parameters:
organization
- the organization.person
- the person.telecom
- telecommunication address.
-
-
Method Detail
-
canEqual
protected boolean canEqual(Object other)
-
getPerson
public Person getPerson()
-
setPerson
public void setPerson(Person person)
-
getOrganization
public Organization getOrganization()
-
setOrganization
public void setOrganization(Organization organization)
-
getTelecom
public Telecom getTelecom()
-
setTelecom
public void setTelecom(Telecom telecom)
-
-