org.jooq.conf.MappedSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payment-retries-plugin Show documentation
Show all versions of payment-retries-plugin Show documentation
Kill Bill Payment Retries plugin
The newest version!
//
// 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.01.20 at 02:47:40 PM CET
//
package org.jooq.conf;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.regex.Pattern;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for MappedSchema complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MappedSchema">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="input" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="inputExpression" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="output" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="tables" type="{http://www.jooq.org/xsd/jooq-runtime-3.9.0.xsd}MappedTables" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MappedSchema", propOrder = {
})
@SuppressWarnings({
"all"
})
public class MappedSchema
extends SettingsBase
implements Serializable, Cloneable
{
private final static long serialVersionUID = 390L;
protected String input;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(RegexAdapter.class)
protected Pattern inputExpression;
protected String output;
@XmlElementWrapper(name = "tables")
@XmlElement(name = "table")
protected List tables;
/**
* Gets the value of the input property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInput() {
return input;
}
/**
* Sets the value of the input property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInput(String value) {
this.input = value;
}
/**
* Gets the value of the inputExpression property.
*
* @return
* possible object is
* {@link String }
*
*/
public Pattern getInputExpression() {
return inputExpression;
}
/**
* Sets the value of the inputExpression property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInputExpression(Pattern value) {
this.inputExpression = value;
}
/**
* Gets the value of the output property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOutput() {
return output;
}
/**
* Sets the value of the output property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOutput(String value) {
this.output = value;
}
public List getTables() {
if (tables == null) {
tables = new ArrayList();
}
return tables;
}
public void setTables(List tables) {
this.tables = tables;
}
public MappedSchema withInput(String value) {
setInput(value);
return this;
}
public MappedSchema withInputExpression(Pattern value) {
setInputExpression(value);
return this;
}
public MappedSchema withOutput(String value) {
setOutput(value);
return this;
}
public MappedSchema withTables(MappedTable... values) {
if (values!= null) {
for (MappedTable value: values) {
getTables().add(value);
}
}
return this;
}
public MappedSchema withTables(Collection values) {
if (values!= null) {
getTables().addAll(values);
}
return this;
}
public MappedSchema withTables(List tables) {
setTables(tables);
return this;
}
}