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 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 com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Asset.Builder
builder()
boolean
equals(Object obj)
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.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.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 .List<UnsignedInt>
getSecurityLabelNumber()
Security labels that protects the asset.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.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.boolean
hasChildren()
int
hashCode()
Contract.Term.Asset.Builder
toBuilder()
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
CodeableConcept
that 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
CodeableConcept
that may be empty.
-
getTypeReference
public List<Reference> getTypeReference()
Associated entities.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that 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
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 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 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 List<Period> getPeriod()
Asset relevant contractual time period.- Returns:
- An unmodifiable list containing immutable objects of type
Period
that may be empty.
-
getUsePeriod
public 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 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 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 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 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(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
-
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()
-
-