public class OrganizationContact extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Organization.Contact complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Organization.Contact">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="purpose" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}HumanName" minOccurs="0"/>
<element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
<element name="address" type="{http://hl7.org/fhir}Address" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address |
protected HumanName |
name |
protected CodeableConcept |
purpose |
protected java.util.List<ContactPoint> |
telecom |
modifierExtension| Constructor and Description |
|---|
OrganizationContact() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Address |
getAddress()
Gets the value of the address property.
|
HumanName |
getName()
Gets the value of the name property.
|
CodeableConcept |
getPurpose()
Gets the value of the purpose property.
|
java.util.List<ContactPoint> |
getTelecom()
Gets the value of the telecom property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAddress(Address value)
Sets the value of the address property.
|
void |
setName(HumanName value)
Sets the value of the name property.
|
void |
setPurpose(CodeableConcept value)
Sets the value of the purpose property.
|
java.lang.String |
toString() |
OrganizationContact |
withAddress(Address value) |
OrganizationContact |
withExtension(java.util.Collection<Extension> values) |
OrganizationContact |
withExtension(Extension... values) |
OrganizationContact |
withId(java.lang.String value) |
OrganizationContact |
withModifierExtension(java.util.Collection<Extension> values) |
OrganizationContact |
withModifierExtension(Extension... values) |
OrganizationContact |
withName(HumanName value) |
OrganizationContact |
withPurpose(CodeableConcept value) |
OrganizationContact |
withTelecom(java.util.Collection<ContactPoint> values) |
OrganizationContact |
withTelecom(ContactPoint... values) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept purpose
protected HumanName name
protected java.util.List<ContactPoint> telecom
protected Address address
public CodeableConcept getPurpose()
CodeableConceptpublic void setPurpose(CodeableConcept value)
value - allowed object is
CodeableConceptpublic HumanName getName()
HumanNamepublic void setName(HumanName value)
value - allowed object is
HumanNamepublic java.util.List<ContactPoint> getTelecom()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the telecom property.
For example, to add a new item, do as follows:
getTelecom().add(newItem);
Objects of the following type(s) are allowed in the list
ContactPoint
public Address getAddress()
Addresspublic void setAddress(Address value)
value - allowed object is
Addresspublic OrganizationContact withPurpose(CodeableConcept value)
public OrganizationContact withName(HumanName value)
public OrganizationContact withTelecom(ContactPoint... values)
public OrganizationContact withTelecom(java.util.Collection<ContactPoint> values)
public OrganizationContact withAddress(Address value)
public OrganizationContact withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic OrganizationContact withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic OrganizationContact withExtension(Extension... values)
withExtension in class BackboneElementpublic OrganizationContact withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic OrganizationContact withId(java.lang.String value)
withId in class BackboneElementpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement