package org.jooq.util.xml.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;
/**
* <p>Java-Klasse für Schema complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="Schema">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="catalog_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="schema_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Schema", propOrder = {
})
@SuppressWarnings({
"all"
})
public class Schema implements Serializable
{
private final static long serialVersionUID = 31000L;
@XmlElement(name = "catalog_name")
@XmlJavaTypeAdapter(StringAdapter.class)
protected String catalogName;
@XmlElement(name = "schema_name", required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
protected String schemaName;
/**
* Ruft den Wert der catalogName-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCatalogName() {
return catalogName;
}
/**
* Legt den Wert der catalogName-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCatalogName(String value) {
this.catalogName = value;
}
/**
* Ruft den Wert der schemaName-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSchemaName() {
return schemaName;
}
/**
* Legt den Wert der schemaName-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSchemaName(String value) {
this.schemaName = value;
}
public Schema withCatalogName(String value) {
setCatalogName(value);
return this;
}
public Schema withSchemaName(String value) {
setSchemaName(value);
return this;
}
}