org.jaxdb.ddlx_0_4.ForeignKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlx Show documentation
Show all versions of sqlx Show documentation
SQLx is a vendor-agnostic, XML-based SQL data definition standard that offers the power of XML
validation for your static SQL data. The SQLx framework utilizes a strongly-typed DDLx file to
generate a XML Schema document that translates DDLx constructs into the XSD language. With the
SQLx XSLT, the SQLx tool leverages the power of XML Schema Validation and provides a cohesive
structured model to define SQL data (that conforms to your SQL schema, defined in a DDLx file).
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.07.22 at 07:16:31 AM UTC
//
package org.jaxdb.ddlx_0_4;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for foreignKey complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="foreignKey">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="references" use="required" type="{http://www.jaxdb.org/ddlx-0.4.xsd}name" />
* <attribute name="column" use="required" type="{http://www.jaxdb.org/ddlx-0.4.xsd}name" />
* <attribute name="onDelete" type="{http://www.jaxdb.org/ddlx-0.4.xsd}changeRule" />
* <attribute name="onUpdate" type="{http://www.jaxdb.org/ddlx-0.4.xsd}changeRule" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "foreignKey")
public class ForeignKey {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "references", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String references;
@XmlAttribute(name = "column", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String column;
@XmlAttribute(name = "onDelete")
protected ChangeRule onDelete;
@XmlAttribute(name = "onUpdate")
protected ChangeRule onUpdate;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the references property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReferences() {
return references;
}
/**
* Sets the value of the references property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReferences(String value) {
this.references = value;
}
/**
* Gets the value of the column property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumn() {
return column;
}
/**
* Sets the value of the column property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumn(String value) {
this.column = value;
}
/**
* Gets the value of the onDelete property.
*
* @return
* possible object is
* {@link ChangeRule }
*
*/
public ChangeRule getOnDelete() {
return onDelete;
}
/**
* Sets the value of the onDelete property.
*
* @param value
* allowed object is
* {@link ChangeRule }
*
*/
public void setOnDelete(ChangeRule value) {
this.onDelete = value;
}
/**
* Gets the value of the onUpdate property.
*
* @return
* possible object is
* {@link ChangeRule }
*
*/
public ChangeRule getOnUpdate() {
return onUpdate;
}
/**
* Sets the value of the onUpdate property.
*
* @param value
* allowed object is
* {@link ChangeRule }
*
*/
public void setOnUpdate(ChangeRule value) {
this.onUpdate = value;
}
}