Class EvidenceVariableHandling.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.model.builder.AbstractBuilder<Element>
-
- org.linuxforhealth.fhir.model.type.Element.Builder
-
- org.linuxforhealth.fhir.model.type.String.Builder
-
- org.linuxforhealth.fhir.model.type.Code.Builder
-
- org.linuxforhealth.fhir.model.type.code.EvidenceVariableHandling.Builder
-
- Enclosing class:
- EvidenceVariableHandling
public static class EvidenceVariableHandling.Builder extends Code.Builder
-
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.String.Builder
value
-
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 EvidenceVariableHandling
build()
Build theCode
EvidenceVariableHandling.Builder
extension(java.util.Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the resource.EvidenceVariableHandling.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the resource.protected EvidenceVariableHandling.Builder
from(EvidenceVariableHandling evidenceVariableHandling)
EvidenceVariableHandling.Builder
id(java.lang.String id)
unique id for the element within a resource (for internal references)protected void
validate(EvidenceVariableHandling evidenceVariableHandling)
EvidenceVariableHandling.Builder
value(java.lang.String value)
Primitive value for codeEvidenceVariableHandling.Builder
value(EvidenceVariableHandling.Value value)
Primitive value for code-
Methods inherited from class org.linuxforhealth.fhir.model.type.Code.Builder
from, validate
-
Methods inherited from class org.linuxforhealth.fhir.model.type.String.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 EvidenceVariableHandling.Builder id(java.lang.String id)
Description copied from class:Code.Builder
unique id for the element within a resource (for internal references)- Overrides:
id
in classCode.Builder
- Parameters:
id
- xml:id (or equivalent in JSON)- Returns:
- A reference to this Builder instance
-
extension
public EvidenceVariableHandling.Builder extension(Extension... extension)
Description copied from class:Code.Builder
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.Adds new element(s) to the existing list. If any of the elements are null, calling
Code.Builder.build()
will fail.- Overrides:
extension
in classCode.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public EvidenceVariableHandling.Builder extension(java.util.Collection<Extension> extension)
Description copied from class:Code.Builder
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.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
Code.Builder.build()
will fail.- Overrides:
extension
in classCode.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
value
public EvidenceVariableHandling.Builder value(java.lang.String value)
Description copied from class:Code.Builder
Primitive value for code- Overrides:
value
in classCode.Builder
- Parameters:
value
- Primitive value for code- Returns:
- A reference to this Builder instance
-
value
public EvidenceVariableHandling.Builder value(EvidenceVariableHandling.Value value)
Primitive value for code- Parameters:
value
- An enum constant for EvidenceVariableHandling- Returns:
- A reference to this Builder instance
-
build
public EvidenceVariableHandling build()
Description copied from class:Code.Builder
Build theCode
-
validate
protected void validate(EvidenceVariableHandling evidenceVariableHandling)
-
from
protected EvidenceVariableHandling.Builder from(EvidenceVariableHandling evidenceVariableHandling)
-
-