Class Configuration

java.lang.Object
org.jooq.meta.jaxb.Configuration
All Implemented Interfaces:
Serializable, XMLAppendable

public class Configuration extends Object implements Serializable, XMLAppendable

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="logging" type="{http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd}Logging" minOccurs="0"/>
         <element name="onError" type="{http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd}OnError" minOccurs="0"/>
         <element name="onUnused" type="{http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd}OnError" minOccurs="0"/>
         <element name="jdbc" type="{http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd}Jdbc" minOccurs="0"/>
         <element name="generator" type="{http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd}Generator"/>
         <element name="basedir" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected Generator
     
    protected Jdbc
     
    protected Logging
     
    protected OnError
     
    protected OnError
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    boolean
    equals(Object that)
     
    The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
    The GENERATOR configuration element contains information about source code generation itself.
    The JDBC configuration element contains information about how to set up the database connection used for source code generation.
    The logging configuration element specifies the code generation logging threshold.
    The action to be taken by the generator as the consequence of an encountered exception.
    The action to be taken by the generator as the consequence of unused objects being encountered.
    int
     
    void
    The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
    void
    The GENERATOR configuration element contains information about source code generation itself.
    void
    setJdbc(Jdbc value)
    The JDBC configuration element contains information about how to set up the database connection used for source code generation.
    void
    The logging configuration element specifies the code generation logging threshold.
    void
    The action to be taken by the generator as the consequence of an encountered exception.
    void
    The action to be taken by the generator as the consequence of unused objects being encountered.
     
    The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
    The GENERATOR configuration element contains information about source code generation itself.
    withJdbc(Jdbc value)
    The JDBC configuration element contains information about how to set up the database connection used for source code generation.
    The logging configuration element specifies the code generation logging threshold.
    The action to be taken by the generator as the consequence of an encountered exception.
    The action to be taken by the generator as the consequence of unused objects being encountered.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • logging

      protected Logging logging
    • onError

      protected OnError onError
    • onUnused

      protected OnError onUnused
    • jdbc

      protected Jdbc jdbc
    • generator

      protected Generator generator
    • basedir

      protected String basedir
  • Constructor Details

    • Configuration

      public Configuration()
  • Method Details

    • getLogging

      public Logging getLogging()
      The logging configuration element specifies the code generation logging threshold.
    • setLogging

      public void setLogging(Logging value)
      The logging configuration element specifies the code generation logging threshold.
    • getOnError

      public OnError getOnError()
      The action to be taken by the generator as the consequence of an encountered exception. Defaults to FAIL.
    • setOnError

      public void setOnError(OnError value)
      The action to be taken by the generator as the consequence of an encountered exception. Defaults to FAIL.
    • getOnUnused

      public OnError getOnUnused()
      The action to be taken by the generator as the consequence of unused objects being encountered. Defaults to LOG.
    • setOnUnused

      public void setOnUnused(OnError value)
      The action to be taken by the generator as the consequence of unused objects being encountered. Defaults to LOG.
    • getJdbc

      public Jdbc getJdbc()
      The JDBC configuration element contains information about how to set up the database connection used for source code generation.
    • setJdbc

      public void setJdbc(Jdbc value)
      The JDBC configuration element contains information about how to set up the database connection used for source code generation.
    • getGenerator

      public Generator getGenerator()
      The GENERATOR configuration element contains information about source code generation itself.
    • setGenerator

      public void setGenerator(Generator value)
      The GENERATOR configuration element contains information about source code generation itself.
    • getBasedir

      public String getBasedir()
      The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
    • setBasedir

      public void setBasedir(String value)
      The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
    • withLogging

      public Configuration withLogging(Logging value)
      The logging configuration element specifies the code generation logging threshold.
    • withOnError

      public Configuration withOnError(OnError value)
      The action to be taken by the generator as the consequence of an encountered exception. Defaults to FAIL.
    • withOnUnused

      public Configuration withOnUnused(OnError value)
      The action to be taken by the generator as the consequence of unused objects being encountered. Defaults to LOG.
    • withJdbc

      public Configuration withJdbc(Jdbc value)
      The JDBC configuration element contains information about how to set up the database connection used for source code generation.
    • withGenerator

      public Configuration withGenerator(Generator value)
      The GENERATOR configuration element contains information about source code generation itself.
    • withBasedir

      public Configuration withBasedir(String value)
      The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
    • appendTo

      public final void appendTo(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object