org.jooq.util.jaxb.Schema Maven / Gradle / Ivy
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;
/**
* Configuration of an input schema and its mappings.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Schema", propOrder = {
})
@SuppressWarnings({
"all"
})
public class Schema implements Serializable
{
private final static long serialVersionUID = 31000L;
@XmlElement(required = true, defaultValue = "")
@XmlJavaTypeAdapter(StringAdapter.class)
protected String inputSchema = "";
@XmlJavaTypeAdapter(StringAdapter.class)
protected String outputSchema;
@XmlElement(defaultValue = "false")
protected Boolean outputSchemaToDefault = false;
/**
* See also {@link Database#getInputSchema()}
*
* @return
* possible object is
* {@link String }
*
*/
public String getInputSchema() {
return inputSchema;
}
/**
* Sets the value of the inputSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInputSchema(String value) {
this.inputSchema = value;
}
/**
* See also {@link Database#getOutputSchema()}
*
* @return
* possible object is
* {@link String }
*
*/
public String getOutputSchema() {
return outputSchema;
}
/**
* Sets the value of the outputSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOutputSchema(String value) {
this.outputSchema = value;
}
/**
* See also {@link Database#isOutputSchemaToDefault()}
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isOutputSchemaToDefault() {
return outputSchemaToDefault;
}
/**
* Sets the value of the outputSchemaToDefault property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOutputSchemaToDefault(Boolean value) {
this.outputSchemaToDefault = value;
}
public Schema withInputSchema(String value) {
setInputSchema(value);
return this;
}
public Schema withOutputSchema(String value) {
setOutputSchema(value);
return this;
}
public Schema withOutputSchemaToDefault(Boolean value) {
setOutputSchemaToDefault(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy