Class MetaBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.MetaBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,MetaBuilder
- Enclosing interface:
- MetaBuilder
public static class MetaBuilder.Impl extends java.lang.Object implements MetaBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.MetaBuilder
MetaBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forMeta
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.Metabuild()MetaBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)MetaBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)MetaBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)MetaBuilder.ImplwithId(@NonNull java.lang.String id)MetaBuilder.ImplwithLastUpdated(@NonNull java.time.ZonedDateTime lastUpdated)MetaBuilder.ImplwithProfile(@NonNull java.lang.String... profile)MetaBuilder.ImplwithProfile(@NonNull java.util.Collection<java.lang.String> profile)MetaBuilder.ImplwithSecurity(@NonNull CodingBuilder... security)MetaBuilder.ImplwithSecurity(@NonNull com.babylonhealth.lit.core.model.Coding... security)MetaBuilder.ImplwithSecurity(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Coding> security)MetaBuilder.ImplwithSource(@NonNull java.lang.String source)MetaBuilder.ImplwithTag(@NonNull CodingBuilder... tag)MetaBuilder.ImplwithTag(@NonNull com.babylonhealth.lit.core.model.Coding... tag)MetaBuilder.ImplwithTag(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Coding> tag)MetaBuilder.ImplwithVersionId(@NonNull java.lang.String versionId)
-
-
-
Method Detail
-
withId
public MetaBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withTag
public MetaBuilder.Impl withTag(@NonNull @NonNull com.babylonhealth.lit.core.model.Coding... tag)
- Parameters:
tag- - Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
-
withTag
public MetaBuilder.Impl withTag(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Coding> tag)
- Parameters:
tag- - Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
-
withTag
public MetaBuilder.Impl withTag(@NonNull @NonNull CodingBuilder... tag)
-
withSource
public MetaBuilder.Impl withSource(@NonNull @NonNull java.lang.String source)
- Parameters:
source- - A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.
-
withProfile
public MetaBuilder.Impl withProfile(@NonNull @NonNull java.lang.String... profile)
- Parameters:
profile- - A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
-
withProfile
public MetaBuilder.Impl withProfile(@NonNull @NonNull java.util.Collection<java.lang.String> profile)
- Parameters:
profile- - A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
-
withSecurity
public MetaBuilder.Impl withSecurity(@NonNull @NonNull com.babylonhealth.lit.core.model.Coding... security)
- Parameters:
security- - Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
-
withSecurity
public MetaBuilder.Impl withSecurity(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Coding> security)
- Parameters:
security- - Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
-
withSecurity
public MetaBuilder.Impl withSecurity(@NonNull @NonNull CodingBuilder... security)
-
withExtension
public MetaBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
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.
-
withExtension
public MetaBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
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.
-
withExtension
public MetaBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
withVersionId
public MetaBuilder.Impl withVersionId(@NonNull @NonNull java.lang.String versionId)
- Parameters:
versionId- - The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.
-
withLastUpdated
public MetaBuilder.Impl withLastUpdated(@NonNull @NonNull java.time.ZonedDateTime lastUpdated)
- Parameters:
lastUpdated- - When the resource last changed - e.g. when the version changed.
-
build
public com.babylonhealth.lit.core.model.Meta build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceMetaBuilder
-
-