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

org.jooq.util.xml.jaxb.InformationSchema 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:50:09 PM CET 
//


package org.jooq.util.xml.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="schemata" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}Schemata" minOccurs="0"/>
 *         <element name="sequences" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}Sequences" minOccurs="0"/>
 *         <element name="tables" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}Tables" minOccurs="0"/>
 *         <element name="columns" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}Columns" minOccurs="0"/>
 *         <element name="table_constraints" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}TableConstraints" minOccurs="0"/>
 *         <element name="key_column_usages" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}KeyColumnUsages" minOccurs="0"/>
 *         <element name="referential_constraints" type="{http://www.jooq.org/xsd/jooq-meta-3.5.4.xsd}ReferentialConstraints" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "information_schema") @SuppressWarnings({ "all" }) public class InformationSchema implements Serializable { private final static long serialVersionUID = 354L; @XmlElementWrapper(name = "schemata") @XmlElement(name = "schema") protected List schemata; @XmlElementWrapper(name = "sequences") @XmlElement(name = "sequence") protected List sequences; @XmlElementWrapper(name = "tables") @XmlElement(name = "table") protected List tables; @XmlElementWrapper(name = "columns") @XmlElement(name = "column") protected List columns; @XmlElementWrapper(name = "table_constraints") @XmlElement(name = "table_constraint") protected List tableConstraints; @XmlElementWrapper(name = "key_column_usages") @XmlElement(name = "key_column_usage") protected List keyColumnUsages; @XmlElementWrapper(name = "referential_constraints") @XmlElement(name = "referential_constraint") protected List referentialConstraints; public List getSchemata() { if (schemata == null) { schemata = new ArrayList(); } return schemata; } public void setSchemata(List schemata) { this.schemata = schemata; } public List getSequences() { if (sequences == null) { sequences = new ArrayList(); } return sequences; } public void setSequences(List sequences) { this.sequences = sequences; } public List
getTables() { if (tables == null) { tables = new ArrayList
(); } return tables; } public void setTables(List
tables) { this.tables = tables; } public List getColumns() { if (columns == null) { columns = new ArrayList(); } return columns; } public void setColumns(List columns) { this.columns = columns; } public List getTableConstraints() { if (tableConstraints == null) { tableConstraints = new ArrayList(); } return tableConstraints; } public void setTableConstraints(List tableConstraints) { this.tableConstraints = tableConstraints; } public List getKeyColumnUsages() { if (keyColumnUsages == null) { keyColumnUsages = new ArrayList(); } return keyColumnUsages; } public void setKeyColumnUsages(List keyColumnUsages) { this.keyColumnUsages = keyColumnUsages; } public List getReferentialConstraints() { if (referentialConstraints == null) { referentialConstraints = new ArrayList(); } return referentialConstraints; } public void setReferentialConstraints(List referentialConstraints) { this.referentialConstraints = referentialConstraints; } public InformationSchema withSchemata(Schema... values) { if (values!= null) { for (Schema value: values) { getSchemata().add(value); } } return this; } public InformationSchema withSchemata(Collection values) { if (values!= null) { getSchemata().addAll(values); } return this; } public InformationSchema withSchemata(List schemata) { setSchemata(schemata); return this; } public InformationSchema withSequences(Sequence... values) { if (values!= null) { for (Sequence value: values) { getSequences().add(value); } } return this; } public InformationSchema withSequences(Collection values) { if (values!= null) { getSequences().addAll(values); } return this; } public InformationSchema withSequences(List sequences) { setSequences(sequences); return this; } public InformationSchema withTables(Table... values) { if (values!= null) { for (Table value: values) { getTables().add(value); } } return this; } public InformationSchema withTables(Collection
values) { if (values!= null) { getTables().addAll(values); } return this; } public InformationSchema withTables(List
tables) { setTables(tables); return this; } public InformationSchema withColumns(Column... values) { if (values!= null) { for (Column value: values) { getColumns().add(value); } } return this; } public InformationSchema withColumns(Collection values) { if (values!= null) { getColumns().addAll(values); } return this; } public InformationSchema withColumns(List columns) { setColumns(columns); return this; } public InformationSchema withTableConstraints(TableConstraint... values) { if (values!= null) { for (TableConstraint value: values) { getTableConstraints().add(value); } } return this; } public InformationSchema withTableConstraints(Collection values) { if (values!= null) { getTableConstraints().addAll(values); } return this; } public InformationSchema withTableConstraints(List tableConstraints) { setTableConstraints(tableConstraints); return this; } public InformationSchema withKeyColumnUsages(KeyColumnUsage... values) { if (values!= null) { for (KeyColumnUsage value: values) { getKeyColumnUsages().add(value); } } return this; } public InformationSchema withKeyColumnUsages(Collection values) { if (values!= null) { getKeyColumnUsages().addAll(values); } return this; } public InformationSchema withKeyColumnUsages(List keyColumnUsages) { setKeyColumnUsages(keyColumnUsages); return this; } public InformationSchema withReferentialConstraints(ReferentialConstraint... values) { if (values!= null) { for (ReferentialConstraint value: values) { getReferentialConstraints().add(value); } } return this; } public InformationSchema withReferentialConstraints(Collection values) { if (values!= null) { getReferentialConstraints().addAll(values); } return this; } public InformationSchema withReferentialConstraints(List referentialConstraints) { setReferentialConstraints(referentialConstraints); return this; } }