Package org.hl7.fhir
Class ContractValuedItem
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ContractValuedItem
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ContractValuedItem extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A formal agreement between parties regarding the conduct of business, exchange of information or other matters.Java class for Contract.ValuedItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contract.ValuedItem"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <choice minOccurs="0"> <element name="entityCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="entityReference" type="{http://hl7.org/fhir}Reference"/> </choice> <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/> <element name="effectiveTime" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/> <element name="unitPrice" type="{http://hl7.org/fhir}Money" minOccurs="0"/> <element name="factor" type="{http://hl7.org/fhir}decimal" minOccurs="0"/> <element name="points" type="{http://hl7.org/fhir}decimal" minOccurs="0"/> <element name="net" type="{http://hl7.org/fhir}Money" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeeffectiveTimeprotected CodeableConceptentityCodeableConceptprotected ReferenceentityReferenceprotected Decimalfactorprotected Identifieridentifierprotected Moneynetprotected Decimalpointsprotected SimpleQuantityquantityprotected MoneyunitPrice-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ContractValuedItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)DateTimegetEffectiveTime()Gets the value of the effectiveTime property.CodeableConceptgetEntityCodeableConcept()Gets the value of the entityCodeableConcept property.ReferencegetEntityReference()Gets the value of the entityReference property.DecimalgetFactor()Gets the value of the factor property.IdentifiergetIdentifier()Gets the value of the identifier property.MoneygetNet()Gets the value of the net property.DecimalgetPoints()Gets the value of the points property.SimpleQuantitygetQuantity()Gets the value of the quantity property.MoneygetUnitPrice()Gets the value of the unitPrice property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetEffectiveTime(DateTime value)Sets the value of the effectiveTime property.voidsetEntityCodeableConcept(CodeableConcept value)Sets the value of the entityCodeableConcept property.voidsetEntityReference(Reference value)Sets the value of the entityReference property.voidsetFactor(Decimal value)Sets the value of the factor property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetNet(Money value)Sets the value of the net property.voidsetPoints(Decimal value)Sets the value of the points property.voidsetQuantity(SimpleQuantity value)Sets the value of the quantity property.voidsetUnitPrice(Money value)Sets the value of the unitPrice property.java.lang.StringtoString()ContractValuedItemwithEffectiveTime(DateTime value)ContractValuedItemwithEntityCodeableConcept(CodeableConcept value)ContractValuedItemwithEntityReference(Reference value)ContractValuedItemwithExtension(java.util.Collection<Extension> values)ContractValuedItemwithExtension(Extension... values)ContractValuedItemwithFactor(Decimal value)ContractValuedItemwithId(java.lang.String value)ContractValuedItemwithIdentifier(Identifier value)ContractValuedItemwithModifierExtension(java.util.Collection<Extension> values)ContractValuedItemwithModifierExtension(Extension... values)ContractValuedItemwithNet(Money value)ContractValuedItemwithPoints(Decimal value)ContractValuedItemwithQuantity(SimpleQuantity value)ContractValuedItemwithUnitPrice(Money value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
entityCodeableConcept
protected CodeableConcept entityCodeableConcept
-
entityReference
protected Reference entityReference
-
identifier
protected Identifier identifier
-
effectiveTime
protected DateTime effectiveTime
-
quantity
protected SimpleQuantity quantity
-
unitPrice
protected Money unitPrice
-
factor
protected Decimal factor
-
points
protected Decimal points
-
net
protected Money net
-
-
Method Detail
-
getEntityCodeableConcept
public CodeableConcept getEntityCodeableConcept()
Gets the value of the entityCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setEntityCodeableConcept
public void setEntityCodeableConcept(CodeableConcept value)
Sets the value of the entityCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getEntityReference
public Reference getEntityReference()
Gets the value of the entityReference property.- Returns:
- possible object is
Reference
-
setEntityReference
public void setEntityReference(Reference value)
Sets the value of the entityReference property.- Parameters:
value- allowed object isReference
-
getIdentifier
public Identifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
public void setIdentifier(Identifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getEffectiveTime
public DateTime getEffectiveTime()
Gets the value of the effectiveTime property.- Returns:
- possible object is
DateTime
-
setEffectiveTime
public void setEffectiveTime(DateTime value)
Sets the value of the effectiveTime property.- Parameters:
value- allowed object isDateTime
-
getQuantity
public SimpleQuantity getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
public void setQuantity(SimpleQuantity value)
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getUnitPrice
public Money getUnitPrice()
Gets the value of the unitPrice property.- Returns:
- possible object is
Money
-
setUnitPrice
public void setUnitPrice(Money value)
Sets the value of the unitPrice property.- Parameters:
value- allowed object isMoney
-
getFactor
public Decimal getFactor()
Gets the value of the factor property.- Returns:
- possible object is
Decimal
-
setFactor
public void setFactor(Decimal value)
Sets the value of the factor property.- Parameters:
value- allowed object isDecimal
-
getPoints
public Decimal getPoints()
Gets the value of the points property.- Returns:
- possible object is
Decimal
-
setPoints
public void setPoints(Decimal value)
Sets the value of the points property.- Parameters:
value- allowed object isDecimal
-
setNet
public void setNet(Money value)
Sets the value of the net property.- Parameters:
value- allowed object isMoney
-
withEntityCodeableConcept
public ContractValuedItem withEntityCodeableConcept(CodeableConcept value)
-
withEntityReference
public ContractValuedItem withEntityReference(Reference value)
-
withIdentifier
public ContractValuedItem withIdentifier(Identifier value)
-
withEffectiveTime
public ContractValuedItem withEffectiveTime(DateTime value)
-
withQuantity
public ContractValuedItem withQuantity(SimpleQuantity value)
-
withUnitPrice
public ContractValuedItem withUnitPrice(Money value)
-
withFactor
public ContractValuedItem withFactor(Decimal value)
-
withPoints
public ContractValuedItem withPoints(Decimal value)
-
withNet
public ContractValuedItem withNet(Money value)
-
withModifierExtension
public ContractValuedItem withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ContractValuedItem withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ContractValuedItem withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ContractValuedItem withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ContractValuedItem withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-