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

org.jooq.util.jaxb.Database 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: 2015.11.12 at 10:51:51 AM CET 
//


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


/**
 * 

Java class for Database complex type. * *

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

 * <complexType name="Database">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="properties" type="{http://www.jooq.org/xsd/jooq-codegen-3.7.0.xsd}Properties" minOccurs="0"/>
 *         <element name="regexFlags" type="{http://www.jooq.org/xsd/jooq-codegen-3.7.0.xsd}RegexFlags" minOccurs="0"/>
 *         <element name="includes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="excludes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="includeExcludeColumns" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="recordVersionFields" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="recordTimestampFields" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="syntheticPrimaryKeys" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="overridePrimaryKeys" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="dateAsTimestamp" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ignoreProcedureReturnValues" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="unsignedTypes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="inputSchema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="schemaVersionProvider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="outputSchema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="outputSchemaToDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="schemata" type="{http://www.jooq.org/xsd/jooq-codegen-3.7.0.xsd}Schemata" minOccurs="0"/>
 *         <element name="customTypes" type="{http://www.jooq.org/xsd/jooq-codegen-3.7.0.xsd}CustomTypes" minOccurs="0"/>
 *         <element name="enumTypes" type="{http://www.jooq.org/xsd/jooq-codegen-3.7.0.xsd}EnumTypes" minOccurs="0"/>
 *         <element name="forcedTypes" type="{http://www.jooq.org/xsd/jooq-codegen-3.7.0.xsd}ForcedTypes" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Database", propOrder = { }) @SuppressWarnings({ "all" }) public class Database implements Serializable { private final static long serialVersionUID = 370L; @XmlElement(required = true) @XmlJavaTypeAdapter(TrimAdapter.class) protected String name; @XmlList @XmlElement(defaultValue = "COMMENTS CASE_INSENSITIVE") protected List regexFlags; @XmlElement(defaultValue = ".*") @XmlJavaTypeAdapter(TrimAdapter.class) protected String includes = ".*"; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String excludes = ""; @XmlElement(defaultValue = "false") protected Boolean includeExcludeColumns = false; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String recordVersionFields = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String recordTimestampFields = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String syntheticPrimaryKeys = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String overridePrimaryKeys = ""; @XmlElement(defaultValue = "false") protected Boolean dateAsTimestamp = false; @XmlElement(defaultValue = "false") protected Boolean ignoreProcedureReturnValues = false; @XmlElement(defaultValue = "true") protected Boolean unsignedTypes = true; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String inputSchema = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(TrimAdapter.class) protected String schemaVersionProvider = ""; @XmlJavaTypeAdapter(TrimAdapter.class) protected String outputSchema; @XmlElement(defaultValue = "false") protected Boolean outputSchemaToDefault = false; @XmlElementWrapper(name = "properties") @XmlElement(name = "property") protected List properties; @XmlElementWrapper(name = "schemata") @XmlElement(name = "schema") protected List schemata; @XmlElementWrapper(name = "customTypes") @XmlElement(name = "customType") protected List customTypes; @XmlElementWrapper(name = "enumTypes") @XmlElement(name = "enumType") protected List enumTypes; @XmlElementWrapper(name = "forcedTypes") @XmlElement(name = "forcedType") protected List forcedTypes; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the regexFlags 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 JAXB object. * This is why there is not a set method for the regexFlags property. * *

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

     *    getRegexFlags().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link RegexFlag } * * */ public List getRegexFlags() { if (regexFlags == null) { regexFlags = new ArrayList(); } return this.regexFlags; } /** * Gets the value of the includes property. * * @return * possible object is * {@link String } * */ public String getIncludes() { return includes; } /** * Sets the value of the includes property. * * @param value * allowed object is * {@link String } * */ public void setIncludes(String value) { this.includes = value; } /** * Gets the value of the excludes property. * * @return * possible object is * {@link String } * */ public String getExcludes() { return excludes; } /** * Sets the value of the excludes property. * * @param value * allowed object is * {@link String } * */ public void setExcludes(String value) { this.excludes = value; } /** * Gets the value of the includeExcludeColumns property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeExcludeColumns() { return includeExcludeColumns; } /** * Sets the value of the includeExcludeColumns property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeExcludeColumns(Boolean value) { this.includeExcludeColumns = value; } /** * Gets the value of the recordVersionFields property. * * @return * possible object is * {@link String } * */ public String getRecordVersionFields() { return recordVersionFields; } /** * Sets the value of the recordVersionFields property. * * @param value * allowed object is * {@link String } * */ public void setRecordVersionFields(String value) { this.recordVersionFields = value; } /** * Gets the value of the recordTimestampFields property. * * @return * possible object is * {@link String } * */ public String getRecordTimestampFields() { return recordTimestampFields; } /** * Sets the value of the recordTimestampFields property. * * @param value * allowed object is * {@link String } * */ public void setRecordTimestampFields(String value) { this.recordTimestampFields = value; } /** * Gets the value of the syntheticPrimaryKeys property. * * @return * possible object is * {@link String } * */ public String getSyntheticPrimaryKeys() { return syntheticPrimaryKeys; } /** * Sets the value of the syntheticPrimaryKeys property. * * @param value * allowed object is * {@link String } * */ public void setSyntheticPrimaryKeys(String value) { this.syntheticPrimaryKeys = value; } /** * Gets the value of the overridePrimaryKeys property. * * @return * possible object is * {@link String } * */ public String getOverridePrimaryKeys() { return overridePrimaryKeys; } /** * Sets the value of the overridePrimaryKeys property. * * @param value * allowed object is * {@link String } * */ public void setOverridePrimaryKeys(String value) { this.overridePrimaryKeys = value; } /** * Gets the value of the dateAsTimestamp property. * * @return * possible object is * {@link Boolean } * */ public Boolean isDateAsTimestamp() { return dateAsTimestamp; } /** * Sets the value of the dateAsTimestamp property. * * @param value * allowed object is * {@link Boolean } * */ public void setDateAsTimestamp(Boolean value) { this.dateAsTimestamp = value; } /** * Gets the value of the ignoreProcedureReturnValues property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIgnoreProcedureReturnValues() { return ignoreProcedureReturnValues; } /** * Sets the value of the ignoreProcedureReturnValues property. * * @param value * allowed object is * {@link Boolean } * */ public void setIgnoreProcedureReturnValues(Boolean value) { this.ignoreProcedureReturnValues = value; } /** * Gets the value of the unsignedTypes property. * * @return * possible object is * {@link Boolean } * */ public Boolean isUnsignedTypes() { return unsignedTypes; } /** * Sets the value of the unsignedTypes property. * * @param value * allowed object is * {@link Boolean } * */ public void setUnsignedTypes(Boolean value) { this.unsignedTypes = value; } /** * Gets the value of the inputSchema property. * * @return * possible object is * {@link String } * */ public String getInputSchema() { return inputSchema; } /** * Sets the value of the inputSchema property. * * @param value * allowed object is * {@link String } * */ public void setInputSchema(String value) { this.inputSchema = value; } /** * Gets the value of the schemaVersionProvider property. * * @return * possible object is * {@link String } * */ public String getSchemaVersionProvider() { return schemaVersionProvider; } /** * Sets the value of the schemaVersionProvider property. * * @param value * allowed object is * {@link String } * */ public void setSchemaVersionProvider(String value) { this.schemaVersionProvider = value; } /** * Gets the value of the outputSchema property. * * @return * possible object is * {@link String } * */ public String getOutputSchema() { return outputSchema; } /** * Sets the value of the outputSchema property. * * @param value * allowed object is * {@link String } * */ public void setOutputSchema(String value) { this.outputSchema = value; } /** * Gets the value of the outputSchemaToDefault property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOutputSchemaToDefault() { return outputSchemaToDefault; } /** * Sets the value of the outputSchemaToDefault property. * * @param value * allowed object is * {@link Boolean } * */ public void setOutputSchemaToDefault(Boolean value) { this.outputSchemaToDefault = value; } public List getProperties() { if (properties == null) { properties = new ArrayList(); } return properties; } public void setProperties(List properties) { this.properties = properties; } public List getSchemata() { if (schemata == null) { schemata = new ArrayList(); } return schemata; } public void setSchemata(List schemata) { this.schemata = schemata; } public List getCustomTypes() { if (customTypes == null) { customTypes = new ArrayList(); } return customTypes; } public void setCustomTypes(List customTypes) { this.customTypes = customTypes; } public List getEnumTypes() { if (enumTypes == null) { enumTypes = new ArrayList(); } return enumTypes; } public void setEnumTypes(List enumTypes) { this.enumTypes = enumTypes; } public List getForcedTypes() { if (forcedTypes == null) { forcedTypes = new ArrayList(); } return forcedTypes; } public void setForcedTypes(List forcedTypes) { this.forcedTypes = forcedTypes; } public Database withName(String value) { setName(value); return this; } public Database withRegexFlags(RegexFlag... values) { if (values!= null) { for (RegexFlag value: values) { getRegexFlags().add(value); } } return this; } public Database withRegexFlags(Collection values) { if (values!= null) { getRegexFlags().addAll(values); } return this; } public Database withIncludes(String value) { setIncludes(value); return this; } public Database withExcludes(String value) { setExcludes(value); return this; } public Database withIncludeExcludeColumns(Boolean value) { setIncludeExcludeColumns(value); return this; } public Database withRecordVersionFields(String value) { setRecordVersionFields(value); return this; } public Database withRecordTimestampFields(String value) { setRecordTimestampFields(value); return this; } public Database withSyntheticPrimaryKeys(String value) { setSyntheticPrimaryKeys(value); return this; } public Database withOverridePrimaryKeys(String value) { setOverridePrimaryKeys(value); return this; } public Database withDateAsTimestamp(Boolean value) { setDateAsTimestamp(value); return this; } public Database withIgnoreProcedureReturnValues(Boolean value) { setIgnoreProcedureReturnValues(value); return this; } public Database withUnsignedTypes(Boolean value) { setUnsignedTypes(value); return this; } public Database withInputSchema(String value) { setInputSchema(value); return this; } public Database withSchemaVersionProvider(String value) { setSchemaVersionProvider(value); return this; } public Database withOutputSchema(String value) { setOutputSchema(value); return this; } public Database withOutputSchemaToDefault(Boolean value) { setOutputSchemaToDefault(value); return this; } public Database withProperties(Property... values) { if (values!= null) { for (Property value: values) { getProperties().add(value); } } return this; } public Database withProperties(Collection values) { if (values!= null) { getProperties().addAll(values); } return this; } public Database withProperties(List properties) { setProperties(properties); return this; } public Database withSchemata(Schema... values) { if (values!= null) { for (Schema value: values) { getSchemata().add(value); } } return this; } public Database withSchemata(Collection values) { if (values!= null) { getSchemata().addAll(values); } return this; } public Database withSchemata(List schemata) { setSchemata(schemata); return this; } public Database withCustomTypes(CustomType... values) { if (values!= null) { for (CustomType value: values) { getCustomTypes().add(value); } } return this; } public Database withCustomTypes(Collection values) { if (values!= null) { getCustomTypes().addAll(values); } return this; } public Database withCustomTypes(List customTypes) { setCustomTypes(customTypes); return this; } public Database withEnumTypes(EnumType... values) { if (values!= null) { for (EnumType value: values) { getEnumTypes().add(value); } } return this; } public Database withEnumTypes(Collection values) { if (values!= null) { getEnumTypes().addAll(values); } return this; } public Database withEnumTypes(List enumTypes) { setEnumTypes(enumTypes); return this; } public Database withForcedTypes(ForcedType... values) { if (values!= null) { for (ForcedType value: values) { getForcedTypes().add(value); } } return this; } public Database withForcedTypes(Collection values) { if (values!= null) { getForcedTypes().addAll(values); } return this; } public Database withForcedTypes(List forcedTypes) { setForcedTypes(forcedTypes); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy