org.jooq.util.jaxb.Generator 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: 2017.05.30 at 05:23:01 PM CEST
//
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;
/**
* Java class for Generator complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Generator">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="strategy" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Strategy" minOccurs="0"/>
* <element name="database" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Database"/>
* <element name="generate" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Generate" minOccurs="0"/>
* <element name="target" type="{http://www.jooq.org/xsd/jooq-codegen-3.9.2.xsd}Target" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Generator", propOrder = {
})
@SuppressWarnings({
"all"
})
public class Generator implements Serializable
{
private final static long serialVersionUID = 392L;
@XmlElement(defaultValue = "org.jooq.util.DefaultGenerator")
@XmlJavaTypeAdapter(StringAdapter.class)
protected String name = "org.jooq.util.DefaultGenerator";
protected Strategy strategy;
@XmlElement(required = true)
protected Database database;
protected Generate generate;
protected Target target;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the strategy property.
*
* @return
* possible object is
* {@link Strategy }
*
*/
public Strategy getStrategy() {
return strategy;
}
/**
* Sets the value of the strategy property.
*
* @param value
* allowed object is
* {@link Strategy }
*
*/
public void setStrategy(Strategy value) {
this.strategy = value;
}
/**
* Gets the value of the database property.
*
* @return
* possible object is
* {@link Database }
*
*/
public Database getDatabase() {
return database;
}
/**
* Sets the value of the database property.
*
* @param value
* allowed object is
* {@link Database }
*
*/
public void setDatabase(Database value) {
this.database = value;
}
/**
* Gets the value of the generate property.
*
* @return
* possible object is
* {@link Generate }
*
*/
public Generate getGenerate() {
return generate;
}
/**
* Sets the value of the generate property.
*
* @param value
* allowed object is
* {@link Generate }
*
*/
public void setGenerate(Generate value) {
this.generate = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link Target }
*
*/
public Target getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link Target }
*
*/
public void setTarget(Target value) {
this.target = value;
}
public Generator withName(String value) {
setName(value);
return this;
}
public Generator withStrategy(Strategy value) {
setStrategy(value);
return this;
}
public Generator withDatabase(Database value) {
setDatabase(value);
return this;
}
public Generator withGenerate(Generate value) {
setGenerate(value);
return this;
}
public Generator withTarget(Target value) {
setTarget(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy