org.plasma.text.ddl.Table Maven / Gradle / Ivy
Show all versions of plasma-metamodel Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.06.19 at 08:11:07 PM MST
//
package org.plasma.text.ddl;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for table complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="table">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://plasma.org/text/ddl}pk" minOccurs="0"/>
* <element ref="{http://plasma.org/text/ddl}column" maxOccurs="unbounded"/>
* <element ref="{http://plasma.org/text/ddl}fk" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/text/ddl}index" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/text/ddl}behavior" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/text/ddl}unique" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/text/ddl}check" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "table", propOrder = {
"pk",
"columns",
"fks",
"indices",
"behaviors",
"uniques",
"checks"
})
@XmlRootElement(name = "table")
public class Table {
protected Pk pk;
@XmlElement(name = "column", required = true)
protected List columns;
@XmlElement(name = "fk")
protected List fks;
@XmlElement(name = "index")
protected List indices;
@XmlElement(name = "behavior")
protected List behaviors;
@XmlElement(name = "unique")
protected List uniques;
@XmlElement(name = "check")
protected List checks;
@XmlAttribute(name = "name", required = true)
protected String name;
/**
* Gets the value of the pk property.
*
* @return
* possible object is
* {@link Pk }
*
*/
public Pk getPk() {
return pk;
}
/**
* Sets the value of the pk property.
*
* @param value
* allowed object is
* {@link Pk }
*
*/
public void setPk(Pk value) {
this.pk = value;
}
/**
* Gets the value of the columns 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 columns property.
*
*
* For example, to add a new item, do as follows:
*
* getColumns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Column }
*
*
*/
public List getColumns() {
if (columns == null) {
columns = new ArrayList();
}
return this.columns;
}
/**
* Gets the value of the fks 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 fks property.
*
*
* For example, to add a new item, do as follows:
*
* getFks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Fk }
*
*
*/
public List getFks() {
if (fks == null) {
fks = new ArrayList();
}
return this.fks;
}
/**
* Gets the value of the indices 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 indices property.
*
*
* For example, to add a new item, do as follows:
*
* getIndices().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Index }
*
*
*/
public List getIndices() {
if (indices == null) {
indices = new ArrayList();
}
return this.indices;
}
/**
* Gets the value of the behaviors 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 behaviors property.
*
*
* For example, to add a new item, do as follows:
*
* getBehaviors().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Behavior }
*
*
*/
public List getBehaviors() {
if (behaviors == null) {
behaviors = new ArrayList();
}
return this.behaviors;
}
/**
* Gets the value of the uniques 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 uniques property.
*
*
* For example, to add a new item, do as follows:
*
* getUniques().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Unique }
*
*
*/
public List getUniques() {
if (uniques == null) {
uniques = new ArrayList();
}
return this.uniques;
}
/**
* Gets the value of the checks 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 checks property.
*
*
* For example, to add a new item, do as follows:
*
* getChecks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Check }
*
*
*/
public List getChecks() {
if (checks == null) {
checks = new ArrayList();
}
return this.checks;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}