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

org.jooq.util.jaxb.Catalog Maven / Gradle / Ivy

There is a newer version: 3.19.16
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: 2017.05.30 at 05:23:01 PM CEST 
//


package org.jooq.util.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.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jooq.util.jaxb.tools.StringAdapter;


/**
 * 

Java class for Catalog complex type. * *

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

 * <complexType name="Catalog">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="inputCatalog" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="outputCatalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="outputCatalogToDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="schemata" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Schemata" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Catalog", propOrder = { }) @SuppressWarnings({ "all" }) public class Catalog implements Serializable { private final static long serialVersionUID = 392L; @XmlElement(required = true, defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String inputCatalog = ""; @XmlJavaTypeAdapter(StringAdapter.class) protected String outputCatalog; @XmlElement(defaultValue = "false") protected Boolean outputCatalogToDefault = false; @XmlElementWrapper(name = "schemata") @XmlElement(name = "schema") protected List schemata; /** * Gets the value of the inputCatalog property. * * @return * possible object is * {@link String } * */ public String getInputCatalog() { return inputCatalog; } /** * Sets the value of the inputCatalog property. * * @param value * allowed object is * {@link String } * */ public void setInputCatalog(String value) { this.inputCatalog = value; } /** * Gets the value of the outputCatalog property. * * @return * possible object is * {@link String } * */ public String getOutputCatalog() { return outputCatalog; } /** * Sets the value of the outputCatalog property. * * @param value * allowed object is * {@link String } * */ public void setOutputCatalog(String value) { this.outputCatalog = value; } /** * Gets the value of the outputCatalogToDefault property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOutputCatalogToDefault() { return outputCatalogToDefault; } /** * Sets the value of the outputCatalogToDefault property. * * @param value * allowed object is * {@link Boolean } * */ public void setOutputCatalogToDefault(Boolean value) { this.outputCatalogToDefault = value; } public List getSchemata() { if (schemata == null) { schemata = new ArrayList(); } return schemata; } public void setSchemata(List schemata) { this.schemata = schemata; } public Catalog withInputCatalog(String value) { setInputCatalog(value); return this; } public Catalog withOutputCatalog(String value) { setOutputCatalog(value); return this; } public Catalog withOutputCatalogToDefault(Boolean value) { setOutputCatalogToDefault(value); return this; } public Catalog withSchemata(Schema... values) { if (values!= null) { for (Schema value: values) { getSchemata().add(value); } } return this; } public Catalog withSchemata(Collection values) { if (values!= null) { getSchemata().addAll(values); } return this; } public Catalog withSchemata(List schemata) { setSchemata(schemata); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy