Package com.ibm.fhir.model.resource
Class Contract.Term.Asset.ValuedItem
- 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.ValuedItem
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract.Term.Asset
public static class Contract.Term.Asset.ValuedItem extends BackboneElement
Contract Valued Item List.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContract.Term.Asset.ValuedItem.Builder
-
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.ValuedItem.Builderbuilder()booleanequals(Object obj)DateTimegetEffectiveTime()Indicates the time during which this Contract ValuedItem information is effective.ElementgetEntity()Specific type of Contract Valued Item that may be priced.DecimalgetFactor()A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered.IdentifiergetIdentifier()Identifies a Contract Valued Item instance.List<String>getLinkId()Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.MoneygetNet()Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt.StringgetPayment()Terms of valuation.DateTimegetPaymentDate()When payment is due.DecimalgetPoints()An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered.SimpleQuantitygetQuantity()Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.ReferencegetRecipient()Who will receive payment.ReferencegetResponsible()Who will make payment.List<UnsignedInt>getSecurityLabelNumber()A set of security labels that define which terms are controlled by this condition.MoneygetUnitPrice()A Contract Valued Item unit valuation measure.booleanhasChildren()inthashCode()Contract.Term.Asset.ValuedItem.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getEntity
public Element getEntity()
Specific type of Contract Valued Item that may be priced.- Returns:
- An immutable object of type
Elementthat may be null.
-
getIdentifier
public Identifier getIdentifier()
Identifies a Contract Valued Item instance.- Returns:
- An immutable object of type
Identifierthat may be null.
-
getEffectiveTime
public DateTime getEffectiveTime()
Indicates the time during which this Contract ValuedItem information is effective.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getQuantity
public SimpleQuantity getQuantity()
Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.- Returns:
- An immutable object of type
SimpleQuantitythat may be null.
-
getUnitPrice
public Money getUnitPrice()
A Contract Valued Item unit valuation measure.- Returns:
- An immutable object of type
Moneythat may be null.
-
getFactor
public Decimal getFactor()
A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.- Returns:
- An immutable object of type
Decimalthat may be null.
-
getPoints
public Decimal getPoints()
An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.- Returns:
- An immutable object of type
Decimalthat may be null.
-
getNet
public Money getNet()
Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.- Returns:
- An immutable object of type
Moneythat may be null.
-
getPayment
public String getPayment()
Terms of valuation.- Returns:
- An immutable object of type
Stringthat may be null.
-
getPaymentDate
public DateTime getPaymentDate()
When payment is due.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getResponsible
public Reference getResponsible()
Who will make payment.- Returns:
- An immutable object of type
Referencethat may be null.
-
getRecipient
public Reference getRecipient()
Who will receive payment.- Returns:
- An immutable object of type
Referencethat may be null.
-
getLinkId
public List<String> getLinkId()
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat may be empty.
-
getSecurityLabelNumber
public List<UnsignedInt> getSecurityLabelNumber()
A set of security labels that define which terms are controlled by this condition.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedIntthat 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.ValuedItem.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.ValuedItem.Builder builder()
-
-