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 class
Contract.Term.Asset.Builder
static class
Contract.Term.Asset.Context
Circumstance of the asset.static class
Contract.Term.Asset.ValuedItem
Contract 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 void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Asset.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<Contract.Term.Offer.Answer>
getAnswer()
Response to assets.String
getCondition()
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.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.CodeableConcept
getScope()
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.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.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.boolean
hasChildren()
int
hashCode()
Contract.Term.Asset.Builder
toBuilder()
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
CodeableConcept
that 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
CodeableConcept
that may be empty.
-
getTypeReference
public java.util.List<Reference> getTypeReference()
Associated entities.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that 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
CodeableConcept
that 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
Coding
that 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.Context
that 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
String
that 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
CodeableConcept
that may be empty.
-
getPeriod
public java.util.List<Period> getPeriod()
Asset relevant contractual time period.- Returns:
- An unmodifiable list containing immutable objects of type
Period
that may be empty.
-
getUsePeriod
public java.util.List<Period> getUsePeriod()
Time period of asset use.- Returns:
- An unmodifiable list containing immutable objects of type
Period
that 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
String
that 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
String
that 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
Answer
that 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
UnsignedInt
that 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.ValuedItem
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept 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:
accept
in interfaceVisitable
- Specified by:
accept
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public Contract.Term.Asset.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static Contract.Term.Asset.Builder builder()
-
-