package org.hl7.v3; import java.io.Serializable; import java.util.ArrayList; 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.XmlRootElement; 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; /** * <p>Java class for StrucDoc.LinkHtml complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="StrucDoc.LinkHtml"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="footnote" type="{urn:hl7-org:v3}StrucDoc.Footnote"/> * <element name="footnoteRef" type="{urn:hl7-org:v3}StrucDoc.FootnoteRef"/> * </choice> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="rev" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" /> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StrucDoc.LinkHtml", propOrder = { "content" }) @XmlRootElement(name = "linkHtml") public class StrucDocLinkHtml extends ANY { /** * */ private static final long serialVersionUID = 1L; @XmlElementRefs({ @XmlElementRef(name = "footnoteRef", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "footnote", namespace = "urn:hl7-org:v3", type = JAXBElement.class) }) @XmlMixed protected List<Serializable> content; @XmlAttribute protected String name; @XmlAttribute protected String href; @XmlAttribute protected String rel; @XmlAttribute protected String rev; @XmlAttribute protected String title; @XmlAttribute(name = "ID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String attributeId; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String language; @XmlAttribute @XmlSchemaType(name = "NMTOKENS") protected List<String> styleCode; /** * Gets the value of the content property. * * <p> * 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 <CODE>set</CODE> method for the content property. * * <p> * For example, to add a new item, do as follows: * <pre> * getContent().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * {@link JAXBElement }{@code <}{@link StrucDocFootnoteRef }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocFootnote }{@code >} * * */ public List<Serializable> getContent() { if (content == null) { content = new ArrayList<Serializable>(); } return this.content; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } /** * Gets the value of the rel property. * * @return * possible object is * {@link String } * */ public String getRel() { return rel; } /** * Sets the value of the rel property. * * @param value * allowed object is * {@link String } * */ public void setRel(String value) { this.rel = value; } /** * Gets the value of the rev property. * * @return * possible object is * {@link String } * */ public String getRev() { return rev; } /** * Sets the value of the rev property. * * @param value * allowed object is * {@link String } * */ public void setRev(String value) { this.rev = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the attributeId property. * * @return * possible object is * {@link String } * */ public String getAttributeId() { return attributeId; } /** * Sets the value of the attributeId property. * * @param value * allowed object is * {@link String } * */ public void setAttributeId(String value) { this.attributeId = 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. * * <p> * 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 <CODE>set</CODE> method for the styleCode property. * * <p> * For example, to add a new item, do as follows: * <pre> * getStyleCode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getStyleCode() { if (styleCode == null) { styleCode = new ArrayList<String>(); } return this.styleCode; } }