Class Contract.Term.Asset.Builder
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<Element>
-
- com.ibm.fhir.model.type.Element.Builder
-
- com.ibm.fhir.model.type.BackboneElement.Builder
-
- com.ibm.fhir.model.resource.Contract.Term.Asset.Builder
-
- Enclosing class:
- Contract.Term.Asset
public static class Contract.Term.Asset.Builder extends BackboneElement.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
modifierExtension
-
Fields inherited from class com.ibm.fhir.model.type.Element.Builder
extension, id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contract.Term.Asset.Builder
answer(Contract.Term.Offer.Answer... answer)
Response to assets.Contract.Term.Asset.Builder
answer(Collection<Contract.Term.Offer.Answer> answer)
Response to assets.Contract.Term.Asset
build()
Build theContract.Term.Asset
Contract.Term.Asset.Builder
condition(String condition)
Description of the quality and completeness of the asset that imay be a factor in its valuation.Contract.Term.Asset.Builder
context(Contract.Term.Asset.Context... context)
Circumstance of the asset.Contract.Term.Asset.Builder
context(Collection<Contract.Term.Asset.Context> context)
Circumstance of the asset.Contract.Term.Asset.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element.Contract.Term.Asset.Builder
extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element.protected Contract.Term.Asset.Builder
from(Contract.Term.Asset asset)
Contract.Term.Asset.Builder
id(String id)
Unique id for the element within a resource (for internal references).Contract.Term.Asset.Builder
linkId(String... linkId)
Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.Contract.Term.Asset.Builder
linkId(Collection<String> linkId)
Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.Contract.Term.Asset.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.Contract.Term.Asset.Builder
modifierExtension(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.Contract.Term.Asset.Builder
period(Period... period)
Asset relevant contractual time period.Contract.Term.Asset.Builder
period(Collection<Period> period)
Asset relevant contractual time period.Contract.Term.Asset.Builder
periodType(CodeableConcept... periodType)
Type of Asset availability for use or ownership.Contract.Term.Asset.Builder
periodType(Collection<CodeableConcept> periodType)
Type of Asset availability for use or ownership.Contract.Term.Asset.Builder
relationship(Coding relationship)
Specifies the applicability of the term to an asset resource instance, and instances it refers to orinstances that refer to it, and/or are owned by the offeree.Contract.Term.Asset.Builder
scope(CodeableConcept scope)
Differentiates the kind of the asset .Contract.Term.Asset.Builder
securityLabelNumber(UnsignedInt... securityLabelNumber)
Security labels that protects the asset.Contract.Term.Asset.Builder
securityLabelNumber(Collection<UnsignedInt> securityLabelNumber)
Security labels that protects the asset.Contract.Term.Asset.Builder
subtype(CodeableConcept... subtype)
May be a subtype or part of an offered asset.Contract.Term.Asset.Builder
subtype(Collection<CodeableConcept> subtype)
May be a subtype or part of an offered asset.Contract.Term.Asset.Builder
text(String text)
Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.Contract.Term.Asset.Builder
type(CodeableConcept... type)
Target entity type about which the term may be concerned.Contract.Term.Asset.Builder
type(Collection<CodeableConcept> type)
Target entity type about which the term may be concerned.Contract.Term.Asset.Builder
typeReference(Reference... typeReference)
Associated entities.Contract.Term.Asset.Builder
typeReference(Collection<Reference> typeReference)
Associated entities.Contract.Term.Asset.Builder
usePeriod(Period... usePeriod)
Time period of asset use.Contract.Term.Asset.Builder
usePeriod(Collection<Period> usePeriod)
Time period of asset use.Contract.Term.Asset.Builder
valuedItem(Contract.Term.Asset.ValuedItem... valuedItem)
Contract Valued Item List.Contract.Term.Asset.Builder
valuedItem(Collection<Contract.Term.Asset.ValuedItem> valuedItem)
Contract Valued Item List.-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
from
-
Methods inherited from class com.ibm.fhir.model.type.Element.Builder
from
-
-
-
-
Method Detail
-
id
public Contract.Term.Asset.Builder id(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 Contract.Term.Asset.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
- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public Contract.Term.Asset.Builder extension(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
- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
modifierExtension
public Contract.Term.Asset.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
- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public Contract.Term.Asset.Builder modifierExtension(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
- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
scope
public Contract.Term.Asset.Builder scope(CodeableConcept scope)
Differentiates the kind of the asset .- Parameters:
scope
- Range of asset- Returns:
- A reference to this Builder instance
-
type
public Contract.Term.Asset.Builder type(CodeableConcept... type)
Target entity type about which the term may be concerned.Adds new element(s) to the existing list
- Parameters:
type
- Asset category- Returns:
- A reference to this Builder instance
-
type
public Contract.Term.Asset.Builder type(Collection<CodeableConcept> type)
Target entity type about which the term may be concerned.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
type
- Asset category- Returns:
- A reference to this Builder instance
-
typeReference
public Contract.Term.Asset.Builder typeReference(Reference... typeReference)
Associated entities.Adds new element(s) to the existing list
- Parameters:
typeReference
- Associated entities- Returns:
- A reference to this Builder instance
-
typeReference
public Contract.Term.Asset.Builder typeReference(Collection<Reference> typeReference)
Associated entities.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
typeReference
- Associated entities- Returns:
- A reference to this Builder instance
-
subtype
public Contract.Term.Asset.Builder subtype(CodeableConcept... subtype)
May be a subtype or part of an offered asset.Adds new element(s) to the existing list
- Parameters:
subtype
- Asset sub-category- Returns:
- A reference to this Builder instance
-
subtype
public Contract.Term.Asset.Builder subtype(Collection<CodeableConcept> subtype)
May be a subtype or part of an offered asset.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
subtype
- Asset sub-category- Returns:
- A reference to this Builder instance
-
relationship
public Contract.Term.Asset.Builder relationship(Coding relationship)
Specifies the applicability of the term to an asset resource instance, and instances it refers to orinstances that refer to it, and/or are owned by the offeree.- Parameters:
relationship
- Kinship of the asset- Returns:
- A reference to this Builder instance
-
context
public Contract.Term.Asset.Builder context(Contract.Term.Asset.Context... context)
Circumstance of the asset.Adds new element(s) to the existing list
- Parameters:
context
- Circumstance of the asset- Returns:
- A reference to this Builder instance
-
context
public Contract.Term.Asset.Builder context(Collection<Contract.Term.Asset.Context> context)
Circumstance of the asset.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
context
- Circumstance of the asset- Returns:
- A reference to this Builder instance
-
condition
public Contract.Term.Asset.Builder condition(String condition)
Description of the quality and completeness of the asset that imay be a factor in its valuation.- Parameters:
condition
- Quality desctiption of asset- Returns:
- A reference to this Builder instance
-
periodType
public Contract.Term.Asset.Builder periodType(CodeableConcept... periodType)
Type of Asset availability for use or ownership.Adds new element(s) to the existing list
- Parameters:
periodType
- Asset availability types- Returns:
- A reference to this Builder instance
-
periodType
public Contract.Term.Asset.Builder periodType(Collection<CodeableConcept> periodType)
Type of Asset availability for use or ownership.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
periodType
- Asset availability types- Returns:
- A reference to this Builder instance
-
period
public Contract.Term.Asset.Builder period(Period... period)
Asset relevant contractual time period.Adds new element(s) to the existing list
- Parameters:
period
- Time period of the asset- Returns:
- A reference to this Builder instance
-
period
public Contract.Term.Asset.Builder period(Collection<Period> period)
Asset relevant contractual time period.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
period
- Time period of the asset- Returns:
- A reference to this Builder instance
-
usePeriod
public Contract.Term.Asset.Builder usePeriod(Period... usePeriod)
Time period of asset use.Adds new element(s) to the existing list
- Parameters:
usePeriod
- Time period- Returns:
- A reference to this Builder instance
-
usePeriod
public Contract.Term.Asset.Builder usePeriod(Collection<Period> usePeriod)
Time period of asset use.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
usePeriod
- Time period- Returns:
- A reference to this Builder instance
-
text
public Contract.Term.Asset.Builder text(String text)
Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.- Parameters:
text
- Asset clause or question text- Returns:
- A reference to this Builder instance
-
linkId
public Contract.Term.Asset.Builder linkId(String... linkId)
Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.Adds new element(s) to the existing list
- Parameters:
linkId
- Pointer to asset text- Returns:
- A reference to this Builder instance
-
linkId
public Contract.Term.Asset.Builder linkId(Collection<String> linkId)
Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
linkId
- Pointer to asset text- Returns:
- A reference to this Builder instance
-
answer
public Contract.Term.Asset.Builder answer(Contract.Term.Offer.Answer... answer)
Response to assets.Adds new element(s) to the existing list
- Parameters:
answer
- Response to assets- Returns:
- A reference to this Builder instance
-
answer
public Contract.Term.Asset.Builder answer(Collection<Contract.Term.Offer.Answer> answer)
Response to assets.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
answer
- Response to assets- Returns:
- A reference to this Builder instance
-
securityLabelNumber
public Contract.Term.Asset.Builder securityLabelNumber(UnsignedInt... securityLabelNumber)
Security labels that protects the asset.Adds new element(s) to the existing list
- Parameters:
securityLabelNumber
- Asset restriction numbers- Returns:
- A reference to this Builder instance
-
securityLabelNumber
public Contract.Term.Asset.Builder securityLabelNumber(Collection<UnsignedInt> securityLabelNumber)
Security labels that protects the asset.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
securityLabelNumber
- Asset restriction numbers- Returns:
- A reference to this Builder instance
-
valuedItem
public Contract.Term.Asset.Builder valuedItem(Contract.Term.Asset.ValuedItem... valuedItem)
Contract Valued Item List.Adds new element(s) to the existing list
- Parameters:
valuedItem
- Contract Valued Item List- Returns:
- A reference to this Builder instance
-
valuedItem
public Contract.Term.Asset.Builder valuedItem(Collection<Contract.Term.Asset.ValuedItem> valuedItem)
Contract Valued Item List.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
valuedItem
- Contract Valued Item List- Returns:
- A reference to this Builder instance
-
build
public Contract.Term.Asset build()
Build theContract.Term.Asset
- Specified by:
build
in interfaceBuilder<Element>
- Specified by:
build
in classBackboneElement.Builder
- Returns:
- An immutable object of type
Contract.Term.Asset
- Throws:
IllegalStateException
- if the current state cannot be built into a valid Asset per the base specification
-
from
protected Contract.Term.Asset.Builder from(Contract.Term.Asset asset)
-
-