Class MessageHeader
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for MessageHeader complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageHeader">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="timestamp" type="{http://hl7.org/fhir}instant"/>
<element name="event" type="{http://hl7.org/fhir}Coding"/>
<element name="response" type="{http://hl7.org/fhir}MessageHeader.Response" minOccurs="0"/>
<element name="source" type="{http://hl7.org/fhir}MessageHeader.Source"/>
<element name="destination" type="{http://hl7.org/fhir}MessageHeader.Destination" maxOccurs="unbounded" minOccurs="0"/>
<element name="enterer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="receiver" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="responsible" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="reason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="data" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected List<MessageHeaderDestination> protected Referenceprotected Codingprotected CodeableConceptprotected Referenceprotected MessageHeaderResponseprotected Referenceprotected MessageHeaderSourceprotected InstantFields 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 author property.getData()Gets the value of the data property.Gets the value of the destination property.Gets the value of the enterer property.getEvent()Gets the value of the event property.Gets the value of the reason property.Gets the value of the receiver property.Gets the value of the response property.Gets the value of the responsible property.Gets the value of the source property.Gets the value of the timestamp property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the author property.voidvoidvoidsetEnterer(Reference value) Sets the value of the enterer property.voidSets the value of the event property.voidsetReason(CodeableConcept value) Sets the value of the reason property.voidsetReceiver(Reference value) Sets the value of the receiver property.voidsetResponse(MessageHeaderResponse value) Sets the value of the response property.voidsetResponsible(Reference value) Sets the value of the responsible property.voidsetSource(MessageHeaderSource value) Sets the value of the source property.voidsetTimestamp(Instant value) Sets the value of the timestamp property.toString()withAuthor(Reference value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withData(Collection<Reference> values) withDestination(MessageHeaderDestination... values) withEnterer(Reference value) withExtension(Collection<Extension> values) withExtension(Extension... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withReason(CodeableConcept value) withReceiver(Reference value) withResponsible(Reference value) withSource(MessageHeaderSource value) withTimestamp(Instant value) 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
-
timestamp
-
event
-
response
-
source
-
destination
-
enterer
-
author
-
receiver
-
responsible
-
reason
-
data
-
-
Constructor Details
-
MessageHeader
public MessageHeader()
-
-
Method Details
-
getTimestamp
Gets the value of the timestamp property.- Returns:
- possible object is
Instant
-
setTimestamp
Sets the value of the timestamp property.- Parameters:
value- allowed object isInstant
-
getEvent
Gets the value of the event property.- Returns:
- possible object is
Coding
-
setEvent
Sets the value of the event property.- Parameters:
value- allowed object isCoding
-
getResponse
Gets the value of the response property.- Returns:
- possible object is
MessageHeaderResponse
-
setResponse
Sets the value of the response property.- Parameters:
value- allowed object isMessageHeaderResponse
-
getSource
Gets the value of the source property.- Returns:
- possible object is
MessageHeaderSource
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isMessageHeaderSource
-
getDestination
Gets the value of the destination 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 destination property.For example, to add a new item, do as follows:
getDestination().add(newItem);Objects of the following type(s) are allowed in the list
MessageHeaderDestination -
getEnterer
Gets the value of the enterer property.- Returns:
- possible object is
Reference
-
setEnterer
Sets the value of the enterer property.- Parameters:
value- allowed object isReference
-
getAuthor
Gets the value of the author property.- Returns:
- possible object is
Reference
-
setAuthor
Sets the value of the author property.- Parameters:
value- allowed object isReference
-
getReceiver
Gets the value of the receiver property.- Returns:
- possible object is
Reference
-
setReceiver
Sets the value of the receiver property.- Parameters:
value- allowed object isReference
-
getResponsible
Gets the value of the responsible property.- Returns:
- possible object is
Reference
-
setResponsible
Sets the value of the responsible property.- Parameters:
value- allowed object isReference
-
getReason
Gets the value of the reason property.- Returns:
- possible object is
CodeableConcept
-
setReason
Sets the value of the reason property.- Parameters:
value- allowed object isCodeableConcept
-
getData
Gets the value of the data 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 data property.For example, to add a new item, do as follows:
getData().add(newItem);Objects of the following type(s) are allowed in the list
Reference -
withTimestamp
-
withEvent
-
withResponse
-
withSource
-
withDestination
-
withDestination
-
withEnterer
-
withAuthor
-
withReceiver
-
withResponsible
-
withReason
-
withData
-
withData
-
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
-
setDestination
-
setData
-