org.bremersee.w3c.atom.Author Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.30 at 06:40:44 PM CEST
//
package org.bremersee.w3c.atom;
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.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for atomPersonConstruct complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="atomPersonConstruct">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{http://www.w3.org/2005/Atom}name"/>
* <element ref="{http://www.w3.org/2005/Atom}uri"/>
* <element ref="{http://www.w3.org/2005/Atom}email"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "atomPersonConstruct", propOrder = {
"namesAndUrisAndEmails"
})
@XmlRootElement(name = "author")
public class Author
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElementRefs({
@XmlElementRef(name = "name", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class),
@XmlElementRef(name = "uri", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class),
@XmlElementRef(name = "email", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class)
})
protected List> namesAndUrisAndEmails;
/**
* Gets the value of the namesAndUrisAndEmails 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 namesAndUrisAndEmails property.
*
*
* For example, to add a new item, do as follows:
*
* getNamesAndUrisAndEmails().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*
*/
public List> getNamesAndUrisAndEmails() {
if (namesAndUrisAndEmails == null) {
namesAndUrisAndEmails = new ArrayList>();
}
return this.namesAndUrisAndEmails;
}
}