public static class RelatedArtifact.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<RelatedArtifact> implements org.apache.avro.data.RecordBuilder<RelatedArtifact>
Modifier and Type | Method and Description |
---|---|
RelatedArtifact |
build() |
RelatedArtifact.Builder |
clearCitation()
Clears the value of the 'citation' field.
|
RelatedArtifact.Builder |
clearDisplay()
Clears the value of the 'display' field.
|
RelatedArtifact.Builder |
clearDocument()
Clears the value of the 'document' field.
|
RelatedArtifact.Builder |
clearId()
Clears the value of the 'id' field.
|
RelatedArtifact.Builder |
clearResource()
Clears the value of the 'resource' field.
|
RelatedArtifact.Builder |
clearType()
Clears the value of the 'type' field.
|
RelatedArtifact.Builder |
clearUrl()
Clears the value of the 'url' field.
|
String |
getCitation()
Gets the value of the 'citation' field.
|
String |
getDisplay()
Gets the value of the 'display' field.
|
Attachment |
getDocument()
Gets the value of the 'document' field.
|
Attachment.Builder |
getDocumentBuilder()
Gets the Builder instance for the 'document' field and creates one if it doesn't exist yet.
|
String |
getId()
Gets the value of the 'id' field.
|
ResourceReference |
getResource()
Gets the value of the 'resource' field.
|
ResourceReference.Builder |
getResourceBuilder()
Gets the Builder instance for the 'resource' field and creates one if it doesn't exist yet.
|
String |
getType()
Gets the value of the 'type' field.
|
String |
getUrl()
Gets the value of the 'url' field.
|
boolean |
hasCitation()
Checks whether the 'citation' field has been set.
|
boolean |
hasDisplay()
Checks whether the 'display' field has been set.
|
boolean |
hasDocument()
Checks whether the 'document' field has been set.
|
boolean |
hasDocumentBuilder()
Checks whether the 'document' field has an active Builder instance
Field for FHIR property document
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasResource()
Checks whether the 'resource' field has been set.
|
boolean |
hasResourceBuilder()
Checks whether the 'resource' field has an active Builder instance
Field for FHIR property resource
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
boolean |
hasUrl()
Checks whether the 'url' field has been set.
|
RelatedArtifact.Builder |
setCitation(String value)
Sets the value of the 'citation' field.
|
RelatedArtifact.Builder |
setDisplay(String value)
Sets the value of the 'display' field.
|
RelatedArtifact.Builder |
setDocument(Attachment value)
Sets the value of the 'document' field.
|
RelatedArtifact.Builder |
setDocumentBuilder(Attachment.Builder value)
Sets the Builder instance for the 'document' field
Field for FHIR property document
|
RelatedArtifact.Builder |
setId(String value)
Sets the value of the 'id' field.
|
RelatedArtifact.Builder |
setResource(ResourceReference value)
Sets the value of the 'resource' field.
|
RelatedArtifact.Builder |
setResourceBuilder(ResourceReference.Builder value)
Sets the Builder instance for the 'resource' field
Field for FHIR property resource
|
RelatedArtifact.Builder |
setType(String value)
Sets the value of the 'type' field.
|
RelatedArtifact.Builder |
setUrl(String value)
Sets the value of the 'url' field.
|
public String getId()
public RelatedArtifact.Builder setId(String value)
value
- The value of 'id'.public boolean hasId()
public RelatedArtifact.Builder clearId()
public String getType()
public RelatedArtifact.Builder setType(String value)
value
- The value of 'type'.public boolean hasType()
public RelatedArtifact.Builder clearType()
public String getDisplay()
public RelatedArtifact.Builder setDisplay(String value)
value
- The value of 'display'.public boolean hasDisplay()
public RelatedArtifact.Builder clearDisplay()
public String getCitation()
public RelatedArtifact.Builder setCitation(String value)
value
- The value of 'citation'.public boolean hasCitation()
public RelatedArtifact.Builder clearCitation()
public String getUrl()
public RelatedArtifact.Builder setUrl(String value)
value
- The value of 'url'.public boolean hasUrl()
public RelatedArtifact.Builder clearUrl()
public Attachment getDocument()
public RelatedArtifact.Builder setDocument(Attachment value)
value
- The value of 'document'.public boolean hasDocument()
public Attachment.Builder getDocumentBuilder()
public RelatedArtifact.Builder setDocumentBuilder(Attachment.Builder value)
value
- The builder instance that must be set.public boolean hasDocumentBuilder()
public RelatedArtifact.Builder clearDocument()
public ResourceReference getResource()
public RelatedArtifact.Builder setResource(ResourceReference value)
value
- The value of 'resource'.public boolean hasResource()
public ResourceReference.Builder getResourceBuilder()
public RelatedArtifact.Builder setResourceBuilder(ResourceReference.Builder value)
value
- The builder instance that must be set.public boolean hasResourceBuilder()
public RelatedArtifact.Builder clearResource()
public RelatedArtifact build()
build
in interface org.apache.avro.data.RecordBuilder<RelatedArtifact>
Copyright © 2020. All rights reserved.