Package org.hl7.v3

Class StrucDocTitle

java.lang.Object
org.hl7.v3.StrucDocTitle

public class StrucDocTitle extends Object

Java class for StrucDoc.Title complex type.

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

 <complexType name="StrucDoc.Title">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="content" type="{urn:hl7-org:v3}StrucDoc.TitleContent"/>
         <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.TitleFootnote"/>
         <element name="footnoteRef" type="{urn:hl7-org:v3}StrucDoc.FootnoteRef"/>
       </choice>
       <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" />
       <attribute name="mediaType" type="{http://www.w3.org/2001/XMLSchema}string" fixed="text/x-hl7-title+xml" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • StrucDocTitle

      public StrucDocTitle()
  • 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<StrucDocFootnoteRef> JAXBElement<StrucDocSub> JAXBElement<StrucDocSup> JAXBElement<StrucDocTitleContent> JAXBElement<StrucDocTitleFootnote> 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

    • getMediaType

      public String getMediaType()
      Gets the value of the mediaType property.
      Returns:
      possible object is String
    • setMediaType

      public void setMediaType(String value)
      Sets the value of the mediaType property.
      Parameters:
      value - allowed object is String
    • withContent

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

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

      public StrucDocTitle withID(String value)
    • withLanguage

      public StrucDocTitle withLanguage(String value)
    • withStyleCode

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

      public StrucDocTitle withStyleCode(Collection<String> values)
    • withMediaType

      public StrucDocTitle withMediaType(String value)
    • 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