package org.docx4j.bibliography; 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.XmlElementRef; import javax.xml.bind.annotation.XmlElementRefs; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for CT_AuthorType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="CT_AuthorType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="Artist" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Author" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameOrCorporateType"/> * <element name="BookAuthor" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Compiler" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Composer" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Conductor" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Counsel" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Director" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Editor" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Interviewee" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Interviewer" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Inventor" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Performer" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameOrCorporateType"/> * <element name="ProducerName" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Translator" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * <element name="Writer" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_NameType"/> * </choice> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_AuthorType", propOrder = { "artistOrAuthorOrBookAuthor" }) public class CTAuthorType { @XmlElementRefs({ @XmlElementRef(name = "Counsel", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Director", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Composer", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Performer", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Conductor", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "BookAuthor", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Interviewer", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Editor", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "ProducerName", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Translator", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Author", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Artist", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Interviewee", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Compiler", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Writer", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class), @XmlElementRef(name = "Inventor", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", type = JAXBElement.class) }) protected List<JAXBElement<?>> artistOrAuthorOrBookAuthor; /** * Gets the value of the artistOrAuthorOrBookAuthor 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 artistOrAuthorOrBookAuthor property. * * <p> * For example, to add a new item, do as follows: * <pre> * getArtistOrAuthorOrBookAuthor().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameOrCorporateType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameOrCorporateType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * {@link JAXBElement }{@code <}{@link CTNameType }{@code >} * * */ public List<JAXBElement<?>> getArtistOrAuthorOrBookAuthor() { if (artistOrAuthorOrBookAuthor == null) { artistOrAuthorOrBookAuthor = new ArrayList<JAXBElement<?>>(); } return this.artistOrAuthorOrBookAuthor; } }