org.jaxdb.ddlx_0_4.Constraints Maven / Gradle / Ivy
Show all versions of sqlx Show documentation
//
// 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for constraints complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="constraints">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="primaryKey" type="{http://www.jaxdb.org/ddlx-0.4.xsd}columns" minOccurs="0"/>
* <element name="unique" type="{http://www.jaxdb.org/ddlx-0.4.xsd}columns" maxOccurs="unbounded" minOccurs="0"/>
* <element name="check" type="{http://www.jaxdb.org/ddlx-0.4.xsd}check" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "constraints", propOrder = {
"primaryKey",
"unique",
"check"
})
public class Constraints {
protected Columns primaryKey;
protected List unique;
protected List check;
/**
* Gets the value of the primaryKey property.
*
* @return
* possible object is
* {@link Columns }
*
*/
public Columns getPrimaryKey() {
return primaryKey;
}
/**
* Sets the value of the primaryKey property.
*
* @param value
* allowed object is
* {@link Columns }
*
*/
public void setPrimaryKey(Columns value) {
this.primaryKey = value;
}
/**
* Gets the value of the unique property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the unique property.
*
*
* For example, to add a new item, do as follows:
*
* getUnique().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Columns }
*
*
*/
public List getUnique() {
if (unique == null) {
unique = new ArrayList();
}
return this.unique;
}
/**
* Gets the value of the check property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the check property.
*
*
* For example, to add a new item, do as follows:
*
* getCheck().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Check }
*
*
*/
public List getCheck() {
if (check == null) {
check = new ArrayList();
}
return this.check;
}
}