org.jooq.conf.Settings Maven / Gradle / Ivy
//
// 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: 2014.11.21 at 05:21:45 PM CET
//
package org.jooq.conf;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Settings complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Settings">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="renderSchema" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="renderMapping" type="{http://www.jooq.org/xsd/jooq-runtime-3.3.0.xsd}RenderMapping" minOccurs="0"/>
* <element name="renderNameStyle" type="{http://www.jooq.org/xsd/jooq-runtime-3.3.0.xsd}RenderNameStyle" minOccurs="0"/>
* <element name="renderKeywordStyle" type="{http://www.jooq.org/xsd/jooq-runtime-3.3.0.xsd}RenderKeywordStyle" minOccurs="0"/>
* <element name="renderFormatted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="renderScalarSubqueriesForStoredFunctions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="backslashEscaping" type="{http://www.jooq.org/xsd/jooq-runtime-3.3.0.xsd}BackslashEscaping" minOccurs="0"/>
* <element name="paramType" type="{http://www.jooq.org/xsd/jooq-runtime-3.3.0.xsd}ParamType" minOccurs="0"/>
* <element name="statementType" type="{http://www.jooq.org/xsd/jooq-runtime-3.3.0.xsd}StatementType" minOccurs="0"/>
* <element name="executeLogging" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="executeWithOptimisticLocking" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="attachRecords" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="updatablePrimaryKeys" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="reflectionCaching" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="fetchWarnings" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Settings", propOrder = {
})
@SuppressWarnings({
"all"
})
public class Settings
extends SettingsBase
implements Serializable, Cloneable
{
private final static long serialVersionUID = 350L;
@XmlElement(defaultValue = "true")
protected Boolean renderSchema = true;
protected RenderMapping renderMapping;
@XmlElement(defaultValue = "QUOTED")
protected RenderNameStyle renderNameStyle = RenderNameStyle.QUOTED;
@XmlElement(defaultValue = "LOWER")
protected RenderKeywordStyle renderKeywordStyle = RenderKeywordStyle.LOWER;
@XmlElement(defaultValue = "false")
protected Boolean renderFormatted = false;
@XmlElement(defaultValue = "false")
protected Boolean renderScalarSubqueriesForStoredFunctions = false;
@XmlElement(defaultValue = "DEFAULT")
protected BackslashEscaping backslashEscaping = BackslashEscaping.DEFAULT;
@XmlElement(defaultValue = "INDEXED")
protected ParamType paramType = ParamType.INDEXED;
@XmlElement(defaultValue = "PREPARED_STATEMENT")
protected StatementType statementType = StatementType.PREPARED_STATEMENT;
@XmlElement(defaultValue = "true")
protected Boolean executeLogging = true;
@XmlElement(defaultValue = "false")
protected Boolean executeWithOptimisticLocking = false;
@XmlElement(defaultValue = "true")
protected Boolean attachRecords = true;
@XmlElement(defaultValue = "false")
protected Boolean updatablePrimaryKeys = false;
@XmlElement(defaultValue = "true")
protected Boolean reflectionCaching = true;
@XmlElement(defaultValue = "true")
protected Boolean fetchWarnings = true;
/**
* Gets the value of the renderSchema property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRenderSchema() {
return renderSchema;
}
/**
* Sets the value of the renderSchema property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRenderSchema(Boolean value) {
this.renderSchema = value;
}
/**
* Gets the value of the renderMapping property.
*
* @return
* possible object is
* {@link RenderMapping }
*
*/
public RenderMapping getRenderMapping() {
return renderMapping;
}
/**
* Sets the value of the renderMapping property.
*
* @param value
* allowed object is
* {@link RenderMapping }
*
*/
public void setRenderMapping(RenderMapping value) {
this.renderMapping = value;
}
/**
* Gets the value of the renderNameStyle property.
*
* @return
* possible object is
* {@link RenderNameStyle }
*
*/
public RenderNameStyle getRenderNameStyle() {
return renderNameStyle;
}
/**
* Sets the value of the renderNameStyle property.
*
* @param value
* allowed object is
* {@link RenderNameStyle }
*
*/
public void setRenderNameStyle(RenderNameStyle value) {
this.renderNameStyle = value;
}
/**
* Gets the value of the renderKeywordStyle property.
*
* @return
* possible object is
* {@link RenderKeywordStyle }
*
*/
public RenderKeywordStyle getRenderKeywordStyle() {
return renderKeywordStyle;
}
/**
* Sets the value of the renderKeywordStyle property.
*
* @param value
* allowed object is
* {@link RenderKeywordStyle }
*
*/
public void setRenderKeywordStyle(RenderKeywordStyle value) {
this.renderKeywordStyle = value;
}
/**
* Gets the value of the renderFormatted property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRenderFormatted() {
return renderFormatted;
}
/**
* Sets the value of the renderFormatted property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRenderFormatted(Boolean value) {
this.renderFormatted = value;
}
/**
* Gets the value of the renderScalarSubqueriesForStoredFunctions property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRenderScalarSubqueriesForStoredFunctions() {
return renderScalarSubqueriesForStoredFunctions;
}
/**
* Sets the value of the renderScalarSubqueriesForStoredFunctions property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRenderScalarSubqueriesForStoredFunctions(Boolean value) {
this.renderScalarSubqueriesForStoredFunctions = value;
}
/**
* Gets the value of the backslashEscaping property.
*
* @return
* possible object is
* {@link BackslashEscaping }
*
*/
public BackslashEscaping getBackslashEscaping() {
return backslashEscaping;
}
/**
* Sets the value of the backslashEscaping property.
*
* @param value
* allowed object is
* {@link BackslashEscaping }
*
*/
public void setBackslashEscaping(BackslashEscaping value) {
this.backslashEscaping = value;
}
/**
* Gets the value of the paramType property.
*
* @return
* possible object is
* {@link ParamType }
*
*/
public ParamType getParamType() {
return paramType;
}
/**
* Sets the value of the paramType property.
*
* @param value
* allowed object is
* {@link ParamType }
*
*/
public void setParamType(ParamType value) {
this.paramType = value;
}
/**
* Gets the value of the statementType property.
*
* @return
* possible object is
* {@link StatementType }
*
*/
public StatementType getStatementType() {
return statementType;
}
/**
* Sets the value of the statementType property.
*
* @param value
* allowed object is
* {@link StatementType }
*
*/
public void setStatementType(StatementType value) {
this.statementType = value;
}
/**
* Gets the value of the executeLogging property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExecuteLogging() {
return executeLogging;
}
/**
* Sets the value of the executeLogging property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExecuteLogging(Boolean value) {
this.executeLogging = value;
}
/**
* Gets the value of the executeWithOptimisticLocking property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExecuteWithOptimisticLocking() {
return executeWithOptimisticLocking;
}
/**
* Sets the value of the executeWithOptimisticLocking property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExecuteWithOptimisticLocking(Boolean value) {
this.executeWithOptimisticLocking = value;
}
/**
* Gets the value of the attachRecords property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAttachRecords() {
return attachRecords;
}
/**
* Sets the value of the attachRecords property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAttachRecords(Boolean value) {
this.attachRecords = value;
}
/**
* Gets the value of the updatablePrimaryKeys property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUpdatablePrimaryKeys() {
return updatablePrimaryKeys;
}
/**
* Sets the value of the updatablePrimaryKeys property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUpdatablePrimaryKeys(Boolean value) {
this.updatablePrimaryKeys = value;
}
/**
* Gets the value of the reflectionCaching property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isReflectionCaching() {
return reflectionCaching;
}
/**
* Sets the value of the reflectionCaching property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setReflectionCaching(Boolean value) {
this.reflectionCaching = value;
}
/**
* Gets the value of the fetchWarnings property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFetchWarnings() {
return fetchWarnings;
}
/**
* Sets the value of the fetchWarnings property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFetchWarnings(Boolean value) {
this.fetchWarnings = value;
}
public Settings withRenderSchema(Boolean value) {
setRenderSchema(value);
return this;
}
public Settings withRenderMapping(RenderMapping value) {
setRenderMapping(value);
return this;
}
public Settings withRenderNameStyle(RenderNameStyle value) {
setRenderNameStyle(value);
return this;
}
public Settings withRenderKeywordStyle(RenderKeywordStyle value) {
setRenderKeywordStyle(value);
return this;
}
public Settings withRenderFormatted(Boolean value) {
setRenderFormatted(value);
return this;
}
public Settings withRenderScalarSubqueriesForStoredFunctions(Boolean value) {
setRenderScalarSubqueriesForStoredFunctions(value);
return this;
}
public Settings withBackslashEscaping(BackslashEscaping value) {
setBackslashEscaping(value);
return this;
}
public Settings withParamType(ParamType value) {
setParamType(value);
return this;
}
public Settings withStatementType(StatementType value) {
setStatementType(value);
return this;
}
public Settings withExecuteLogging(Boolean value) {
setExecuteLogging(value);
return this;
}
public Settings withExecuteWithOptimisticLocking(Boolean value) {
setExecuteWithOptimisticLocking(value);
return this;
}
public Settings withAttachRecords(Boolean value) {
setAttachRecords(value);
return this;
}
public Settings withUpdatablePrimaryKeys(Boolean value) {
setUpdatablePrimaryKeys(value);
return this;
}
public Settings withReflectionCaching(Boolean value) {
setReflectionCaching(value);
return this;
}
public Settings withFetchWarnings(Boolean value) {
setFetchWarnings(value);
return this;
}
}