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: 2017.09.27 at 02:55:55 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.XmlList;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jooq.util.jaxb.tools.StringAdapter;


/**
 * 

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" minOccurs="0"/>
 *         <element name="properties" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Properties" minOccurs="0"/>
 *         <element name="regexFlags" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.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="includeTables" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includeRoutines" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includePackages" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includeUDTs" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includeSequences" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includePrimaryKeys" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includeUniqueKeys" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="includeForeignKeys" 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="syntheticIdentities" 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="inputCatalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <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="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="catalogVersionProvider" 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="catalogs" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Catalogs" minOccurs="0"/>
 *         <element name="schemata" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Schemata" minOccurs="0"/>
 *         <element name="customTypes" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}CustomTypes" minOccurs="0"/>
 *         <element name="enumTypes" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}EnumTypes" minOccurs="0"/>
 *         <element name="forcedTypes" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}ForcedTypes" minOccurs="0"/>
 *         <element name="tableValuedFunctions" type="{http://www.w3.org/2001/XMLSchema}boolean" 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 = 392L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlList @XmlElement(defaultValue = "COMMENTS CASE_INSENSITIVE") protected List regexFlags; @XmlElement(defaultValue = ".*") @XmlJavaTypeAdapter(StringAdapter.class) protected String includes = ".*"; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String excludes = ""; @XmlElement(defaultValue = "false") protected Boolean includeExcludeColumns = false; @XmlElement(defaultValue = "true") protected Boolean includeTables = true; @XmlElement(defaultValue = "true") protected Boolean includeRoutines = true; @XmlElement(defaultValue = "true") protected Boolean includePackages = true; @XmlElement(defaultValue = "true") protected Boolean includeUDTs = true; @XmlElement(defaultValue = "true") protected Boolean includeSequences = true; @XmlElement(defaultValue = "true") protected Boolean includePrimaryKeys = true; @XmlElement(defaultValue = "true") protected Boolean includeUniqueKeys = true; @XmlElement(defaultValue = "true") protected Boolean includeForeignKeys = true; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String recordVersionFields = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String recordTimestampFields = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String syntheticPrimaryKeys = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String overridePrimaryKeys = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String syntheticIdentities = ""; @XmlElement(defaultValue = "false") protected Boolean dateAsTimestamp = false; @XmlElement(defaultValue = "false") protected Boolean ignoreProcedureReturnValues = false; @XmlElement(defaultValue = "true") protected Boolean unsignedTypes = true; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String inputCatalog = ""; @XmlJavaTypeAdapter(StringAdapter.class) protected String outputCatalog; @XmlElement(defaultValue = "false") protected Boolean outputCatalogToDefault = false; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String inputSchema = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String schemaVersionProvider = ""; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String catalogVersionProvider = ""; @XmlJavaTypeAdapter(StringAdapter.class) protected String outputSchema; @XmlElement(defaultValue = "false") protected Boolean outputSchemaToDefault = false; protected Boolean tableValuedFunctions; @XmlElementWrapper(name = "properties") @XmlElement(name = "property") protected List properties; @XmlElementWrapper(name = "catalogs") @XmlElement(name = "catalog") protected List catalogs; @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 includeTables property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeTables() { return includeTables; } /** * Sets the value of the includeTables property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeTables(Boolean value) { this.includeTables = value; } /** * Gets the value of the includeRoutines property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeRoutines() { return includeRoutines; } /** * Sets the value of the includeRoutines property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeRoutines(Boolean value) { this.includeRoutines = value; } /** * Gets the value of the includePackages property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludePackages() { return includePackages; } /** * Sets the value of the includePackages property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludePackages(Boolean value) { this.includePackages = value; } /** * Gets the value of the includeUDTs property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeUDTs() { return includeUDTs; } /** * Sets the value of the includeUDTs property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeUDTs(Boolean value) { this.includeUDTs = value; } /** * Gets the value of the includeSequences property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeSequences() { return includeSequences; } /** * Sets the value of the includeSequences property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeSequences(Boolean value) { this.includeSequences = value; } /** * Gets the value of the includePrimaryKeys property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludePrimaryKeys() { return includePrimaryKeys; } /** * Sets the value of the includePrimaryKeys property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludePrimaryKeys(Boolean value) { this.includePrimaryKeys = value; } /** * Gets the value of the includeUniqueKeys property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeUniqueKeys() { return includeUniqueKeys; } /** * Sets the value of the includeUniqueKeys property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeUniqueKeys(Boolean value) { this.includeUniqueKeys = value; } /** * Gets the value of the includeForeignKeys property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeForeignKeys() { return includeForeignKeys; } /** * Sets the value of the includeForeignKeys property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeForeignKeys(Boolean value) { this.includeForeignKeys = 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 syntheticIdentities property. * * @return * possible object is * {@link String } * */ public String getSyntheticIdentities() { return syntheticIdentities; } /** * Sets the value of the syntheticIdentities property. * * @param value * allowed object is * {@link String } * */ public void setSyntheticIdentities(String value) { this.syntheticIdentities = 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 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; } /** * 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 catalogVersionProvider property. * * @return * possible object is * {@link String } * */ public String getCatalogVersionProvider() { return catalogVersionProvider; } /** * Sets the value of the catalogVersionProvider property. * * @param value * allowed object is * {@link String } * */ public void setCatalogVersionProvider(String value) { this.catalogVersionProvider = 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; } /** * Gets the value of the tableValuedFunctions property. * * @return * possible object is * {@link Boolean } * */ public Boolean isTableValuedFunctions() { return tableValuedFunctions; } /** * Sets the value of the tableValuedFunctions property. * * @param value * allowed object is * {@link Boolean } * */ public void setTableValuedFunctions(Boolean value) { this.tableValuedFunctions = value; } public List getProperties() { if (properties == null) { properties = new ArrayList(); } return properties; } public void setProperties(List properties) { this.properties = properties; } public List getCatalogs() { if (catalogs == null) { catalogs = new ArrayList(); } return catalogs; } public void setCatalogs(List catalogs) { this.catalogs = catalogs; } 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 withIncludeTables(Boolean value) { setIncludeTables(value); return this; } public Database withIncludeRoutines(Boolean value) { setIncludeRoutines(value); return this; } public Database withIncludePackages(Boolean value) { setIncludePackages(value); return this; } public Database withIncludeUDTs(Boolean value) { setIncludeUDTs(value); return this; } public Database withIncludeSequences(Boolean value) { setIncludeSequences(value); return this; } public Database withIncludePrimaryKeys(Boolean value) { setIncludePrimaryKeys(value); return this; } public Database withIncludeUniqueKeys(Boolean value) { setIncludeUniqueKeys(value); return this; } public Database withIncludeForeignKeys(Boolean value) { setIncludeForeignKeys(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 withSyntheticIdentities(String value) { setSyntheticIdentities(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 withInputCatalog(String value) { setInputCatalog(value); return this; } public Database withOutputCatalog(String value) { setOutputCatalog(value); return this; } public Database withOutputCatalogToDefault(Boolean value) { setOutputCatalogToDefault(value); return this; } public Database withInputSchema(String value) { setInputSchema(value); return this; } public Database withSchemaVersionProvider(String value) { setSchemaVersionProvider(value); return this; } public Database withCatalogVersionProvider(String value) { setCatalogVersionProvider(value); return this; } public Database withOutputSchema(String value) { setOutputSchema(value); return this; } public Database withOutputSchemaToDefault(Boolean value) { setOutputSchemaToDefault(value); return this; } public Database withTableValuedFunctions(Boolean value) { setTableValuedFunctions(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 withCatalogs(Catalog... values) { if (values!= null) { for (Catalog value: values) { getCatalogs().add(value); } } return this; } public Database withCatalogs(Collection values) { if (values!= null) { getCatalogs().addAll(values); } return this; } public Database withCatalogs(List catalogs) { setCatalogs(catalogs); 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