Package org.hl7.fhir.r4.model
Class Contract.ContractAssetComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.Contract.ContractAssetComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Contract
public static class Contract.ContractAssetComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Contract.AnswerComponent>answerResponse to assets.protected StringTypeconditionDescription of the quality and completeness of the asset that imay be a factor in its valuation.protected List<Contract.AssetContextComponent>contextCircumstance of the asset.protected List<StringType>linkIdId [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.protected List<Period>periodAsset relevant contractual time period.protected List<CodeableConcept>periodTypeType of Asset availability for use or ownership.protected CodingrelationshipSpecifies 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.protected CodeableConceptscopeDifferentiates the kind of the asset .protected List<UnsignedIntType>securityLabelNumberSecurity labels that protects the asset.protected List<CodeableConcept>subtypeMay be a subtype or part of an offered asset.protected StringTypetextClause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.protected List<CodeableConcept>typeTarget entity type about which the term may be concerned.protected List<Reference>typeReferenceAssociated entities.protected List<Resource>typeReferenceTargetThe actual objects that are the target of the reference (Associated entities.)protected List<Period>usePeriodTime period of asset use.protected List<Contract.ValuedItemComponent>valuedItemContract Valued Item List.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ContractAssetComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
scope
protected CodeableConcept scope
Differentiates the kind of the asset .
-
type
protected List<CodeableConcept> type
Target entity type about which the term may be concerned.
-
typeReference
protected List<Reference> typeReference
Associated entities.
-
typeReferenceTarget
protected List<Resource> typeReferenceTarget
The actual objects that are the target of the reference (Associated entities.)
-
subtype
protected List<CodeableConcept> subtype
May be a subtype or part of an offered asset.
-
relationship
protected Coding relationship
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.
-
context
protected List<Contract.AssetContextComponent> context
Circumstance of the asset.
-
condition
protected StringType condition
Description of the quality and completeness of the asset that imay be a factor in its valuation.
-
periodType
protected List<CodeableConcept> periodType
Type of Asset availability for use or ownership.
-
text
protected StringType text
Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.
-
linkId
protected List<StringType> linkId
Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.
-
answer
protected List<Contract.AnswerComponent> answer
Response to assets.
-
securityLabelNumber
protected List<UnsignedIntType> securityLabelNumber
Security labels that protects the asset.
-
valuedItem
protected List<Contract.ValuedItemComponent> valuedItem
Contract Valued Item List.
-
-
Constructor Detail
-
ContractAssetComponent
public ContractAssetComponent()
Constructor
-
-
Method Detail
-
getScope
public CodeableConcept getScope()
- Returns:
scope(Differentiates the kind of the asset .)
-
hasScope
public boolean hasScope()
-
setScope
public Contract.ContractAssetComponent setScope(CodeableConcept value)
- Parameters:
value-scope(Differentiates the kind of the asset .)
-
getType
public List<CodeableConcept> getType()
- Returns:
type(Target entity type about which the term may be concerned.)
-
setType
public Contract.ContractAssetComponent setType(List<CodeableConcept> theType)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasType
public boolean hasType()
-
addType
public CodeableConcept addType()
-
addType
public Contract.ContractAssetComponent addType(CodeableConcept t)
-
getTypeFirstRep
public CodeableConcept getTypeFirstRep()
- Returns:
- The first repetition of repeating field
type, creating it if it does not already exist
-
getTypeReference
public List<Reference> getTypeReference()
- Returns:
typeReference(Associated entities.)
-
setTypeReference
public Contract.ContractAssetComponent setTypeReference(List<Reference> theTypeReference)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTypeReference
public boolean hasTypeReference()
-
addTypeReference
public Reference addTypeReference()
-
addTypeReference
public Contract.ContractAssetComponent addTypeReference(Reference t)
-
getTypeReferenceFirstRep
public Reference getTypeReferenceFirstRep()
- Returns:
- The first repetition of repeating field
typeReference, creating it if it does not already exist
-
getTypeReferenceTarget
@Deprecated public List<Resource> getTypeReferenceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getSubtype
public List<CodeableConcept> getSubtype()
- Returns:
subtype(May be a subtype or part of an offered asset.)
-
setSubtype
public Contract.ContractAssetComponent setSubtype(List<CodeableConcept> theSubtype)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubtype
public boolean hasSubtype()
-
addSubtype
public CodeableConcept addSubtype()
-
addSubtype
public Contract.ContractAssetComponent addSubtype(CodeableConcept t)
-
getSubtypeFirstRep
public CodeableConcept getSubtypeFirstRep()
- Returns:
- The first repetition of repeating field
subtype, creating it if it does not already exist
-
getRelationship
public Coding getRelationship()
- Returns:
relationship(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.)
-
hasRelationship
public boolean hasRelationship()
-
setRelationship
public Contract.ContractAssetComponent setRelationship(Coding value)
- Parameters:
value-relationship(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.)
-
getContext
public List<Contract.AssetContextComponent> getContext()
- Returns:
context(Circumstance of the asset.)
-
setContext
public Contract.ContractAssetComponent setContext(List<Contract.AssetContextComponent> theContext)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContext
public boolean hasContext()
-
addContext
public Contract.AssetContextComponent addContext()
-
addContext
public Contract.ContractAssetComponent addContext(Contract.AssetContextComponent t)
-
getContextFirstRep
public Contract.AssetContextComponent getContextFirstRep()
- Returns:
- The first repetition of repeating field
context, creating it if it does not already exist
-
getConditionElement
public StringType getConditionElement()
- Returns:
condition(Description of the quality and completeness of the asset that imay be a factor in its valuation.). This is the underlying object with id, value and extensions. The accessor "getCondition" gives direct access to the value
-
hasConditionElement
public boolean hasConditionElement()
-
hasCondition
public boolean hasCondition()
-
setConditionElement
public Contract.ContractAssetComponent setConditionElement(StringType value)
- Parameters:
value-condition(Description of the quality and completeness of the asset that imay be a factor in its valuation.). This is the underlying object with id, value and extensions. The accessor "getCondition" gives direct access to the value
-
getCondition
public String getCondition()
- Returns:
- Description of the quality and completeness of the asset that imay be a factor in its valuation.
-
setCondition
public Contract.ContractAssetComponent setCondition(String value)
- Parameters:
value- Description of the quality and completeness of the asset that imay be a factor in its valuation.
-
getPeriodType
public List<CodeableConcept> getPeriodType()
- Returns:
periodType(Type of Asset availability for use or ownership.)
-
setPeriodType
public Contract.ContractAssetComponent setPeriodType(List<CodeableConcept> thePeriodType)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPeriodType
public boolean hasPeriodType()
-
addPeriodType
public CodeableConcept addPeriodType()
-
addPeriodType
public Contract.ContractAssetComponent addPeriodType(CodeableConcept t)
-
getPeriodTypeFirstRep
public CodeableConcept getPeriodTypeFirstRep()
- Returns:
- The first repetition of repeating field
periodType, creating it if it does not already exist
-
setPeriod
public Contract.ContractAssetComponent setPeriod(List<Period> thePeriod)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPeriod
public boolean hasPeriod()
-
addPeriod
public Contract.ContractAssetComponent addPeriod(Period t)
-
getPeriodFirstRep
public Period getPeriodFirstRep()
- Returns:
- The first repetition of repeating field
period, creating it if it does not already exist
-
getUsePeriod
public List<Period> getUsePeriod()
- Returns:
usePeriod(Time period of asset use.)
-
setUsePeriod
public Contract.ContractAssetComponent setUsePeriod(List<Period> theUsePeriod)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUsePeriod
public boolean hasUsePeriod()
-
addUsePeriod
public Period addUsePeriod()
-
addUsePeriod
public Contract.ContractAssetComponent addUsePeriod(Period t)
-
getUsePeriodFirstRep
public Period getUsePeriodFirstRep()
- Returns:
- The first repetition of repeating field
usePeriod, creating it if it does not already exist
-
getTextElement
public StringType getTextElement()
- Returns:
text(Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
hasTextElement
public boolean hasTextElement()
-
hasText
public boolean hasText()
-
setTextElement
public Contract.ContractAssetComponent setTextElement(StringType value)
- Parameters:
value-text(Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
getText
public String getText()
- Returns:
- Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.
-
setText
public Contract.ContractAssetComponent setText(String value)
- Parameters:
value- Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract.
-
getLinkId
public List<StringType> getLinkId()
- Returns:
linkId(Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.)
-
setLinkId
public Contract.ContractAssetComponent setLinkId(List<StringType> theLinkId)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLinkId
public boolean hasLinkId()
-
addLinkIdElement
public StringType addLinkIdElement()
- Returns:
linkId(Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.)
-
addLinkId
public Contract.ContractAssetComponent addLinkId(String value)
- Parameters:
value-linkId(Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.)
-
hasLinkId
public boolean hasLinkId(String value)
- Parameters:
value-linkId(Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.)
-
getAnswer
public List<Contract.AnswerComponent> getAnswer()
- Returns:
answer(Response to assets.)
-
setAnswer
public Contract.ContractAssetComponent setAnswer(List<Contract.AnswerComponent> theAnswer)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAnswer
public boolean hasAnswer()
-
addAnswer
public Contract.AnswerComponent addAnswer()
-
addAnswer
public Contract.ContractAssetComponent addAnswer(Contract.AnswerComponent t)
-
getAnswerFirstRep
public Contract.AnswerComponent getAnswerFirstRep()
- Returns:
- The first repetition of repeating field
answer, creating it if it does not already exist
-
getSecurityLabelNumber
public List<UnsignedIntType> getSecurityLabelNumber()
- Returns:
securityLabelNumber(Security labels that protects the asset.)
-
setSecurityLabelNumber
public Contract.ContractAssetComponent setSecurityLabelNumber(List<UnsignedIntType> theSecurityLabelNumber)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSecurityLabelNumber
public boolean hasSecurityLabelNumber()
-
addSecurityLabelNumberElement
public UnsignedIntType addSecurityLabelNumberElement()
- Returns:
securityLabelNumber(Security labels that protects the asset.)
-
addSecurityLabelNumber
public Contract.ContractAssetComponent addSecurityLabelNumber(int value)
- Parameters:
value-securityLabelNumber(Security labels that protects the asset.)
-
hasSecurityLabelNumber
public boolean hasSecurityLabelNumber(int value)
- Parameters:
value-securityLabelNumber(Security labels that protects the asset.)
-
getValuedItem
public List<Contract.ValuedItemComponent> getValuedItem()
- Returns:
valuedItem(Contract Valued Item List.)
-
setValuedItem
public Contract.ContractAssetComponent setValuedItem(List<Contract.ValuedItemComponent> theValuedItem)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasValuedItem
public boolean hasValuedItem()
-
addValuedItem
public Contract.ValuedItemComponent addValuedItem()
-
addValuedItem
public Contract.ContractAssetComponent addValuedItem(Contract.ValuedItemComponent t)
-
getValuedItemFirstRep
public Contract.ValuedItemComponent getValuedItemFirstRep()
- Returns:
- The first repetition of repeating field
valuedItem, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Contract.ContractAssetComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(Contract.ContractAssetComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-