Class Contract.Term.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.Builder
-
- Enclosing class:
- Contract.Term
public static class Contract.Term.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.Builderaction(Contract.Term.Action... action)An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.Contract.Term.Builderaction(Collection<Contract.Term.Action> action)An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.Contract.Term.Builderapplies(Period applies)Relevant time or time-period when this Contract Provision is applicable.Contract.Term.Builderasset(Contract.Term.Asset... asset)Contract Term Asset List.Contract.Term.Builderasset(Collection<Contract.Term.Asset> asset)Contract Term Asset List.Contract.Termbuild()Build theContract.TermContract.Term.Builderextension(Extension... extension)May be used to represent additional information that is not part of the basic definition of the element.Contract.Term.Builderextension(Collection<Extension> extension)May be used to represent additional information that is not part of the basic definition of the element.protected Contract.Term.Builderfrom(Contract.Term term)Contract.Term.Buildergroup(Contract.Term... group)Nested group of Contract Provisions.Contract.Term.Buildergroup(Collection<Contract.Term> group)Nested group of Contract Provisions.Contract.Term.Builderid(String id)Unique id for the element within a resource (for internal references).Contract.Term.Builderidentifier(Identifier identifier)Unique identifier for this particular Contract Provision.Contract.Term.Builderissued(DateTime issued)When this Contract Provision was issued.Contract.Term.BuildermodifierExtension(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.BuildermodifierExtension(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.Builderoffer(Contract.Term.Offer offer)The matter of concern in the context of this provision of the agrement.Contract.Term.BuildersecurityLabel(Contract.Term.SecurityLabel... securityLabel)Security labels that protect the handling of information about the term and its elements, which may be specifically identified..Contract.Term.BuildersecurityLabel(Collection<Contract.Term.SecurityLabel> securityLabel)Security labels that protect the handling of information about the term and its elements, which may be specifically identified..Contract.Term.BuildersubType(CodeableConcept subType)A specialized legal clause or condition based on overarching contract type.Contract.Term.Buildertext(String text)Statement of a provision in a policy or a contract.Contract.Term.Buildertopic(Element topic)The entity that the term applies to.Contract.Term.Buildertype(CodeableConcept type)A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.-
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.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:
idin classBackboneElement.Builder- Parameters:
id- Unique id for inter-element referencing- Returns:
- A reference to this Builder instance
-
extension
public Contract.Term.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:
extensionin classBackboneElement.Builder- Parameters:
extension- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public Contract.Term.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:
extensionin classBackboneElement.Builder- Parameters:
extension- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
modifierExtension
public Contract.Term.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:
modifierExtensionin classBackboneElement.Builder- Parameters:
modifierExtension- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public Contract.Term.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:
modifierExtensionin classBackboneElement.Builder- Parameters:
modifierExtension- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
identifier
public Contract.Term.Builder identifier(Identifier identifier)
Unique identifier for this particular Contract Provision.- Parameters:
identifier- Contract Term Number- Returns:
- A reference to this Builder instance
-
issued
public Contract.Term.Builder issued(DateTime issued)
When this Contract Provision was issued.- Parameters:
issued- Contract Term Issue Date Time- Returns:
- A reference to this Builder instance
-
applies
public Contract.Term.Builder applies(Period applies)
Relevant time or time-period when this Contract Provision is applicable.- Parameters:
applies- Contract Term Effective Time- Returns:
- A reference to this Builder instance
-
topic
public Contract.Term.Builder topic(Element topic)
The entity that the term applies to.This is a choice element with the following allowed types:
- Parameters:
topic- Term Concern- Returns:
- A reference to this Builder instance
-
type
public Contract.Term.Builder type(CodeableConcept type)
A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.- Parameters:
type- Contract Term Type or Form- Returns:
- A reference to this Builder instance
-
subType
public Contract.Term.Builder subType(CodeableConcept subType)
A specialized legal clause or condition based on overarching contract type.- Parameters:
subType- Contract Term Type specific classification- Returns:
- A reference to this Builder instance
-
text
public Contract.Term.Builder text(String text)
Statement of a provision in a policy or a contract.- Parameters:
text- Term Statement- Returns:
- A reference to this Builder instance
-
securityLabel
public Contract.Term.Builder securityLabel(Contract.Term.SecurityLabel... securityLabel)
Security labels that protect the handling of information about the term and its elements, which may be specifically identified..Adds new element(s) to the existing list
- Parameters:
securityLabel- Protection for the Term- Returns:
- A reference to this Builder instance
-
securityLabel
public Contract.Term.Builder securityLabel(Collection<Contract.Term.SecurityLabel> securityLabel)
Security labels that protect the handling of information about the term and its elements, which may be specifically identified..Replaces the existing list with a new one containing elements from the Collection
- Parameters:
securityLabel- Protection for the Term- Returns:
- A reference to this Builder instance
-
offer
public Contract.Term.Builder offer(Contract.Term.Offer offer)
The matter of concern in the context of this provision of the agrement.This element is required.
- Parameters:
offer- Context of the Contract term- Returns:
- A reference to this Builder instance
-
asset
public Contract.Term.Builder asset(Contract.Term.Asset... asset)
Contract Term Asset List.Adds new element(s) to the existing list
- Parameters:
asset- Contract Term Asset List- Returns:
- A reference to this Builder instance
-
asset
public Contract.Term.Builder asset(Collection<Contract.Term.Asset> asset)
Contract Term Asset List.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
asset- Contract Term Asset List- Returns:
- A reference to this Builder instance
-
action
public Contract.Term.Builder action(Contract.Term.Action... action)
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.Adds new element(s) to the existing list
- Parameters:
action- Entity being ascribed responsibility- Returns:
- A reference to this Builder instance
-
action
public Contract.Term.Builder action(Collection<Contract.Term.Action> action)
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
action- Entity being ascribed responsibility- Returns:
- A reference to this Builder instance
-
group
public Contract.Term.Builder group(Contract.Term... group)
Nested group of Contract Provisions.Adds new element(s) to the existing list
- Parameters:
group- Nested Contract Term Group- Returns:
- A reference to this Builder instance
-
group
public Contract.Term.Builder group(Collection<Contract.Term> group)
Nested group of Contract Provisions.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
group- Nested Contract Term Group- Returns:
- A reference to this Builder instance
-
build
public Contract.Term build()
- Specified by:
buildin interfaceBuilder<Element>- Specified by:
buildin classBackboneElement.Builder- Returns:
- An immutable object of type
Contract.Term - Throws:
IllegalStateException- if the current state cannot be built into a valid Term per the base specification
-
from
protected Contract.Term.Builder from(Contract.Term term)
-
-