public static class PatientLink.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<PatientLink> implements org.apache.avro.data.RecordBuilder<PatientLink>
| Modifier and Type | Method and Description |
|---|---|
PatientLink |
build() |
PatientLink.Builder |
clearId()
Clears the value of the 'id' field.
|
PatientLink.Builder |
clearOther()
Clears the value of the 'other' field.
|
PatientLink.Builder |
clearType()
Clears the value of the 'type' field.
|
String |
getId()
Gets the value of the 'id' field.
|
PatientRelatedPersonReference |
getOther()
Gets the value of the 'other' field.
|
PatientRelatedPersonReference.Builder |
getOtherBuilder()
Gets the Builder instance for the 'other' field and creates one if it doesn't exist yet.
|
String |
getType()
Gets the value of the 'type' field.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasOther()
Checks whether the 'other' field has been set.
|
boolean |
hasOtherBuilder()
Checks whether the 'other' field has an active Builder instance
Field for FHIR property other
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
PatientLink.Builder |
setId(String value)
Sets the value of the 'id' field.
|
PatientLink.Builder |
setOther(PatientRelatedPersonReference value)
Sets the value of the 'other' field.
|
PatientLink.Builder |
setOtherBuilder(PatientRelatedPersonReference.Builder value)
Sets the Builder instance for the 'other' field
Field for FHIR property other
|
PatientLink.Builder |
setType(String value)
Sets the value of the 'type' field.
|
public String getId()
public PatientLink.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public PatientLink.Builder clearId()
public PatientRelatedPersonReference getOther()
public PatientLink.Builder setOther(PatientRelatedPersonReference value)
value - The value of 'other'.public boolean hasOther()
public PatientRelatedPersonReference.Builder getOtherBuilder()
public PatientLink.Builder setOtherBuilder(PatientRelatedPersonReference.Builder value)
value - The builder instance that must be set.public boolean hasOtherBuilder()
public PatientLink.Builder clearOther()
public String getType()
public PatientLink.Builder setType(String value)
value - The value of 'type'.public boolean hasType()
public PatientLink.Builder clearType()
public PatientLink build()
build in interface org.apache.avro.data.RecordBuilder<PatientLink>Copyright © 2020. All rights reserved.