Class Citation.CitedArtifact.PublicationForm.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.model.builder.AbstractBuilder<Element>
-
- org.linuxforhealth.fhir.model.type.Element.Builder
-
- org.linuxforhealth.fhir.model.type.BackboneElement.Builder
-
- org.linuxforhealth.fhir.model.resource.Citation.CitedArtifact.PublicationForm.Builder
-
- Enclosing class:
- Citation.CitedArtifact.PublicationForm
public static class Citation.CitedArtifact.PublicationForm.Builder extends BackboneElement.Builder
-
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement.Builder
modifierExtension
-
Fields inherited from class org.linuxforhealth.fhir.model.type.Element.Builder
extension, id
-
Fields inherited from class org.linuxforhealth.fhir.model.builder.AbstractBuilder
validating
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Citation.CitedArtifact.PublicationForm.Builder
accessionNumber(java.lang.String accessionNumber)
Convenience method for settingaccessionNumber
.Citation.CitedArtifact.PublicationForm.Builder
accessionNumber(String accessionNumber)
Entry number or identifier for inclusion in a database.Citation.CitedArtifact.PublicationForm.Builder
articleDate(DateTime articleDate)
The date the article was added to the database, or the date the article was released (which may differ from the journal issue publication date).Citation.CitedArtifact.PublicationForm
build()
Build theCitation.CitedArtifact.PublicationForm
Citation.CitedArtifact.PublicationForm.Builder
copyright(Markdown copyright)
Copyright notice for the full article or artifact.Citation.CitedArtifact.PublicationForm.Builder
extension(java.util.Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element.Citation.CitedArtifact.PublicationForm.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element.Citation.CitedArtifact.PublicationForm.Builder
firstPage(java.lang.String firstPage)
Convenience method for settingfirstPage
.Citation.CitedArtifact.PublicationForm.Builder
firstPage(String firstPage)
Used for isolated representation of first page.protected Citation.CitedArtifact.PublicationForm.Builder
from(Citation.CitedArtifact.PublicationForm publicationForm)
Citation.CitedArtifact.PublicationForm.Builder
id(java.lang.String id)
Unique id for the element within a resource (for internal references).Citation.CitedArtifact.PublicationForm.Builder
language(java.util.Collection<CodeableConcept> language)
Language in which this form of the article is published.Citation.CitedArtifact.PublicationForm.Builder
language(CodeableConcept... language)
Language in which this form of the article is published.Citation.CitedArtifact.PublicationForm.Builder
lastPage(java.lang.String lastPage)
Convenience method for settinglastPage
.Citation.CitedArtifact.PublicationForm.Builder
lastPage(String lastPage)
Used for isolated representation of last page.Citation.CitedArtifact.PublicationForm.Builder
lastRevisionDate(DateTime lastRevisionDate)
The date the article was last revised or updated in the database.Citation.CitedArtifact.PublicationForm.Builder
modifierExtension(java.util.Collection<Extension> modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.Citation.CitedArtifact.PublicationForm.Builder
modifierExtension(Extension... modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.Citation.CitedArtifact.PublicationForm.Builder
pageCount(java.lang.String pageCount)
Convenience method for settingpageCount
.Citation.CitedArtifact.PublicationForm.Builder
pageCount(String pageCount)
Actual or approximate number of pages or screens.Citation.CitedArtifact.PublicationForm.Builder
pageString(java.lang.String pageString)
Convenience method for settingpageString
.Citation.CitedArtifact.PublicationForm.Builder
pageString(String pageString)
Used for full display of pagination.Citation.CitedArtifact.PublicationForm.Builder
periodicRelease(Citation.CitedArtifact.PublicationForm.PeriodicRelease periodicRelease)
The specific issue in which the cited article resides.Citation.CitedArtifact.PublicationForm.Builder
publishedIn(Citation.CitedArtifact.PublicationForm.PublishedIn publishedIn)
The collection the cited article or artifact is published in.protected void
validate(Citation.CitedArtifact.PublicationForm publicationForm)
-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement.Builder
from, validate
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element.Builder
from, validate
-
Methods inherited from class org.linuxforhealth.fhir.model.builder.AbstractBuilder
isValidating, setValidating
-
-
-
-
Method Detail
-
id
public Citation.CitedArtifact.PublicationForm.Builder id(java.lang.String id)
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.- Overrides:
id
in classBackboneElement.Builder
- Parameters:
id
- Unique id for inter-element referencing- Returns:
- A reference to this Builder instance
-
extension
public Citation.CitedArtifact.PublicationForm.Builder extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Adds new element(s) to the existing list. If any of the elements are null, calling
build()
will fail.- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public Citation.CitedArtifact.PublicationForm.Builder extension(java.util.Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()
will fail.- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
- Throws:
java.lang.NullPointerException
- If the passed collection is null
-
modifierExtension
public Citation.CitedArtifact.PublicationForm.Builder modifierExtension(Extension... modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Adds new element(s) to the existing list. If any of the elements are null, calling
build()
will fail.- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public Citation.CitedArtifact.PublicationForm.Builder modifierExtension(java.util.Collection<Extension> modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()
will fail.- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
- Throws:
java.lang.NullPointerException
- If the passed collection is null
-
publishedIn
public Citation.CitedArtifact.PublicationForm.Builder publishedIn(Citation.CitedArtifact.PublicationForm.PublishedIn publishedIn)
The collection the cited article or artifact is published in.- Parameters:
publishedIn
- The collection the cited article or artifact is published in- Returns:
- A reference to this Builder instance
-
periodicRelease
public Citation.CitedArtifact.PublicationForm.Builder periodicRelease(Citation.CitedArtifact.PublicationForm.PeriodicRelease periodicRelease)
The specific issue in which the cited article resides.- Parameters:
periodicRelease
- The specific issue in which the cited article resides- Returns:
- A reference to this Builder instance
-
articleDate
public Citation.CitedArtifact.PublicationForm.Builder articleDate(DateTime articleDate)
The date the article was added to the database, or the date the article was released (which may differ from the journal issue publication date).- Parameters:
articleDate
- The date the article was added to the database, or the date the article was released- Returns:
- A reference to this Builder instance
-
lastRevisionDate
public Citation.CitedArtifact.PublicationForm.Builder lastRevisionDate(DateTime lastRevisionDate)
The date the article was last revised or updated in the database.- Parameters:
lastRevisionDate
- The date the article was last revised or updated in the database- Returns:
- A reference to this Builder instance
-
language
public Citation.CitedArtifact.PublicationForm.Builder language(CodeableConcept... language)
Language in which this form of the article is published.Adds new element(s) to the existing list. If any of the elements are null, calling
build()
will fail.- Parameters:
language
- Language in which this form of the article is published- Returns:
- A reference to this Builder instance
-
language
public Citation.CitedArtifact.PublicationForm.Builder language(java.util.Collection<CodeableConcept> language)
Language in which this form of the article is published.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()
will fail.- Parameters:
language
- Language in which this form of the article is published- Returns:
- A reference to this Builder instance
- Throws:
java.lang.NullPointerException
- If the passed collection is null
-
accessionNumber
public Citation.CitedArtifact.PublicationForm.Builder accessionNumber(java.lang.String accessionNumber)
Convenience method for settingaccessionNumber
.- Parameters:
accessionNumber
- Entry number or identifier for inclusion in a database- Returns:
- A reference to this Builder instance
- See Also:
accessionNumber(org.linuxforhealth.fhir.model.type.String)
-
accessionNumber
public Citation.CitedArtifact.PublicationForm.Builder accessionNumber(String accessionNumber)
Entry number or identifier for inclusion in a database.- Parameters:
accessionNumber
- Entry number or identifier for inclusion in a database- Returns:
- A reference to this Builder instance
-
pageString
public Citation.CitedArtifact.PublicationForm.Builder pageString(java.lang.String pageString)
Convenience method for settingpageString
.- Parameters:
pageString
- Used for full display of pagination- Returns:
- A reference to this Builder instance
- See Also:
pageString(org.linuxforhealth.fhir.model.type.String)
-
pageString
public Citation.CitedArtifact.PublicationForm.Builder pageString(String pageString)
Used for full display of pagination.- Parameters:
pageString
- Used for full display of pagination- Returns:
- A reference to this Builder instance
-
firstPage
public Citation.CitedArtifact.PublicationForm.Builder firstPage(java.lang.String firstPage)
Convenience method for settingfirstPage
.- Parameters:
firstPage
- Used for isolated representation of first page- Returns:
- A reference to this Builder instance
- See Also:
firstPage(org.linuxforhealth.fhir.model.type.String)
-
firstPage
public Citation.CitedArtifact.PublicationForm.Builder firstPage(String firstPage)
Used for isolated representation of first page.- Parameters:
firstPage
- Used for isolated representation of first page- Returns:
- A reference to this Builder instance
-
lastPage
public Citation.CitedArtifact.PublicationForm.Builder lastPage(java.lang.String lastPage)
Convenience method for settinglastPage
.- Parameters:
lastPage
- Used for isolated representation of last page- Returns:
- A reference to this Builder instance
- See Also:
lastPage(org.linuxforhealth.fhir.model.type.String)
-
lastPage
public Citation.CitedArtifact.PublicationForm.Builder lastPage(String lastPage)
Used for isolated representation of last page.- Parameters:
lastPage
- Used for isolated representation of last page- Returns:
- A reference to this Builder instance
-
pageCount
public Citation.CitedArtifact.PublicationForm.Builder pageCount(java.lang.String pageCount)
Convenience method for settingpageCount
.- Parameters:
pageCount
- Number of pages or screens- Returns:
- A reference to this Builder instance
- See Also:
pageCount(org.linuxforhealth.fhir.model.type.String)
-
pageCount
public Citation.CitedArtifact.PublicationForm.Builder pageCount(String pageCount)
Actual or approximate number of pages or screens.- Parameters:
pageCount
- Number of pages or screens- Returns:
- A reference to this Builder instance
-
copyright
public Citation.CitedArtifact.PublicationForm.Builder copyright(Markdown copyright)
Copyright notice for the full article or artifact.- Parameters:
copyright
- Copyright notice for the full article or artifact- Returns:
- A reference to this Builder instance
-
build
public Citation.CitedArtifact.PublicationForm build()
Build theCitation.CitedArtifact.PublicationForm
- Specified by:
build
in interfaceBuilder<Element>
- Specified by:
build
in classBackboneElement.Builder
- Returns:
- An immutable object of type
Citation.CitedArtifact.PublicationForm
- Throws:
java.lang.IllegalStateException
- if the current state cannot be built into a valid PublicationForm per the base specification
-
validate
protected void validate(Citation.CitedArtifact.PublicationForm publicationForm)
-
from
protected Citation.CitedArtifact.PublicationForm.Builder from(Citation.CitedArtifact.PublicationForm publicationForm)
-
-