Class Contract.Term.Offer.Builder

    • 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 class BackboneElement.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. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class BackboneElement.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. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class BackboneElement.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
        Throws:
        NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class BackboneElement.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. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class BackboneElement.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored even if unrecognized
        Returns:
        A reference to this Builder instance
        Throws:
        NullPointerException - If the passed collection is null
      • identifier

        public Contract.Term.Offer.Builder identifier​(Identifier... identifier)
        Unique identifier for this particular Contract Provision.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        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. If any of the elements are null, calling build() will fail.

        Parameters:
        identifier - Offer business ID
        Returns:
        A reference to this Builder instance
        Throws:
        NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        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. If any of the elements are null, calling build() will fail.

        Parameters:
        decisionMode - How decision is conveyed
        Returns:
        A reference to this Builder instance
        Throws:
        NullPointerException - If the passed collection is null
      • answer

        public Contract.Term.Offer.Builder answer​(Contract.Term.Offer.Answer... answer)
        Response to offer text.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        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)
        Convenience method for setting linkId.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to text
        Returns:
        A reference to this Builder instance
        See Also:
        #linkId(com.ibm.fhir.model.type.String)
      • 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. If any of the elements are null, calling build() will fail.

        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. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to text
        Returns:
        A reference to this Builder instance
        Throws:
        NullPointerException - If the passed collection is null
      • securityLabelNumber

        public Contract.Term.Offer.Builder securityLabelNumber​(UnsignedInt... securityLabelNumber)
        Security labels that protects the offer.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        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. If any of the elements are null, calling build() will fail.

        Parameters:
        securityLabelNumber - Offer restriction numbers
        Returns:
        A reference to this Builder instance
        Throws:
        NullPointerException - If the passed collection is null