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.String
getComment()
Gets the value of the comment property.List<ForeignKey>
getForeignKey()
Gets the value of the foreignKey property.BigInteger
getIdentityCache()
Gets the value of the identityCache property.String
getIdentityGenerated()
Gets the value of the identityGenerated property.BigInteger
getIdentityIncrement()
Gets the value of the identityIncrement property.BigInteger
getIdentityStart()
Gets the value of the identityStart property.IdentityType
getIdentityType()
Gets the value of the identityType property.String
getIndexTablespace()
Gets the value of the indexTablespace property.String
getName()
Gets the value of the name property.String
getPartitionColumn()
Gets the value of the partitionColumn property.String
getPartitionMode()
Gets the value of the partitionMode property.String
getPkName()
Gets the value of the pkName property.BigInteger
getSequenceAllocate()
Gets the value of the sequenceAllocate property.BigInteger
getSequenceInitial()
Gets the value of the sequenceInitial property.String
getSequenceName()
Gets the value of the sequenceName property.String
getStorageEngine()
Gets the value of the storageEngine property.String
getTablespace()
Gets the value of the tablespace property.List<UniqueConstraint>
getUniqueConstraint()
Gets the value of the uniqueConstraint property.Boolean
isDraft()
Gets the value of the draft property.Boolean
isWithHistory()
Gets the value of the withHistory property.void
setComment(String value)
Sets the value of the comment property.void
setDraft(Boolean value)
Sets the value of the draft property.void
setIdentityCache(BigInteger value)
Sets the value of the identityCache property.void
setIdentityGenerated(String value)
Sets the value of the identityGenerated property.void
setIdentityIncrement(BigInteger value)
Sets the value of the identityIncrement property.void
setIdentityStart(BigInteger value)
Sets the value of the identityStart property.void
setIdentityType(IdentityType value)
Sets the value of the identityType property.void
setIndexTablespace(String value)
Sets the value of the indexTablespace property.void
setName(String value)
Sets the value of the name property.void
setPartitionColumn(String value)
Sets the value of the partitionColumn property.void
setPartitionMode(String value)
Sets the value of the partitionMode property.void
setPkName(String value)
Sets the value of the pkName property.void
setSequenceAllocate(BigInteger value)
Sets the value of the sequenceAllocate property.void
setSequenceInitial(BigInteger value)
Sets the value of the sequenceInitial property.void
setSequenceName(String value)
Sets the value of the sequenceName property.void
setStorageEngine(String value)
Sets the value of the storageEngine property.void
setTablespace(String value)
Sets the value of the tablespace property.void
setWithHistory(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
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
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
set
method 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
set
method 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
-
-