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

org.w3._2005.atom.AtomPersonConstruct Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.08.07 at 06:17:52 PM CEST 
//


package org.w3._2005.atom;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;


/**
 * 

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>
 *       <attGroup ref="{http://www.w3.org/2005/Atom}atomCommonAttributes"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "atomPersonConstruct", propOrder = { "namesAndUrisAndEmails" }) public class AtomPersonConstruct { @XmlElementRefs({ @XmlElementRef(name = "name", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class, required = false), @XmlElementRef(name = "email", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class, required = false), @XmlElementRef(name = "uri", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class, required = false) }) protected List> namesAndUrisAndEmails; @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace") @XmlSchemaType(name = "anyURI") protected String base; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String lang; /** * 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; } /** * Gets the value of the base property. * * @return * possible object is * {@link String } * */ public String getBase() { return base; } /** * Sets the value of the base property. * * @param value * allowed object is * {@link String } * */ public void setBase(String value) { this.base = value; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy