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

org.tinywind.springi18nconverter.jaxb.Configuration Maven / Gradle / Ivy

There is a newer version: 0.1.1
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.06.30 at 02:49:33 AM KST 
//


package org.tinywind.springi18nconverter.jaxb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="sources" type="{https://raw.githubusercontent.com/tinywind/SPRING-I18N-CONVERTER/master/spring-i18n-converter/src/main/resources/xsd/spring-i18n-converter-0.1.xsd}Sources"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "configuration") @SuppressWarnings({ "all" }) public class Configuration implements Serializable { private final static long serialVersionUID = 380L; @XmlElementWrapper(name = "sources", required = true) @XmlElement(name = "source") protected List sources; public List getSources() { if (sources == null) { sources = new ArrayList(); } return sources; } public void setSources(List sources) { this.sources = sources; } public Configuration withSources(Source... values) { if (values!= null) { for (Source value: values) { getSources().add(value); } } return this; } public Configuration withSources(Collection values) { if (values!= null) { getSources().addAll(values); } return this; } public Configuration withSources(List sources) { setSources(sources); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy