All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hl7.v3.StrucDocFootnote Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.06.09 at 07:53:44 PM PDT 
//


package org.hl7.v3;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


/**
 * 

Java class for StrucDoc.Footnote complex type. * *

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

 * <complexType name="StrucDoc.Footnote">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <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="renderMultiMedia" type="{urn:hl7-org:v3}StrucDoc.RenderMultiMedia"/>
 *         <element name="paragraph" type="{urn:hl7-org:v3}StrucDoc.Paragraph"/>
 *         <element name="list" type="{urn:hl7-org:v3}StrucDoc.List"/>
 *         <element name="table" type="{urn:hl7-org:v3}StrucDoc.Table"/>
 *       </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" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StrucDoc.Footnote", namespace = "urn:hl7-org:v3", propOrder = { "content" }) public class StrucDocFootnote { @XmlElementRefs({ @XmlElementRef(name = "linkHtml", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "content", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "br", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "sub", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "renderMultiMedia", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "list", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "sup", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "paragraph", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false), @XmlElementRef(name = "table", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false) }) @XmlMixed protected List content; @XmlAttribute(name = "ID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "language") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String language; @XmlAttribute(name = "styleCode") @XmlSchemaType(name = "NMTOKENS") protected List styleCode; /** * 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 * {@link JAXBElement }{@code <}{@link StrucDocLinkHtml }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocContent }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocBr }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocSub }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocRenderMultiMedia }{@code >} * {@link String } * {@link JAXBElement }{@code <}{@link StrucDocList }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocSup }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocParagraph }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocTable }{@code >} * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setID(String value) { this.id = value; } /** * Gets the value of the language property. * * @return * possible object is * {@link String } * */ public String getLanguage() { return language; } /** * Sets the value of the language property. * * @param value * allowed object is * {@link String } * */ public void setLanguage(String value) { this.language = value; } /** * 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 JAXB 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 * {@link String } * * */ public List getStyleCode() { if (styleCode == null) { styleCode = new ArrayList(); } return this.styleCode; } public StrucDocFootnote withContent(Serializable... values) { if (values!= null) { for (Serializable value: values) { getContent().add(value); } } return this; } public StrucDocFootnote withContent(Collection values) { if (values!= null) { getContent().addAll(values); } return this; } public StrucDocFootnote withID(String value) { setID(value); return this; } public StrucDocFootnote withLanguage(String value) { setLanguage(value); return this; } public StrucDocFootnote withStyleCode(String... values) { if (values!= null) { for (String value: values) { getStyleCode().add(value); } } return this; } public StrucDocFootnote withStyleCode(Collection values) { if (values!= null) { getStyleCode().addAll(values); } return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy