Class CreateTable
- java.lang.Object
-
- io.ebeaninternal.dbmigration.migration.CreateTable
-
public class CreateTable extends Object
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="identityStart" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> <attribute name="identityIncrement" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> <attribute name="identityCache" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> <attribute name="identityGenerated" type="{http://www.w3.org/2001/XMLSchema}string" /> <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" /> <attribute name="storageEngine" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description CreateTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Column>getColumn()Gets the value of the column property.StringgetComment()Gets the value of the comment property.List<ForeignKey>getForeignKey()Gets the value of the foreignKey property.BigIntegergetIdentityCache()Gets the value of the identityCache property.StringgetIdentityGenerated()Gets the value of the identityGenerated property.BigIntegergetIdentityIncrement()Gets the value of the identityIncrement property.BigIntegergetIdentityStart()Gets the value of the identityStart property.IdentityTypegetIdentityType()Gets the value of the identityType property.StringgetIndexTablespace()Gets the value of the indexTablespace property.StringgetName()Gets the value of the name property.StringgetPartitionColumn()Gets the value of the partitionColumn property.StringgetPartitionMode()Gets the value of the partitionMode property.StringgetPkName()Gets the value of the pkName property.BigIntegergetSequenceAllocate()Gets the value of the sequenceAllocate property.BigIntegergetSequenceInitial()Gets the value of the sequenceInitial property.StringgetSequenceName()Gets the value of the sequenceName property.StringgetStorageEngine()Gets the value of the storageEngine property.StringgetTablespace()Gets the value of the tablespace property.List<UniqueConstraint>getUniqueConstraint()Gets the value of the uniqueConstraint property.BooleanisDraft()Gets the value of the draft property.BooleanisWithHistory()Gets the value of the withHistory property.voidsetComment(String value)Sets the value of the comment property.voidsetDraft(Boolean value)Sets the value of the draft property.voidsetIdentityCache(BigInteger value)Sets the value of the identityCache property.voidsetIdentityGenerated(String value)Sets the value of the identityGenerated property.voidsetIdentityIncrement(BigInteger value)Sets the value of the identityIncrement property.voidsetIdentityStart(BigInteger value)Sets the value of the identityStart property.voidsetIdentityType(IdentityType value)Sets the value of the identityType property.voidsetIndexTablespace(String value)Sets the value of the indexTablespace property.voidsetName(String value)Sets the value of the name property.voidsetPartitionColumn(String value)Sets the value of the partitionColumn property.voidsetPartitionMode(String value)Sets the value of the partitionMode property.voidsetPkName(String value)Sets the value of the pkName property.voidsetSequenceAllocate(BigInteger value)Sets the value of the sequenceAllocate property.voidsetSequenceInitial(BigInteger value)Sets the value of the sequenceInitial property.voidsetSequenceName(String value)Sets the value of the sequenceName property.voidsetStorageEngine(String value)Sets the value of the storageEngine property.voidsetTablespace(String value)Sets the value of the tablespace property.voidsetWithHistory(Boolean value)Sets the value of the withHistory property.
-
-
-
Constructor Detail
-
CreateTable
public CreateTable()
-
-
Method Detail
-
getColumn
public List<Column> getColumn()
Gets the value of the column 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
setmethod 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
Column
-
getUniqueConstraint
public List<UniqueConstraint> getUniqueConstraint()
Gets the value of the uniqueConstraint 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
setmethod for the uniqueConstraint property.For example, to add a new item, do as follows:
getUniqueConstraint().add(newItem);Objects of the following type(s) are allowed in the list
UniqueConstraint
-
getForeignKey
public List<ForeignKey> getForeignKey()
Gets the value of the foreignKey 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
setmethod for the foreignKey property.For example, to add a new item, do as follows:
getForeignKey().add(newItem);Objects of the following type(s) are allowed in the list
ForeignKey
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getPartitionMode
public String getPartitionMode()
Gets the value of the partitionMode property.- Returns:
- possible object is
String
-
setPartitionMode
public void setPartitionMode(String value)
Sets the value of the partitionMode property.- Parameters:
value- allowed object isString
-
getPartitionColumn
public String getPartitionColumn()
Gets the value of the partitionColumn property.- Returns:
- possible object is
String
-
setPartitionColumn
public void setPartitionColumn(String value)
Sets the value of the partitionColumn property.- Parameters:
value- allowed object isString
-
isWithHistory
public Boolean isWithHistory()
Gets the value of the withHistory property.- Returns:
- possible object is
Boolean
-
setWithHistory
public void setWithHistory(Boolean value)
Sets the value of the withHistory property.- Parameters:
value- allowed object isBoolean
-
isDraft
public Boolean isDraft()
Gets the value of the draft property.- Returns:
- possible object is
Boolean
-
setDraft
public void setDraft(Boolean value)
Sets the value of the draft property.- Parameters:
value- allowed object isBoolean
-
getIdentityType
public IdentityType getIdentityType()
Gets the value of the identityType property.- Returns:
- possible object is
IdentityType
-
setIdentityType
public void setIdentityType(IdentityType value)
Sets the value of the identityType property.- Parameters:
value- allowed object isIdentityType
-
getIdentityStart
public BigInteger getIdentityStart()
Gets the value of the identityStart property.- Returns:
- possible object is
BigInteger
-
setIdentityStart
public void setIdentityStart(BigInteger value)
Sets the value of the identityStart property.- Parameters:
value- allowed object isBigInteger
-
getIdentityIncrement
public BigInteger getIdentityIncrement()
Gets the value of the identityIncrement property.- Returns:
- possible object is
BigInteger
-
setIdentityIncrement
public void setIdentityIncrement(BigInteger value)
Sets the value of the identityIncrement property.- Parameters:
value- allowed object isBigInteger
-
getIdentityCache
public BigInteger getIdentityCache()
Gets the value of the identityCache property.- Returns:
- possible object is
BigInteger
-
setIdentityCache
public void setIdentityCache(BigInteger value)
Sets the value of the identityCache property.- Parameters:
value- allowed object isBigInteger
-
getIdentityGenerated
public String getIdentityGenerated()
Gets the value of the identityGenerated property.- Returns:
- possible object is
String
-
setIdentityGenerated
public void setIdentityGenerated(String value)
Sets the value of the identityGenerated property.- Parameters:
value- allowed object isString
-
getSequenceName
public String getSequenceName()
Gets the value of the sequenceName property.- Returns:
- possible object is
String
-
setSequenceName
public void setSequenceName(String value)
Sets the value of the sequenceName property.- Parameters:
value- allowed object isString
-
getSequenceInitial
public BigInteger getSequenceInitial()
Gets the value of the sequenceInitial property.- Returns:
- possible object is
BigInteger
-
setSequenceInitial
public void setSequenceInitial(BigInteger value)
Sets the value of the sequenceInitial property.- Parameters:
value- allowed object isBigInteger
-
getSequenceAllocate
public BigInteger getSequenceAllocate()
Gets the value of the sequenceAllocate property.- Returns:
- possible object is
BigInteger
-
setSequenceAllocate
public void setSequenceAllocate(BigInteger value)
Sets the value of the sequenceAllocate property.- Parameters:
value- allowed object isBigInteger
-
getPkName
public String getPkName()
Gets the value of the pkName property.- Returns:
- possible object is
String
-
setPkName
public void setPkName(String value)
Sets the value of the pkName property.- Parameters:
value- allowed object isString
-
getStorageEngine
public String getStorageEngine()
Gets the value of the storageEngine property.- Returns:
- possible object is
String
-
setStorageEngine
public void setStorageEngine(String value)
Sets the value of the storageEngine property.- Parameters:
value- allowed object isString
-
getTablespace
public String getTablespace()
Gets the value of the tablespace property.- Returns:
- possible object is
String
-
setTablespace
public void setTablespace(String value)
Sets the value of the tablespace property.- Parameters:
value- allowed object isString
-
getIndexTablespace
public String getIndexTablespace()
Gets the value of the indexTablespace property.- Returns:
- possible object is
String
-
setIndexTablespace
public void setIndexTablespace(String value)
Sets the value of the indexTablespace property.- Parameters:
value- allowed object isString
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
-