Class Contract.Term.Asset
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.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 org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Asset.Builderbuilder()booleanequals(java.lang.Object obj)java.util.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.java.util.List<Contract.Term.Asset.Context>getContext()Circumstance of the asset.java.util.List<String>getLinkId()Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.java.util.List<Period>getPeriod()Asset relevant contractual time period.java.util.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 .java.util.List<UnsignedInt>getSecurityLabelNumber()Security labels that protects the asset.java.util.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.java.util.List<CodeableConcept>getType()Target entity type about which the term may be concerned.java.util.List<Reference>getTypeReference()Associated entities.java.util.List<Period>getUsePeriod()Time period of asset use.java.util.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 org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
Method Detail
-
getScope
public CodeableConcept getScope()
Differentiates the kind of the asset .- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getType
public java.util.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 java.util.List<Reference> getTypeReference()
Associated entities.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getSubtype
public java.util.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 java.util.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 java.util.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 java.util.List<Period> getPeriod()
Asset relevant contractual time period.- Returns:
- An unmodifiable list containing immutable objects of type
Periodthat may be empty.
-
getUsePeriod
public java.util.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 java.util.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 java.util.List<Contract.Term.Offer.Answer> getAnswer()
Response to assets.- Returns:
- An unmodifiable list containing immutable objects of type
Answerthat may be empty.
-
getSecurityLabelNumber
public java.util.List<UnsignedInt> getSecurityLabelNumber()
Security labels that protects the asset.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedIntthat may be empty.
-
getValuedItem
public java.util.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(java.lang.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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
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()
-
-