Class Contract.Term.Asset.Builder

    • Method Detail

      • id

        public Contract.Term.Asset.Builder id​(java.lang.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.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. 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.Asset.Builder extension​(java.util.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:
        java.lang.NullPointerException - If the passed collection is null
      • 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. 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.Asset.Builder modifierExtension​(java.util.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:
        java.lang.NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        type - Asset category
        Returns:
        A reference to this Builder instance
      • type

        public Contract.Term.Asset.Builder type​(java.util.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. If any of the elements are null, calling build() will fail.

        Parameters:
        type - Asset category
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • typeReference

        public Contract.Term.Asset.Builder typeReference​(Reference... typeReference)
        Associated entities.

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

        Parameters:
        typeReference - Associated entities
        Returns:
        A reference to this Builder instance
      • typeReference

        public Contract.Term.Asset.Builder typeReference​(java.util.Collection<Reference> typeReference)
        Associated entities.

        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:
        typeReference - Associated entities
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        subtype - Asset sub-category
        Returns:
        A reference to this Builder instance
      • subtype

        public Contract.Term.Asset.Builder subtype​(java.util.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. If any of the elements are null, calling build() will fail.

        Parameters:
        subtype - Asset sub-category
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        context - Circumstance of the asset
        Returns:
        A reference to this Builder instance
      • context

        public Contract.Term.Asset.Builder context​(java.util.Collection<Contract.Term.Asset.Context> context)
        Circumstance of the asset.

        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:
        context - Circumstance of the asset
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        periodType - Asset availability types
        Returns:
        A reference to this Builder instance
      • periodType

        public Contract.Term.Asset.Builder periodType​(java.util.Collection<CodeableConcept> periodType)
        Type of Asset availability for use or ownership.

        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:
        periodType - Asset availability types
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • period

        public Contract.Term.Asset.Builder period​(Period... period)
        Asset relevant contractual time period.

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

        Parameters:
        period - Time period of the asset
        Returns:
        A reference to this Builder instance
      • period

        public Contract.Term.Asset.Builder period​(java.util.Collection<Period> period)
        Asset relevant contractual time period.

        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:
        period - Time period of the asset
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • usePeriod

        public Contract.Term.Asset.Builder usePeriod​(Period... usePeriod)
        Time period of asset use.

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

        Parameters:
        usePeriod - Time period
        Returns:
        A reference to this Builder instance
      • usePeriod

        public Contract.Term.Asset.Builder usePeriod​(java.util.Collection<Period> usePeriod)
        Time period of asset use.

        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:
        usePeriod - Time period
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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​(java.lang.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 asset text
        Returns:
        A reference to this Builder instance
        See Also:
        #linkId(com.ibm.fhir.model.type.String)
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to asset text
        Returns:
        A reference to this Builder instance
      • linkId

        public Contract.Term.Asset.Builder linkId​(java.util.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. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to asset text
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • answer

        public Contract.Term.Asset.Builder answer​(Contract.Term.Offer.Answer... answer)
        Response to assets.

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

        Parameters:
        answer - Response to assets
        Returns:
        A reference to this Builder instance
      • answer

        public Contract.Term.Asset.Builder answer​(java.util.Collection<Contract.Term.Offer.Answer> answer)
        Response to assets.

        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:
        answer - Response to assets
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • securityLabelNumber

        public Contract.Term.Asset.Builder securityLabelNumber​(UnsignedInt... securityLabelNumber)
        Security labels that protects the asset.

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

        Parameters:
        securityLabelNumber - Asset restriction numbers
        Returns:
        A reference to this Builder instance
      • securityLabelNumber

        public Contract.Term.Asset.Builder securityLabelNumber​(java.util.Collection<UnsignedInt> securityLabelNumber)
        Security labels that protects the asset.

        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 - Asset restriction numbers
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • valuedItem

        public Contract.Term.Asset.Builder valuedItem​(Contract.Term.Asset.ValuedItem... valuedItem)
        Contract Valued Item List.

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

        Parameters:
        valuedItem - Contract Valued Item List
        Returns:
        A reference to this Builder instance
      • valuedItem

        public Contract.Term.Asset.Builder valuedItem​(java.util.Collection<Contract.Term.Asset.ValuedItem> valuedItem)
        Contract Valued Item List.

        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:
        valuedItem - Contract Valued Item List
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null