Package com.ibm.fhir.model.resource
Class Contract.Term.Asset
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.Contract.Term.Asset
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract.Term
public static class Contract.Term.Asset extends BackboneElement
Contract Term Asset List.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContract.Term.Asset.Builderstatic classContract.Term.Asset.ContextCircumstance of the asset.static classContract.Term.Asset.ValuedItemContract Valued Item List.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Asset.Builderbuilder()booleanequals(Object obj)List<Contract.Term.Offer.Answer>getAnswer()Response to assets.StringgetCondition()Description of the quality and completeness of the asset that imay be a factor in its valuation.List<Contract.Term.Asset.Context>getContext()Circumstance of the asset.List<String>getLinkId()Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.List<Period>getPeriod()Asset relevant contractual time period.List<CodeableConcept>getPeriodType()Type of Asset availability for use or ownership.CodinggetRelationship()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.CodeableConceptgetScope()Differentiates the kind of the asset .List<UnsignedInt>getSecurityLabelNumber()Security labels that protects the asset.List<CodeableConcept>getSubtype()May be a subtype or part of an offered asset.StringgetText()Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.List<CodeableConcept>getType()Target entity type about which the term may be concerned.List<Reference>getTypeReference()Associated entities.List<Period>getUsePeriod()Time period of asset use.List<Contract.Term.Asset.ValuedItem>getValuedItem()Contract Valued Item List.booleanhasChildren()inthashCode()Contract.Term.Asset.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getScope
public CodeableConcept getScope()
Differentiates the kind of the asset .- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getType
public List<CodeableConcept> getType()
Target entity type about which the term may be concerned.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getTypeReference
public List<Reference> getTypeReference()
Associated entities.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getSubtype
public List<CodeableConcept> getSubtype()
May be a subtype or part of an offered asset.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getRelationship
public Coding getRelationship()
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.- Returns:
- An immutable object of type
Codingthat may be null.
-
getContext
public List<Contract.Term.Asset.Context> getContext()
Circumstance of the asset.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Asset.Contextthat may be empty.
-
getCondition
public String getCondition()
Description of the quality and completeness of the asset that imay be a factor in its valuation.- Returns:
- An immutable object of type
Stringthat may be null.
-
getPeriodType
public List<CodeableConcept> getPeriodType()
Type of Asset availability for use or ownership.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getPeriod
public List<Period> getPeriod()
Asset relevant contractual time period.- Returns:
- An unmodifiable list containing immutable objects of type
Periodthat may be empty.
-
getUsePeriod
public List<Period> getUsePeriod()
Time period of asset use.- Returns:
- An unmodifiable list containing immutable objects of type
Periodthat may be empty.
-
getText
public String getText()
Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.- Returns:
- An immutable object of type
Stringthat may be null.
-
getLinkId
public List<String> getLinkId()
Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat may be empty.
-
getAnswer
public List<Contract.Term.Offer.Answer> getAnswer()
Response to assets.- Returns:
- An unmodifiable list containing immutable objects of type
Answerthat may be empty.
-
getSecurityLabelNumber
public List<UnsignedInt> getSecurityLabelNumber()
Security labels that protects the asset.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedIntthat may be empty.
-
getValuedItem
public List<Contract.Term.Asset.ValuedItem> getValuedItem()
Contract Valued Item List.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Asset.ValuedItemthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public Contract.Term.Asset.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static Contract.Term.Asset.Builder builder()
-
-