Class ContractTerm
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ContractTerm
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ContractTerm 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.Term complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contract.Term"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/> <element name="issued" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="applies" type="{http://hl7.org/fhir}Period" minOccurs="0"/> <element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="subType" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="topic" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="action" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="actionReason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="agent" type="{http://hl7.org/fhir}Contract.Agent1" maxOccurs="unbounded" minOccurs="0"/> <element name="text" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="valuedItem" type="{http://hl7.org/fhir}Contract.ValuedItem1" maxOccurs="unbounded" minOccurs="0"/> <element name="group" type="{http://hl7.org/fhir}Contract.Term" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<CodeableConcept>actionprotected java.util.List<CodeableConcept>actionReasonprotected java.util.List<ContractAgent1>agentprotected Periodappliesprotected java.util.List<ContractTerm>groupprotected Identifieridentifierprotected DateTimeissuedprotected CodeableConceptsubTypeprotected Stringtextprotected java.util.List<Reference>topicprotected CodeableConcepttypeprotected java.util.List<ContractValuedItem1>valuedItem-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ContractTerm()
-
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)java.util.List<CodeableConcept>getAction()Gets the value of the action property.java.util.List<CodeableConcept>getActionReason()Gets the value of the actionReason property.java.util.List<ContractAgent1>getAgent()Gets the value of the agent property.PeriodgetApplies()Gets the value of the applies property.java.util.List<ContractTerm>getGroup()Gets the value of the group property.IdentifiergetIdentifier()Gets the value of the identifier property.DateTimegetIssued()Gets the value of the issued property.CodeableConceptgetSubType()Gets the value of the subType property.StringgetText()Gets the value of the text property.java.util.List<Reference>getTopic()Gets the value of the topic property.CodeableConceptgetType()Gets the value of the type property.java.util.List<ContractValuedItem1>getValuedItem()Gets the value of the valuedItem property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetApplies(Period value)Sets the value of the applies property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetIssued(DateTime value)Sets the value of the issued property.voidsetSubType(CodeableConcept value)Sets the value of the subType property.voidsetText(String value)Sets the value of the text property.voidsetType(CodeableConcept value)Sets the value of the type property.java.lang.StringtoString()ContractTermwithAction(java.util.Collection<CodeableConcept> values)ContractTermwithAction(CodeableConcept... values)ContractTermwithActionReason(java.util.Collection<CodeableConcept> values)ContractTermwithActionReason(CodeableConcept... values)ContractTermwithAgent(java.util.Collection<ContractAgent1> values)ContractTermwithAgent(ContractAgent1... values)ContractTermwithApplies(Period value)ContractTermwithExtension(java.util.Collection<Extension> values)ContractTermwithExtension(Extension... values)ContractTermwithGroup(java.util.Collection<ContractTerm> values)ContractTermwithGroup(ContractTerm... values)ContractTermwithId(java.lang.String value)ContractTermwithIdentifier(Identifier value)ContractTermwithIssued(DateTime value)ContractTermwithModifierExtension(java.util.Collection<Extension> values)ContractTermwithModifierExtension(Extension... values)ContractTermwithSubType(CodeableConcept value)ContractTermwithText(String value)ContractTermwithTopic(java.util.Collection<Reference> values)ContractTermwithTopic(Reference... values)ContractTermwithType(CodeableConcept value)ContractTermwithValuedItem(java.util.Collection<ContractValuedItem1> values)ContractTermwithValuedItem(ContractValuedItem1... values)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
-
issued
protected DateTime issued
-
applies
protected Period applies
-
type
protected CodeableConcept type
-
subType
protected CodeableConcept subType
-
topic
protected java.util.List<Reference> topic
-
action
protected java.util.List<CodeableConcept> action
-
actionReason
protected java.util.List<CodeableConcept> actionReason
-
agent
protected java.util.List<ContractAgent1> agent
-
text
protected String text
-
valuedItem
protected java.util.List<ContractValuedItem1> valuedItem
-
group
protected java.util.List<ContractTerm> group
-
-
Method Detail
-
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
-
getIssued
public DateTime getIssued()
Gets the value of the issued property.- Returns:
- possible object is
DateTime
-
setIssued
public void setIssued(DateTime value)
Sets the value of the issued property.- Parameters:
value- allowed object isDateTime
-
getApplies
public Period getApplies()
Gets the value of the applies property.- Returns:
- possible object is
Period
-
setApplies
public void setApplies(Period value)
Sets the value of the applies property.- Parameters:
value- allowed object isPeriod
-
getType
public CodeableConcept getType()
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
public void setType(CodeableConcept value)
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getSubType
public CodeableConcept getSubType()
Gets the value of the subType property.- Returns:
- possible object is
CodeableConcept
-
setSubType
public void setSubType(CodeableConcept value)
Sets the value of the subType property.- Parameters:
value- allowed object isCodeableConcept
-
getTopic
public java.util.List<Reference> getTopic()
Gets the value of the topic property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the topic property.For example, to add a new item, do as follows:
getTopic().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getAction
public java.util.List<CodeableConcept> getAction()
Gets the value of the action property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the action property.For example, to add a new item, do as follows:
getAction().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getActionReason
public java.util.List<CodeableConcept> getActionReason()
Gets the value of the actionReason property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the actionReason property.For example, to add a new item, do as follows:
getActionReason().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getAgent
public java.util.List<ContractAgent1> getAgent()
Gets the value of the agent property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the agent property.For example, to add a new item, do as follows:
getAgent().add(newItem);Objects of the following type(s) are allowed in the list
ContractAgent1
-
getText
public String getText()
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
public void setText(String value)
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getValuedItem
public java.util.List<ContractValuedItem1> getValuedItem()
Gets the value of the valuedItem property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the valuedItem property.For example, to add a new item, do as follows:
getValuedItem().add(newItem);Objects of the following type(s) are allowed in the list
ContractValuedItem1
-
getGroup
public java.util.List<ContractTerm> getGroup()
Gets the value of the group property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the group property.For example, to add a new item, do as follows:
getGroup().add(newItem);Objects of the following type(s) are allowed in the list
ContractTerm
-
withIdentifier
public ContractTerm withIdentifier(Identifier value)
-
withIssued
public ContractTerm withIssued(DateTime value)
-
withApplies
public ContractTerm withApplies(Period value)
-
withType
public ContractTerm withType(CodeableConcept value)
-
withSubType
public ContractTerm withSubType(CodeableConcept value)
-
withTopic
public ContractTerm withTopic(Reference... values)
-
withTopic
public ContractTerm withTopic(java.util.Collection<Reference> values)
-
withAction
public ContractTerm withAction(CodeableConcept... values)
-
withAction
public ContractTerm withAction(java.util.Collection<CodeableConcept> values)
-
withActionReason
public ContractTerm withActionReason(CodeableConcept... values)
-
withActionReason
public ContractTerm withActionReason(java.util.Collection<CodeableConcept> values)
-
withAgent
public ContractTerm withAgent(ContractAgent1... values)
-
withAgent
public ContractTerm withAgent(java.util.Collection<ContractAgent1> values)
-
withText
public ContractTerm withText(String value)
-
withValuedItem
public ContractTerm withValuedItem(ContractValuedItem1... values)
-
withValuedItem
public ContractTerm withValuedItem(java.util.Collection<ContractValuedItem1> values)
-
withGroup
public ContractTerm withGroup(ContractTerm... values)
-
withGroup
public ContractTerm withGroup(java.util.Collection<ContractTerm> values)
-
withModifierExtension
public ContractTerm withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ContractTerm withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ContractTerm withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ContractTerm withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ContractTerm 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
-
-