- 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.15.0.xsd}Logging" minOccurs="0"/> <element name="onError" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}OnError" minOccurs="0"/> <element name="jdbc" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}Jdbc" minOccurs="0"/> <element name="generator" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}Generator"/> <element name="basedir" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </all> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetBasedir()The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.GeneratorgetGenerator()The GENERATOR configuration element contains information about source code generation itself.JdbcgetJdbc()The JDBC configuration element contains information about how to set up the database connection used for source code generation.LogginggetLogging()The logging configuration element specifies the code generation logging threshold.OnErrorgetOnError()The action to be taken by the generator as the consequence of an encountered exception.inthashCode()voidsetBasedir(String value)The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.voidsetGenerator(Generator value)The GENERATOR configuration element contains information about source code generation itself.voidsetJdbc(Jdbc value)The JDBC configuration element contains information about how to set up the database connection used for source code generation.voidsetLogging(Logging value)The logging configuration element specifies the code generation logging threshold.voidsetOnError(OnError value)The action to be taken by the generator as the consequence of an encountered exception.StringtoString()ConfigurationwithBasedir(String value)The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.ConfigurationwithGenerator(Generator value)The GENERATOR configuration element contains information about source code generation itself.ConfigurationwithJdbc(Jdbc value)The JDBC configuration element contains information about how to set up the database connection used for source code generation.ConfigurationwithLogging(Logging value)The logging configuration element specifies the code generation logging threshold.ConfigurationwithOnError(OnError value)The action to be taken by the generator as the consequence of an encountered exception.
-
-
-
Method Detail
-
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.
-
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.
-
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:
appendToin interfaceXMLAppendable
-
-