Package org.hl7.fhir

Class DomainResource

    • Constructor Detail

      • DomainResource

        public DomainResource()
    • Method Detail

      • getText

        public Narrative getText()
        Gets the value of the text property.
        Returns:
        possible object is Narrative
      • setText

        public void setText​(Narrative value)
        Sets the value of the text property.
        Parameters:
        value - allowed object is Narrative
      • getContained

        public java.util.List<ResourceContainer> getContained()
        Gets the value of the contained 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 set method for the contained property.

        For example, to add a new item, do as follows:

            getContained().add(newItem);
         

        Objects of the following type(s) are allowed in the list ResourceContainer

      • getExtension

        public java.util.List<Extension> getExtension()
        Gets the value of the extension 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 set method for the extension property.

        For example, to add a new item, do as follows:

            getExtension().add(newItem);
         

        Objects of the following type(s) are allowed in the list Extension

      • getModifierExtension

        public java.util.List<Extension> getModifierExtension()
        Gets the value of the modifierExtension 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 set method for the modifierExtension property.

        For example, to add a new item, do as follows:

            getModifierExtension().add(newItem);
         

        Objects of the following type(s) are allowed in the list Extension

      • 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 Resource
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class Resource
      • 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 Resource
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Resource
      • 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 Resource
      • 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 Resource