Class Contract
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for Contract complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contract">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<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="subject" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="topic" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="authority" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="domain" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="subType" type="{http://hl7.org/fhir}CodeableConcept" 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.Agent" maxOccurs="unbounded" minOccurs="0"/>
<element name="signer" type="{http://hl7.org/fhir}Contract.Signer" maxOccurs="unbounded" minOccurs="0"/>
<element name="valuedItem" type="{http://hl7.org/fhir}Contract.ValuedItem" maxOccurs="unbounded" minOccurs="0"/>
<element name="term" type="{http://hl7.org/fhir}Contract.Term" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element name="bindingAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="bindingReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="friendly" type="{http://hl7.org/fhir}Contract.Friendly" maxOccurs="unbounded" minOccurs="0"/>
<element name="legal" type="{http://hl7.org/fhir}Contract.Legal" maxOccurs="unbounded" minOccurs="0"/>
<element name="rule" type="{http://hl7.org/fhir}Contract.Rule" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CodeableConcept> protected List<CodeableConcept> protected List<ContractAgent> protected Periodprotected Attachmentprotected Referenceprotected List<ContractFriendly> protected Identifierprotected DateTimeprotected List<ContractLegal> protected List<ContractRule> protected List<ContractSigner> protected List<CodeableConcept> protected List<ContractTerm> protected CodeableConceptprotected List<ContractValuedItem> Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the action property.Gets the value of the actionReason property.getAgent()Gets the value of the agent property.Gets the value of the applies property.Gets the value of the authority property.Gets the value of the bindingAttachment property.Gets the value of the bindingReference property.Gets the value of the domain property.Gets the value of the friendly property.Gets the value of the identifier property.Gets the value of the issued property.getLegal()Gets the value of the legal property.getRule()Gets the value of the rule property.Gets the value of the signer property.Gets the value of the subject property.Gets the value of the subType property.getTerm()Gets the value of the term property.getTopic()Gets the value of the topic property.getType()Gets the value of the type property.Gets the value of the valuedItem property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAction(List<CodeableConcept> value) voidsetActionReason(List<CodeableConcept> value) voidsetAgent(List<ContractAgent> value) voidsetApplies(Period value) Sets the value of the applies property.voidsetAuthority(List<Reference> value) voidsetBindingAttachment(Attachment value) Sets the value of the bindingAttachment property.voidsetBindingReference(Reference value) Sets the value of the bindingReference property.voidvoidsetFriendly(List<ContractFriendly> value) voidsetIdentifier(Identifier value) Sets the value of the identifier property.voidSets the value of the issued property.voidsetLegal(List<ContractLegal> value) voidsetRule(List<ContractRule> value) voidsetSigner(List<ContractSigner> value) voidsetSubject(List<Reference> value) voidsetSubType(List<CodeableConcept> value) voidsetTerm(List<ContractTerm> value) voidvoidsetType(CodeableConcept value) Sets the value of the type property.voidsetValuedItem(List<ContractValuedItem> value) toString()withAction(Collection<CodeableConcept> values) withAction(CodeableConcept... values) withActionReason(Collection<CodeableConcept> values) withActionReason(CodeableConcept... values) withAgent(Collection<ContractAgent> values) withAgent(ContractAgent... values) withApplies(Period value) withAuthority(Collection<Reference> values) withAuthority(Reference... values) withBindingAttachment(Attachment value) withBindingReference(Reference value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDomain(Collection<Reference> values) withDomain(Reference... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withFriendly(Collection<ContractFriendly> values) withFriendly(ContractFriendly... values) withIdentifier(Identifier value) withImplicitRules(Uri value) withIssued(DateTime value) withLanguage(Code value) withLegal(Collection<ContractLegal> values) withLegal(ContractLegal... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withRule(Collection<ContractRule> values) withRule(ContractRule... values) withSigner(Collection<ContractSigner> values) withSigner(ContractSigner... values) withSubject(Collection<Reference> values) withSubject(Reference... values) withSubType(Collection<CodeableConcept> values) withSubType(CodeableConcept... values) withTerm(Collection<ContractTerm> values) withTerm(ContractTerm... values) withTopic(Collection<Reference> values) withType(CodeableConcept value) withValuedItem(Collection<ContractValuedItem> values) withValuedItem(ContractValuedItem... values) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
issued
-
applies
-
subject
-
topic
-
authority
-
domain
-
type
-
subType
-
action
-
actionReason
-
agent
-
signer
-
valuedItem
-
term
-
bindingAttachment
-
bindingReference
-
friendly
-
legal
-
rule
-
-
Constructor Details
-
Contract
public Contract()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getIssued
Gets the value of the issued property.- Returns:
- possible object is
DateTime
-
setIssued
Sets the value of the issued property.- Parameters:
value- allowed object isDateTime
-
getApplies
Gets the value of the applies property.- Returns:
- possible object is
Period
-
setApplies
Sets the value of the applies property.- Parameters:
value- allowed object isPeriod
-
getSubject
Gets the value of the subject 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 Jakarta XML Binding object. This is why there is not a
setmethod for the subject property.For example, to add a new item, do as follows:
getSubject().add(newItem);Objects of the following type(s) are allowed in the 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 Jakarta XML Binding 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 -
getAuthority
Gets the value of the authority 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 Jakarta XML Binding object. This is why there is not a
setmethod for the authority property.For example, to add a new item, do as follows:
getAuthority().add(newItem);Objects of the following type(s) are allowed in the list
Reference -
getDomain
Gets the value of the domain 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 Jakarta XML Binding object. This is why there is not a
setmethod for the domain property.For example, to add a new item, do as follows:
getDomain().add(newItem);Objects of the following type(s) are allowed in the list
Reference -
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getSubType
Gets the value of the subType 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 Jakarta XML Binding object. This is why there is not a
setmethod for the subType property.For example, to add a new item, do as follows:
getSubType().add(newItem);Objects of the following type(s) are allowed in the 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 Jakarta XML Binding 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
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 Jakarta XML Binding 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
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 Jakarta XML Binding 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
ContractAgent -
getSigner
Gets the value of the signer 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 Jakarta XML Binding object. This is why there is not a
setmethod for the signer property.For example, to add a new item, do as follows:
getSigner().add(newItem);Objects of the following type(s) are allowed in the list
ContractSigner -
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 Jakarta XML Binding 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
ContractValuedItem -
getTerm
Gets the value of the term 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 Jakarta XML Binding object. This is why there is not a
setmethod for the term property.For example, to add a new item, do as follows:
getTerm().add(newItem);Objects of the following type(s) are allowed in the list
ContractTerm -
getBindingAttachment
Gets the value of the bindingAttachment property.- Returns:
- possible object is
Attachment
-
setBindingAttachment
Sets the value of the bindingAttachment property.- Parameters:
value- allowed object isAttachment
-
getBindingReference
Gets the value of the bindingReference property.- Returns:
- possible object is
Reference
-
setBindingReference
Sets the value of the bindingReference property.- Parameters:
value- allowed object isReference
-
getFriendly
Gets the value of the friendly 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 Jakarta XML Binding object. This is why there is not a
setmethod for the friendly property.For example, to add a new item, do as follows:
getFriendly().add(newItem);Objects of the following type(s) are allowed in the list
ContractFriendly -
getLegal
Gets the value of the legal 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 Jakarta XML Binding object. This is why there is not a
setmethod for the legal property.For example, to add a new item, do as follows:
getLegal().add(newItem);Objects of the following type(s) are allowed in the list
ContractLegal -
getRule
Gets the value of the rule 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 Jakarta XML Binding object. This is why there is not a
setmethod for the rule property.For example, to add a new item, do as follows:
getRule().add(newItem);Objects of the following type(s) are allowed in the list
ContractRule -
withIdentifier
-
withIssued
-
withApplies
-
withSubject
-
withSubject
-
withTopic
-
withTopic
-
withAuthority
-
withAuthority
-
withDomain
-
withDomain
-
withType
-
withSubType
-
withSubType
-
withAction
-
withAction
-
withActionReason
-
withActionReason
-
withAgent
-
withAgent
-
withSigner
-
withSigner
-
withValuedItem
-
withValuedItem
-
withTerm
-
withTerm
-
withBindingAttachment
-
withBindingReference
-
withFriendly
-
withFriendly
-
withLegal
-
withLegal
-
withRule
-
withRule
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
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 classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setSubject
-
setTopic
-
setAuthority
-
setDomain
-
setSubType
-
setAction
-
setActionReason
-
setAgent
-
setSigner
-
setValuedItem
-
setTerm
-
setFriendly
-
setLegal
-
setRule
-