Package org.hl7.v3

Class StrucDocParagraph

java.lang.Object
org.hl7.v3.StrucDocParagraph

public class StrucDocParagraph extends Object

Java class for StrucDoc.Paragraph complex type.

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

 <complexType name="StrucDoc.Paragraph">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="caption" type="{urn:hl7-org:v3}StrucDoc.Caption" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="content" type="{urn:hl7-org:v3}StrucDoc.Content"/>
           <element name="linkHtml" type="{urn:hl7-org:v3}StrucDoc.LinkHtml"/>
           <element name="sub" type="{urn:hl7-org:v3}StrucDoc.Sub"/>
           <element name="sup" type="{urn:hl7-org:v3}StrucDoc.Sup"/>
           <element name="br" type="{urn:hl7-org:v3}StrucDoc.Br"/>
           <element name="footnote" type="{urn:hl7-org:v3}StrucDoc.Footnote"/>
           <element name="footnoteRef" type="{urn:hl7-org:v3}StrucDoc.FootnoteRef"/>
           <element name="renderMultiMedia" type="{urn:hl7-org:v3}StrucDoc.RenderMultiMedia"/>
         </choice>
       </sequence>
       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="styleCode" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • StrucDocParagraph

      public StrucDocParagraph()
  • Method Details

    • getContent

      public List<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 Jakarta XML Binding 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<StrucDocBr> JAXBElement<StrucDocCaption> JAXBElement<StrucDocContent> JAXBElement<StrucDocFootnote> JAXBElement<StrucDocFootnoteRef> JAXBElement<StrucDocLinkHtml> JAXBElement<StrucDocRenderMultiMedia> JAXBElement<StrucDocSub> JAXBElement<StrucDocSup> String

    • getID

      public String getID()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setID

      public void setID(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getLanguage

      public String getLanguage()
      Gets the value of the language property.
      Returns:
      possible object is String
    • setLanguage

      public void setLanguage(String value)
      Sets the value of the language property.
      Parameters:
      value - allowed object is String
    • getStyleCode

      public List<String> getStyleCode()
      Gets the value of the styleCode 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 set method for the styleCode property.

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

          getStyleCode().add(newItem);
       

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

    • withContent

      public StrucDocParagraph withContent(Serializable... values)
    • withContent

      public StrucDocParagraph withContent(Collection<Serializable> values)
    • withID

      public StrucDocParagraph withID(String value)
    • withLanguage

      public StrucDocParagraph withLanguage(String value)
    • withStyleCode

      public StrucDocParagraph withStyleCode(String... values)
    • withStyleCode

      public StrucDocParagraph withStyleCode(Collection<String> values)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class Object