All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jooq.util.jaxb.Target Maven / Gradle / Ivy

There is a newer version: 3.19.16
Show newest version








package org.jooq.util.jaxb;

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;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jooq.util.jaxb.tools.StringAdapter;


/**
 * Options to define where the generated code should be located.
 *
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Target", propOrder = {

})
@SuppressWarnings({
    "all"
})
public class Target implements Serializable
{

    private final static long serialVersionUID = 31000L;
    @XmlElement(defaultValue = "org.jooq.generated")
    @XmlJavaTypeAdapter(StringAdapter.class)
    protected String packageName = "org.jooq.generated";
    @XmlElement(defaultValue = "target/generated-sources/jooq")
    @XmlJavaTypeAdapter(StringAdapter.class)
    protected String directory = "target/generated-sources/jooq";
    @XmlElement(defaultValue = "UTF-8")
    @XmlJavaTypeAdapter(StringAdapter.class)
    protected String encoding = "UTF-8";

    /**
     * The destination package of your generated classes (within the destination directory)
     * 

* jOOQ may append the schema name to this package if generating multiple schemas, * e.g. org.jooq.generated.schema1, org.jooq.generated.schema2 * * @return * possible object is * {@link String } * */ public String getPackageName() { return packageName; } /** * Sets the value of the packageName property. * * @param value * allowed object is * {@link String } * */ public void setPackageName(String value) { this.packageName = value; } /** * The destination directory of your generated classes * * @return * possible object is * {@link String } * */ public String getDirectory() { return directory; } /** * Sets the value of the directory property. * * @param value * allowed object is * {@link String } * */ public void setDirectory(String value) { this.directory = value; } /** * The file encoding to be used with all output files. * * @return * possible object is * {@link String } * */ public String getEncoding() { return encoding; } /** * Sets the value of the encoding property. * * @param value * allowed object is * {@link String } * */ public void setEncoding(String value) { this.encoding = value; } public Target withPackageName(String value) { setPackageName(value); return this; } public Target withDirectory(String value) { setDirectory(value); return this; } public Target withEncoding(String value) { setEncoding(value); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy