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

org.jooq.conf.RenderMapping Maven / Gradle / Ivy

The 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: 2017.01.20 at 02:47:40 PM CET 
//


package org.jooq.conf;

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.XmlType;


/**
 * 

Java class for RenderMapping complex type. * *

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

 * <complexType name="RenderMapping">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="defaultSchema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="schemata" type="{http://www.jooq.org/xsd/jooq-runtime-3.9.0.xsd}MappedSchemata" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RenderMapping", propOrder = { }) @SuppressWarnings({ "all" }) public class RenderMapping extends SettingsBase implements Serializable, Cloneable { private final static long serialVersionUID = 390L; protected String defaultSchema; @XmlElementWrapper(name = "schemata") @XmlElement(name = "schema") protected List schemata; /** * Gets the value of the defaultSchema property. * * @return * possible object is * {@link String } * */ public String getDefaultSchema() { return defaultSchema; } /** * Sets the value of the defaultSchema property. * * @param value * allowed object is * {@link String } * */ public void setDefaultSchema(String value) { this.defaultSchema = value; } public List getSchemata() { if (schemata == null) { schemata = new ArrayList(); } return schemata; } public void setSchemata(List schemata) { this.schemata = schemata; } public RenderMapping withDefaultSchema(String value) { setDefaultSchema(value); return this; } public RenderMapping withSchemata(MappedSchema... values) { if (values!= null) { for (MappedSchema value: values) { getSchemata().add(value); } } return this; } public RenderMapping withSchemata(Collection values) { if (values!= null) { getSchemata().addAll(values); } return this; } public RenderMapping withSchemata(List schemata) { setSchemata(schemata); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy