public class ContactPoint extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ContactPoint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContactPoint">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="system" type="{http://hl7.org/fhir}ContactPointSystem" minOccurs="0"/>
<element name="value" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="use" type="{http://hl7.org/fhir}ContactPointUse" minOccurs="0"/>
<element name="rank" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Period |
period |
protected PositiveInt |
rank |
protected ContactPointSystem |
system |
protected ContactPointUse |
use |
protected String |
value |
| Constructor and Description |
|---|
ContactPoint() |
| 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) |
Period |
getPeriod()
Gets the value of the period property.
|
PositiveInt |
getRank()
Gets the value of the rank property.
|
ContactPointSystem |
getSystem()
Gets the value of the system property.
|
ContactPointUse |
getUse()
Gets the value of the use property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setRank(PositiveInt value)
Sets the value of the rank property.
|
void |
setSystem(ContactPointSystem value)
Sets the value of the system property.
|
void |
setUse(ContactPointUse value)
Sets the value of the use property.
|
void |
setValue(String value)
Sets the value of the value property.
|
java.lang.String |
toString() |
ContactPoint |
withExtension(java.util.Collection<Extension> values) |
ContactPoint |
withExtension(Extension... values) |
ContactPoint |
withId(java.lang.String value) |
ContactPoint |
withPeriod(Period value) |
ContactPoint |
withRank(PositiveInt value) |
ContactPoint |
withSystem(ContactPointSystem value) |
ContactPoint |
withUse(ContactPointUse value) |
ContactPoint |
withValue(String value) |
getExtension, getId, setIdprotected ContactPointSystem system
protected String value
protected ContactPointUse use
protected PositiveInt rank
protected Period period
public ContactPointSystem getSystem()
ContactPointSystempublic void setSystem(ContactPointSystem value)
value - allowed object is
ContactPointSystempublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic ContactPointUse getUse()
ContactPointUsepublic void setUse(ContactPointUse value)
value - allowed object is
ContactPointUsepublic PositiveInt getRank()
PositiveIntpublic void setRank(PositiveInt value)
value - allowed object is
PositiveIntpublic Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic ContactPoint withSystem(ContactPointSystem value)
public ContactPoint withValue(String value)
public ContactPoint withUse(ContactPointUse value)
public ContactPoint withRank(PositiveInt value)
public ContactPoint withPeriod(Period value)
public ContactPoint withExtension(Extension... values)
withExtension in class Elementpublic ContactPoint withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic ContactPoint withId(java.lang.String value)
public 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)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public 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 Element