Class CreateTable
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 -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the column property.Gets the value of the comment property.Gets the value of the foreignKey property.Gets the value of the identityCache property.Gets the value of the identityGenerated property.Gets the value of the identityIncrement property.Gets the value of the identityStart property.Gets the value of the identityType property.Gets the value of the indexTablespace property.getName()Gets the value of the name property.Gets the value of the partitionColumn property.Gets the value of the partitionMode property.Gets the value of the pkName property.Gets the value of the sequenceAllocate property.Gets the value of the sequenceInitial property.Gets the value of the sequenceName property.Gets the value of the storageEngine property.Gets the value of the tablespace property.Gets the value of the uniqueConstraint property.isDraft()Gets the value of the draft property.Gets the value of the withHistory property.voidsetComment(String value)Sets the value of the comment property.voidSets 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.voidSets 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.voidSets 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 Details
-
CreateTable
public CreateTable()
-
-
Method Details
-
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
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
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getPartitionMode
Gets the value of the partitionMode property.- Returns:
- possible object is
String
-
setPartitionMode
Sets the value of the partitionMode property.- Parameters:
value- allowed object isString
-
getPartitionColumn
Gets the value of the partitionColumn property.- Returns:
- possible object is
String
-
setPartitionColumn
Sets the value of the partitionColumn property.- Parameters:
value- allowed object isString
-
isWithHistory
Gets the value of the withHistory property.- Returns:
- possible object is
Boolean
-
setWithHistory
Sets the value of the withHistory property.- Parameters:
value- allowed object isBoolean
-
isDraft
Gets the value of the draft property.- Returns:
- possible object is
Boolean
-
setDraft
Sets the value of the draft property.- Parameters:
value- allowed object isBoolean
-
getIdentityType
Gets the value of the identityType property.- Returns:
- possible object is
IdentityType
-
setIdentityType
Sets the value of the identityType property.- Parameters:
value- allowed object isIdentityType
-
getIdentityStart
Gets the value of the identityStart property.- Returns:
- possible object is
BigInteger
-
setIdentityStart
Sets the value of the identityStart property.- Parameters:
value- allowed object isBigInteger
-
getIdentityIncrement
Gets the value of the identityIncrement property.- Returns:
- possible object is
BigInteger
-
setIdentityIncrement
Sets the value of the identityIncrement property.- Parameters:
value- allowed object isBigInteger
-
getIdentityCache
Gets the value of the identityCache property.- Returns:
- possible object is
BigInteger
-
setIdentityCache
Sets the value of the identityCache property.- Parameters:
value- allowed object isBigInteger
-
getIdentityGenerated
Gets the value of the identityGenerated property.- Returns:
- possible object is
String
-
setIdentityGenerated
Sets the value of the identityGenerated property.- Parameters:
value- allowed object isString
-
getSequenceName
Gets the value of the sequenceName property.- Returns:
- possible object is
String
-
setSequenceName
Sets the value of the sequenceName property.- Parameters:
value- allowed object isString
-
getSequenceInitial
Gets the value of the sequenceInitial property.- Returns:
- possible object is
BigInteger
-
setSequenceInitial
Sets the value of the sequenceInitial property.- Parameters:
value- allowed object isBigInteger
-
getSequenceAllocate
Gets the value of the sequenceAllocate property.- Returns:
- possible object is
BigInteger
-
setSequenceAllocate
Sets the value of the sequenceAllocate property.- Parameters:
value- allowed object isBigInteger
-
getPkName
Gets the value of the pkName property.- Returns:
- possible object is
String
-
setPkName
Sets the value of the pkName property.- Parameters:
value- allowed object isString
-
getStorageEngine
Gets the value of the storageEngine property.- Returns:
- possible object is
String
-
setStorageEngine
Sets the value of the storageEngine property.- Parameters:
value- allowed object isString
-
getTablespace
Gets the value of the tablespace property.- Returns:
- possible object is
String
-
setTablespace
Sets the value of the tablespace property.- Parameters:
value- allowed object isString
-
getIndexTablespace
Gets the value of the indexTablespace property.- Returns:
- possible object is
String
-
setIndexTablespace
Sets the value of the indexTablespace property.- Parameters:
value- allowed object isString
-
getComment
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-