org.jaxdb.ddlx_0_4.Column 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.jaxdb.sqlx_0_4.Binary;
import org.jaxdb.sqlx_0_4.Blob;
import org.jaxdb.sqlx_0_4.Char;
import org.jaxdb.sqlx_0_4.Clob;
import org.jaxdb.sqlx_0_4.Date;
import org.jaxdb.sqlx_0_4.Datetime;
import org.jaxdb.sqlx_0_4.Decimal;
import org.jaxdb.sqlx_0_4.Double;
import org.jaxdb.sqlx_0_4.Enum;
import org.jaxdb.sqlx_0_4.Float;
import org.jaxdb.sqlx_0_4.Time;
/**
* Java class for column complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="column">
* <complexContent>
* <extension base="{http://www.jaxdb.org/ddlx-0.4.xsd}named">
* <sequence minOccurs="0">
* <element name="foreignKey" type="{http://www.jaxdb.org/ddlx-0.4.xsd}foreignKey" minOccurs="0"/>
* <element name="index" type="{http://www.jaxdb.org/ddlx-0.4.xsd}index" minOccurs="0"/>
* </sequence>
* <attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "column", propOrder = {
"foreignKey",
"index"
})
@XmlSeeAlso({
Char.class,
Clob.class,
Binary.class,
Blob.class,
Integer.class,
Float.class,
Double.class,
Decimal.class,
Date.class,
Time.class,
Datetime.class,
org.jaxdb.sqlx_0_4.Boolean.class,
Enum.class
})
public abstract class Column
extends Named
{
protected ForeignKey foreignKey;
protected Index index;
@XmlAttribute(name = "null")
protected java.lang.Boolean _null;
/**
* Gets the value of the foreignKey property.
*
* @return
* possible object is
* {@link ForeignKey }
*
*/
public ForeignKey getForeignKey() {
return foreignKey;
}
/**
* Sets the value of the foreignKey property.
*
* @param value
* allowed object is
* {@link ForeignKey }
*
*/
public void setForeignKey(ForeignKey value) {
this.foreignKey = value;
}
/**
* Gets the value of the index property.
*
* @return
* possible object is
* {@link Index }
*
*/
public Index getIndex() {
return index;
}
/**
* Sets the value of the index property.
*
* @param value
* allowed object is
* {@link Index }
*
*/
public void setIndex(Index value) {
this.index = value;
}
/**
* Gets the value of the null property.
*
* @return
* possible object is
* {@link java.lang.Boolean }
*
*/
public java.lang.Boolean getNull() {
if (_null == null) {
return true;
} else {
return _null;
}
}
/**
* Sets the value of the null property.
*
* @param value
* allowed object is
* {@link java.lang.Boolean }
*
*/
public void setNull(java.lang.Boolean value) {
this._null = value;
}
}