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

de.focus_shift.jollyday.jackson.mapping.Sources Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
package de.focus_shift.jollyday.jackson.mapping;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;

import java.util.ArrayList;
import java.util.List;


/**
 * 

Java class for Sources complex type. * *

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

 * <complexType name="Sources">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Source" type="{https://focus_shift.de/jollyday/schema/holiday}Source" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ public class Sources { @JacksonXmlElementWrapper(localName = "Source", useWrapping = false) protected List source; /** * Gets the value of the source 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 Jakarta XML Binding object. * This is why there is not a set method for the source property. * *

* For example, to add a new item, do as follows: *

   *    getSource().add(newItem);
   * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Source } */ public List getSource() { if (source == null) { source = new ArrayList<>(); } return this.source; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy