Klasse Configuration

java.lang.Object
org.jooq.meta.jaxb.Configuration
Alle implementierten Schnittstellen:
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.21.1.xsd}Logging" minOccurs="0"/>
         <element name="onError" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="onUnused" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="onDeprecated" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="onExperimental" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="onMisconfiguration" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="onMetadataProblem" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="onPerformanceProblem" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}OnError" minOccurs="0"/>
         <element name="jdbc" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}Jdbc" minOccurs="0"/>
         <element name="generator" type="{http://www.jooq.org/xsd/jooq-codegen-3.21.1.xsd}Generator"/>
         <element name="basedir" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
Siehe auch:
  • Felddetails

    • logging

      protected Logging logging
    • onError

      protected OnError onError
    • onUnused

      protected OnError onUnused
    • onDeprecated

      protected OnError onDeprecated
    • onExperimental

      protected OnError onExperimental
    • onMisconfiguration

      protected OnError onMisconfiguration
    • onMetadataProblem

      protected OnError onMetadataProblem
    • onPerformanceProblem

      protected OnError onPerformanceProblem
    • jdbc

      protected Jdbc jdbc
    • generator

      protected Generator generator
    • basedir

      protected String basedir
  • Konstruktordetails

    • Configuration

      public Configuration()
  • Methodendetails

    • 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 outside of jOOQ's control, such as a SQLException or a IOException. Defaults to FAIL.
    • setOnError

      public void setOnError(OnError value)
      The action to be taken by the generator as the consequence of an encountered exception outside of jOOQ's control, such as a SQLException or a IOException. 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.
    • getOnDeprecated

      public OnError getOnDeprecated()
      The action to be taken by the generator as the consequence of deprecated configuration being used. Defaults to LOG.
    • setOnDeprecated

      public void setOnDeprecated(OnError value)
      The action to be taken by the generator as the consequence of deprecated configuration being used. Defaults to LOG.
    • getOnExperimental

      public OnError getOnExperimental()
      The action to be taken by the generator as the consequence of experimental configuration being used. Defaults to FAIL.
    • setOnExperimental

      public void setOnExperimental(OnError value)
      The action to be taken by the generator as the consequence of experimental configuration being used. Defaults to FAIL.
    • getOnMisconfiguration

      public OnError getOnMisconfiguration()
      The action to be taken by the generator as the consequence of inconsistent or illegal configuration being used. Defaults to FAIL.
    • setOnMisconfiguration

      public void setOnMisconfiguration(OnError value)
      The action to be taken by the generator as the consequence of inconsistent or illegal configuration being used. Defaults to FAIL.
    • getOnMetadataProblem

      public OnError getOnMetadataProblem()
      The action to be taken by the generator as the consequence of database meta data causing code generation problems, such as ambiguities in generated file names or object names. Defaults to LOG.
    • setOnMetadataProblem

      public void setOnMetadataProblem(OnError value)
      The action to be taken by the generator as the consequence of database meta data causing code generation problems, such as ambiguities in generated file names or object names. Defaults to LOG.
    • getOnPerformanceProblem

      public OnError getOnPerformanceProblem()
      The action to be taken by the generator as the consequence of database meta data querying being slow. Defaults to LOG.
    • setOnPerformanceProblem

      public void setOnPerformanceProblem(OnError value)
      The action to be taken by the generator as the consequence of database meta data querying being slow. 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 outside of jOOQ's control, such as a SQLException or a IOException. 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.
    • withOnDeprecated

      public Configuration withOnDeprecated(OnError value)
      The action to be taken by the generator as the consequence of deprecated configuration being used. Defaults to LOG.
    • withOnExperimental

      public Configuration withOnExperimental(OnError value)
      The action to be taken by the generator as the consequence of experimental configuration being used. Defaults to FAIL.
    • withOnMisconfiguration

      public Configuration withOnMisconfiguration(OnError value)
      The action to be taken by the generator as the consequence of inconsistent or illegal configuration being used. Defaults to FAIL.
    • withOnMetadataProblem

      public Configuration withOnMetadataProblem(OnError value)
      The action to be taken by the generator as the consequence of database meta data causing code generation problems, such as ambiguities in generated file names or object names. Defaults to LOG.
    • withOnPerformanceProblem

      public Configuration withOnPerformanceProblem(OnError value)
      The action to be taken by the generator as the consequence of database meta data querying being slow. 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)
      Angegeben von:
      appendTo in Schnittstelle XMLAppendable
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • equals

      public boolean equals(Object that)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object