Class ExampleScenario_InstanceBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.ExampleScenario_InstanceBuilder.Impl
-
- All Implemented Interfaces:
ExampleScenario_InstanceBuilder
- Enclosing interface:
- ExampleScenario_InstanceBuilder
public static class ExampleScenario_InstanceBuilder.Impl extends java.lang.Object implements ExampleScenario_InstanceBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.ExampleScenario_InstanceBuilder
ExampleScenario_InstanceBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(java.lang.String resourceId, com.babylonhealth.lit.hl7.RESOURCE_TYPES resourceType)Required fields forExampleScenario.Instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.ExampleScenario.Instancebuild()ExampleScenario_InstanceBuilder.ImplwithContainedInstance(@NonNull ExampleScenario_Instance_ContainedInstanceBuilder... containedInstance)ExampleScenario_InstanceBuilder.ImplwithContainedInstance(@NonNull com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$ContainedInstance... containedInstance)ExampleScenario_InstanceBuilder.ImplwithContainedInstance(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$ContainedInstance> containedInstance)ExampleScenario_InstanceBuilder.ImplwithDescription(@NonNull java.lang.String description)ExampleScenario_InstanceBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)ExampleScenario_InstanceBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ExampleScenario_InstanceBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ExampleScenario_InstanceBuilder.ImplwithId(@NonNull java.lang.String id)ExampleScenario_InstanceBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)ExampleScenario_InstanceBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)ExampleScenario_InstanceBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)ExampleScenario_InstanceBuilder.ImplwithName(@NonNull java.lang.String name)ExampleScenario_InstanceBuilder.ImplwithVersion(@NonNull ExampleScenario_Instance_VersionBuilder... version)ExampleScenario_InstanceBuilder.ImplwithVersion(@NonNull com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$Version... version)ExampleScenario_InstanceBuilder.ImplwithVersion(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$Version> version)
-
-
-
Method Detail
-
withId
public ExampleScenario_InstanceBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
-
withName
public ExampleScenario_InstanceBuilder.Impl withName(@NonNull @NonNull java.lang.String name)
- Parameters:
name- - A natural language name identifying the example scenario. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
withExtension
public ExampleScenario_InstanceBuilder.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 resource. 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 ExampleScenario_InstanceBuilder.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 resource. 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 ExampleScenario_InstanceBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withDescription
public ExampleScenario_InstanceBuilder.Impl withDescription(@NonNull @NonNull java.lang.String description)
- Parameters:
description-
-
withModifierExtension
public ExampleScenario_InstanceBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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).
-
withModifierExtension
public ExampleScenario_InstanceBuilder.Impl withModifierExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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).
-
withModifierExtension
public ExampleScenario_InstanceBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withVersion
public ExampleScenario_InstanceBuilder.Impl withVersion(@NonNull @NonNull com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$Version... version)
- Parameters:
version- - The identifier that is used to identify this version of the example scenario when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the example scenario author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
withVersion
public ExampleScenario_InstanceBuilder.Impl withVersion(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$Version> version)
- Parameters:
version- - The identifier that is used to identify this version of the example scenario when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the example scenario author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
withVersion
public ExampleScenario_InstanceBuilder.Impl withVersion(@NonNull @NonNull ExampleScenario_Instance_VersionBuilder... version)
-
withContainedInstance
public ExampleScenario_InstanceBuilder.Impl withContainedInstance(@NonNull @NonNull com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$ContainedInstance... containedInstance)
- Parameters:
containedInstance-
-
withContainedInstance
public ExampleScenario_InstanceBuilder.Impl withContainedInstance(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.ExampleScenario$Instance$ContainedInstance> containedInstance)
- Parameters:
containedInstance-
-
withContainedInstance
public ExampleScenario_InstanceBuilder.Impl withContainedInstance(@NonNull @NonNull ExampleScenario_Instance_ContainedInstanceBuilder... containedInstance)
-
build
public com.babylonhealth.lit.hl7.model.ExampleScenario.Instance build()
- Specified by:
buildin interfaceExampleScenario_InstanceBuilder
-
-