Package org.hl7.fhir

Class MessageHeaderDestination

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class MessageHeaderDestination
    extends BackboneElement
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The header for a message exchange that is either requesting or responding to an action. The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.

    Java class for MessageHeader.Destination complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="MessageHeader.Destination">
       <complexContent>
         <extension base="{http://hl7.org/fhir}BackboneElement">
           <sequence>
             <element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="target" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="endpoint" type="{http://hl7.org/fhir}uri"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • endpoint

        protected Uri endpoint
    • Constructor Detail

      • MessageHeaderDestination

        public MessageHeaderDestination()
    • Method Detail

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getTarget

        public Reference getTarget()
        Gets the value of the target property.
        Returns:
        possible object is Reference
      • setTarget

        public void setTarget​(Reference value)
        Sets the value of the target property.
        Parameters:
        value - allowed object is Reference
      • getEndpoint

        public Uri getEndpoint()
        Gets the value of the endpoint property.
        Returns:
        possible object is Uri
      • setEndpoint

        public void setEndpoint​(Uri value)
        Sets the value of the endpoint property.
        Parameters:
        value - allowed object is Uri
      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class BackboneElement
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class BackboneElement
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class BackboneElement
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class BackboneElement
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class BackboneElement