Class Narrative

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

    public class Narrative
    extends Executable
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    Java class for Narrative complex type.

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

     <complexType name="Narrative">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="s" type="{urn:hl7-org:cql-annotations:r1}Narrative" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="r" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.io.Serializable> content  
      protected java.lang.String r  
    • Constructor Summary

      Constructors 
      Constructor Description
      Narrative()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      boolean equals​(java.lang.Object object)  
      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)  
      java.util.List<java.io.Serializable> getContent()
      Gets the value of the content property.
      java.lang.String getR()
      Gets the value of the r property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setR​(java.lang.String value)
      Sets the value of the r property.
      java.lang.String toString()  
      Narrative withContent​(java.io.Serializable... values)  
      Narrative withContent​(java.util.Collection<java.io.Serializable> values)  
      Narrative withR​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • content

        protected java.util.List<java.io.Serializable> content
      • r

        protected java.lang.String r
    • Constructor Detail

      • Narrative

        public Narrative()
    • Method Detail

      • getContent

        public java.util.List<java.io.Serializable> getContent()
        Gets the value of the content 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 content property.

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

            getContent().add(newItem);
         

        Objects of the following type(s) are allowed in the list JAXBElement<Narrative> String

      • getR

        public java.lang.String getR()
        Gets the value of the r property.
        Returns:
        possible object is String
      • setR

        public void setR​(java.lang.String value)
        Sets the value of the r property.
        Parameters:
        value - allowed object is String
      • withContent

        public Narrative withContent​(java.io.Serializable... values)
      • withContent

        public Narrative withContent​(java.util.Collection<java.io.Serializable> values)
      • withR

        public Narrative withR​(java.lang.String value)
      • 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
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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