public class PatientCommunication extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Patient.Communication complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Patient.Communication">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="language" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="preferred" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
language |
protected Boolean |
preferred |
modifierExtension| Constructor and Description |
|---|
PatientCommunication() |
| 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) |
CodeableConcept |
getLanguage()
Gets the value of the language property.
|
Boolean |
getPreferred()
Gets the value of the preferred property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setLanguage(CodeableConcept value)
Sets the value of the language property.
|
void |
setPreferred(Boolean value)
Sets the value of the preferred property.
|
java.lang.String |
toString() |
PatientCommunication |
withExtension(java.util.Collection<Extension> values) |
PatientCommunication |
withExtension(Extension... values) |
PatientCommunication |
withId(java.lang.String value) |
PatientCommunication |
withLanguage(CodeableConcept value) |
PatientCommunication |
withModifierExtension(java.util.Collection<Extension> values) |
PatientCommunication |
withModifierExtension(Extension... values) |
PatientCommunication |
withPreferred(Boolean value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept language
protected Boolean preferred
public CodeableConcept getLanguage()
CodeableConceptpublic void setLanguage(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Boolean getPreferred()
Booleanpublic void setPreferred(Boolean value)
value - allowed object is
Booleanpublic PatientCommunication withLanguage(CodeableConcept value)
public PatientCommunication withPreferred(Boolean value)
public PatientCommunication withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic PatientCommunication withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic PatientCommunication withExtension(Extension... values)
withExtension in class BackboneElementpublic PatientCommunication withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic PatientCommunication 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