package io.ebeaninternal.dbmigration.migration; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; /** *
Java class for anonymous complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}column" maxOccurs="unbounded"/>
* <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}uniqueConstraint" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}foreignKey" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{http://ebean-orm.github.io/xml/ns/dbmigration}tablespaceAttributes"/>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="partitionMode" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="partitionColumn" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="withHistory" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="draft" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="identityType" type="{http://ebean-orm.github.io/xml/ns/dbmigration}identityType" />
* <attribute name="sequenceName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="sequenceInitial" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* <attribute name="sequenceAllocate" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* <attribute name="pkName" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"column",
"uniqueConstraint",
"foreignKey"
})
@XmlRootElement(name = "createTable")
public class CreateTable {
@XmlElement(required = true)
protected List
* 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 column property.
*
*
* For example, to add a new item, do as follows: *
* getColumn().add(newItem); ** * *
* Objects of the following type(s) are allowed in the list
* {@link Column }
*/
public List
* 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
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link UniqueConstraint }
*/
public List
* 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
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link ForeignKey }
*/
public Listset method for the uniqueConstraint property.
*
*
* getUniqueConstraint().add(newItem);
*
*
*
* set method for the foreignKey property.
*
*
* getForeignKey().add(newItem);
*
*
*
*