Class Contract.Term.Offer.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.Offer.Builder
-
- Enclosing class:
- Contract.Term.Offer
public static class Contract.Term.Offer.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.Offer.Builder
answer(Contract.Term.Offer.Answer... answer)
Response to offer text.Contract.Term.Offer.Builder
answer(Collection<Contract.Term.Offer.Answer> answer)
Response to offer text.Contract.Term.Offer
build()
Build theContract.Term.Offer
Contract.Term.Offer.Builder
decision(CodeableConcept decision)
Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.Contract.Term.Offer.Builder
decisionMode(CodeableConcept... decisionMode)
How the decision about a Contract was conveyed.Contract.Term.Offer.Builder
decisionMode(Collection<CodeableConcept> decisionMode)
How the decision about a Contract was conveyed.Contract.Term.Offer.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element.Contract.Term.Offer.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.Offer.Builder
from(Contract.Term.Offer offer)
Contract.Term.Offer.Builder
id(String id)
Unique id for the element within a resource (for internal references).Contract.Term.Offer.Builder
identifier(Identifier... identifier)
Unique identifier for this particular Contract Provision.Contract.Term.Offer.Builder
identifier(Collection<Identifier> identifier)
Unique identifier for this particular Contract Provision.Contract.Term.Offer.Builder
linkId(String... linkId)
The id of the clause or question text of the offer in the referenced questionnaire/response.Contract.Term.Offer.Builder
linkId(Collection<String> linkId)
The id of the clause or question text of the offer in the referenced questionnaire/response.Contract.Term.Offer.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.Offer.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.Offer.Builder
party(Contract.Term.Offer.Party... party)
Offer Recipient.Contract.Term.Offer.Builder
party(Collection<Contract.Term.Offer.Party> party)
Offer Recipient.Contract.Term.Offer.Builder
securityLabelNumber(UnsignedInt... securityLabelNumber)
Security labels that protects the offer.Contract.Term.Offer.Builder
securityLabelNumber(Collection<UnsignedInt> securityLabelNumber)
Security labels that protects the offer.Contract.Term.Offer.Builder
text(String text)
Human readable form of this Contract Offer.Contract.Term.Offer.Builder
topic(Reference topic)
The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p.Contract.Term.Offer.Builder
type(CodeableConcept type)
Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g.-
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.Offer.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.Offer.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.Offer.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.Offer.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.Offer.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
-
identifier
public Contract.Term.Offer.Builder identifier(Identifier... identifier)
Unique identifier for this particular Contract Provision.Adds new element(s) to the existing list
- Parameters:
identifier
- Offer business ID- Returns:
- A reference to this Builder instance
-
identifier
public Contract.Term.Offer.Builder identifier(Collection<Identifier> identifier)
Unique identifier for this particular Contract Provision.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
identifier
- Offer business ID- Returns:
- A reference to this Builder instance
-
party
public Contract.Term.Offer.Builder party(Contract.Term.Offer.Party... party)
Offer Recipient.Adds new element(s) to the existing list
- Parameters:
party
- Offer Recipient- Returns:
- A reference to this Builder instance
-
party
public Contract.Term.Offer.Builder party(Collection<Contract.Term.Offer.Party> party)
Offer Recipient.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
party
- Offer Recipient- Returns:
- A reference to this Builder instance
-
topic
public Contract.Term.Offer.Builder topic(Reference topic)
The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).- Parameters:
topic
- Negotiable offer asset- Returns:
- A reference to this Builder instance
-
type
public Contract.Term.Offer.Builder type(CodeableConcept type)
Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.- Parameters:
type
- Contract Offer Type or Form- Returns:
- A reference to this Builder instance
-
decision
public Contract.Term.Offer.Builder decision(CodeableConcept decision)
Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.- Parameters:
decision
- Accepting party choice- Returns:
- A reference to this Builder instance
-
decisionMode
public Contract.Term.Offer.Builder decisionMode(CodeableConcept... decisionMode)
How the decision about a Contract was conveyed.Adds new element(s) to the existing list
- Parameters:
decisionMode
- How decision is conveyed- Returns:
- A reference to this Builder instance
-
decisionMode
public Contract.Term.Offer.Builder decisionMode(Collection<CodeableConcept> decisionMode)
How the decision about a Contract was conveyed.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
decisionMode
- How decision is conveyed- Returns:
- A reference to this Builder instance
-
answer
public Contract.Term.Offer.Builder answer(Contract.Term.Offer.Answer... answer)
Response to offer text.Adds new element(s) to the existing list
- Parameters:
answer
- Response to offer text- Returns:
- A reference to this Builder instance
-
answer
public Contract.Term.Offer.Builder answer(Collection<Contract.Term.Offer.Answer> answer)
Response to offer text.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
answer
- Response to offer text- Returns:
- A reference to this Builder instance
-
text
public Contract.Term.Offer.Builder text(String text)
Human readable form of this Contract Offer.- Parameters:
text
- Human readable offer text- Returns:
- A reference to this Builder instance
-
linkId
public Contract.Term.Offer.Builder linkId(String... linkId)
The id of the clause or question text of the offer in the referenced questionnaire/response.Adds new element(s) to the existing list
- Parameters:
linkId
- Pointer to text- Returns:
- A reference to this Builder instance
-
linkId
public Contract.Term.Offer.Builder linkId(Collection<String> linkId)
The id of the clause or question text of the offer in the referenced questionnaire/response.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
linkId
- Pointer to text- Returns:
- A reference to this Builder instance
-
securityLabelNumber
public Contract.Term.Offer.Builder securityLabelNumber(UnsignedInt... securityLabelNumber)
Security labels that protects the offer.Adds new element(s) to the existing list
- Parameters:
securityLabelNumber
- Offer restriction numbers- Returns:
- A reference to this Builder instance
-
securityLabelNumber
public Contract.Term.Offer.Builder securityLabelNumber(Collection<UnsignedInt> securityLabelNumber)
Security labels that protects the offer.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
securityLabelNumber
- Offer restriction numbers- Returns:
- A reference to this Builder instance
-
build
public Contract.Term.Offer build()
Build theContract.Term.Offer
- Specified by:
build
in interfaceBuilder<Element>
- Specified by:
build
in classBackboneElement.Builder
- Returns:
- An immutable object of type
Contract.Term.Offer
- Throws:
IllegalStateException
- if the current state cannot be built into a valid Offer per the base specification
-
from
protected Contract.Term.Offer.Builder from(Contract.Term.Offer offer)
-
-