Class 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>
     
    • Method Detail

      • getColumn

        public List<ColumngetColumn()
        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<UniqueConstraintgetUniqueConstraint()
        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<ForeignKeygetForeignKey()
        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 is String
      • setPartitionMode

        public void setPartitionMode​(String value)
        Sets the value of the partitionMode property.
        Parameters:
        value - allowed object is String
      • setPartitionColumn

        public void setPartitionColumn​(String value)
        Sets the value of the partitionColumn property.
        Parameters:
        value - allowed object is String
      • setWithHistory

        public void setWithHistory​(Boolean value)
        Sets the value of the withHistory property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • setIdentityGenerated

        public void setIdentityGenerated​(String value)
        Sets the value of the identityGenerated property.
        Parameters:
        value - allowed object is String
      • setSequenceName

        public void setSequenceName​(String value)
        Sets the value of the sequenceName property.
        Parameters:
        value - allowed object is String
      • 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 is String
      • setStorageEngine

        public void setStorageEngine​(String value)
        Sets the value of the storageEngine property.
        Parameters:
        value - allowed object is String
      • 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 is String
      • setIndexTablespace

        public void setIndexTablespace​(String value)
        Sets the value of the indexTablespace property.
        Parameters:
        value - allowed object is String
      • 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 is String