Class AlterColumn
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 name="before" type="{http://ebean-orm.github.io/xml/ns/dbmigration}ddl-script" maxOccurs="unbounded" minOccurs="0"/>
<element name="after" type="{http://ebean-orm.github.io/xml/ns/dbmigration}ddl-script" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="columnName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="withHistory" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="currentType" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="currentDefaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="notnull" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="currentNotnull" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="historyExclude" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="checkConstraint" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="checkConstraintName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="dropCheckConstraint" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="uniqueOneToOne" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="dropUnique" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="foreignKeyName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="foreignKeyIndex" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="foreignKeyOnDelete" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="foreignKeyOnUpdate" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="dropForeignKey" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="dropForeignKeyIndex" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAfter()Gets the value of the after property.Gets the value of the before property.Gets the value of the checkConstraint property.Gets the value of the checkConstraintName property.Gets the value of the columnName property.Gets the value of the comment property.Gets the value of the currentDefaultValue property.Gets the value of the currentType property.Gets the value of the defaultValue property.Gets the value of the dropCheckConstraint property.Gets the value of the dropForeignKey property.Gets the value of the dropForeignKeyIndex property.Gets the value of the dropUnique property.Gets the value of the foreignKeyIndex property.Gets the value of the foreignKeyName property.Gets the value of the foreignKeyOnDelete property.Gets the value of the foreignKeyOnUpdate property.Gets the value of the references property.Gets the value of the tableName property.getType()Gets the value of the type property.Gets the value of the unique property.Gets the value of the uniqueOneToOne property.Gets the value of the currentNotnull property.Gets the value of the historyExclude property.Gets the value of the notnull property.Gets the value of the withHistory property.voidsetCheckConstraint(String value)Sets the value of the checkConstraint property.voidsetCheckConstraintName(String value)Sets the value of the checkConstraintName property.voidsetColumnName(String value)Sets the value of the columnName property.voidsetComment(String value)Sets the value of the comment property.voidsetCurrentDefaultValue(String value)Sets the value of the currentDefaultValue property.voidsetCurrentNotnull(Boolean value)Sets the value of the currentNotnull property.voidsetCurrentType(String value)Sets the value of the currentType property.voidsetDefaultValue(String value)Sets the value of the defaultValue property.voidsetDropCheckConstraint(String value)Sets the value of the dropCheckConstraint property.voidsetDropForeignKey(String value)Sets the value of the dropForeignKey property.voidsetDropForeignKeyIndex(String value)Sets the value of the dropForeignKeyIndex property.voidsetDropUnique(String value)Sets the value of the dropUnique property.voidsetForeignKeyIndex(String value)Sets the value of the foreignKeyIndex property.voidsetForeignKeyName(String value)Sets the value of the foreignKeyName property.voidsetForeignKeyOnDelete(String value)Sets the value of the foreignKeyOnDelete property.voidsetForeignKeyOnUpdate(String value)Sets the value of the foreignKeyOnUpdate property.voidsetHistoryExclude(Boolean value)Sets the value of the historyExclude property.voidsetNotnull(Boolean value)Sets the value of the notnull property.voidsetReferences(String value)Sets the value of the references property.voidsetTableName(String value)Sets the value of the tableName property.voidSets the value of the type property.voidSets the value of the unique property.voidsetUniqueOneToOne(String value)Sets the value of the uniqueOneToOne property.voidsetWithHistory(Boolean value)Sets the value of the withHistory property.
-
Constructor Details
-
AlterColumn
public AlterColumn()
-
-
Method Details
-
getBefore
Gets the value of the before 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 before property.For example, to add a new item, do as follows:
getBefore().add(newItem);Objects of the following type(s) are allowed in the list
DdlScript -
getAfter
Gets the value of the after 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 after property.For example, to add a new item, do as follows:
getAfter().add(newItem);Objects of the following type(s) are allowed in the list
DdlScript -
getColumnName
Gets the value of the columnName property.- Returns:
- possible object is
String
-
setColumnName
Sets the value of the columnName property.- Parameters:
value- allowed object isString
-
getTableName
Gets the value of the tableName property.- Returns:
- possible object is
String
-
setTableName
Sets the value of the tableName 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
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getCurrentType
Gets the value of the currentType property.- Returns:
- possible object is
String
-
setCurrentType
Sets the value of the currentType property.- Parameters:
value- allowed object isString
-
getDefaultValue
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
Sets the value of the defaultValue property.- Parameters:
value- allowed object isString
-
getCurrentDefaultValue
Gets the value of the currentDefaultValue property.- Returns:
- possible object is
String
-
setCurrentDefaultValue
Sets the value of the currentDefaultValue property.- Parameters:
value- allowed object isString
-
isNotnull
Gets the value of the notnull property.- Returns:
- possible object is
Boolean
-
setNotnull
Sets the value of the notnull property.- Parameters:
value- allowed object isBoolean
-
isCurrentNotnull
Gets the value of the currentNotnull property.- Returns:
- possible object is
Boolean
-
setCurrentNotnull
Sets the value of the currentNotnull property.- Parameters:
value- allowed object isBoolean
-
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
-
isHistoryExclude
Gets the value of the historyExclude property.- Returns:
- possible object is
Boolean
-
setHistoryExclude
Sets the value of the historyExclude property.- Parameters:
value- allowed object isBoolean
-
getCheckConstraint
Gets the value of the checkConstraint property.- Returns:
- possible object is
String
-
setCheckConstraint
Sets the value of the checkConstraint property.- Parameters:
value- allowed object isString
-
getCheckConstraintName
Gets the value of the checkConstraintName property.- Returns:
- possible object is
String
-
setCheckConstraintName
Sets the value of the checkConstraintName property.- Parameters:
value- allowed object isString
-
getDropCheckConstraint
Gets the value of the dropCheckConstraint property.- Returns:
- possible object is
String
-
setDropCheckConstraint
Sets the value of the dropCheckConstraint property.- Parameters:
value- allowed object isString
-
getUnique
Gets the value of the unique property.- Returns:
- possible object is
String
-
setUnique
Sets the value of the unique property.- Parameters:
value- allowed object isString
-
getUniqueOneToOne
Gets the value of the uniqueOneToOne property.- Returns:
- possible object is
String
-
setUniqueOneToOne
Sets the value of the uniqueOneToOne property.- Parameters:
value- allowed object isString
-
getDropUnique
Gets the value of the dropUnique property.- Returns:
- possible object is
String
-
setDropUnique
Sets the value of the dropUnique property.- Parameters:
value- allowed object isString
-
getReferences
Gets the value of the references property.- Returns:
- possible object is
String
-
setReferences
Sets the value of the references property.- Parameters:
value- allowed object isString
-
getForeignKeyName
Gets the value of the foreignKeyName property.- Returns:
- possible object is
String
-
setForeignKeyName
Sets the value of the foreignKeyName property.- Parameters:
value- allowed object isString
-
getForeignKeyIndex
Gets the value of the foreignKeyIndex property.- Returns:
- possible object is
String
-
setForeignKeyIndex
Sets the value of the foreignKeyIndex property.- Parameters:
value- allowed object isString
-
getForeignKeyOnDelete
Gets the value of the foreignKeyOnDelete property.- Returns:
- possible object is
String
-
setForeignKeyOnDelete
Sets the value of the foreignKeyOnDelete property.- Parameters:
value- allowed object isString
-
getForeignKeyOnUpdate
Gets the value of the foreignKeyOnUpdate property.- Returns:
- possible object is
String
-
setForeignKeyOnUpdate
Sets the value of the foreignKeyOnUpdate property.- Parameters:
value- allowed object isString
-
getDropForeignKey
Gets the value of the dropForeignKey property.- Returns:
- possible object is
String
-
setDropForeignKey
Sets the value of the dropForeignKey property.- Parameters:
value- allowed object isString
-
getDropForeignKeyIndex
Gets the value of the dropForeignKeyIndex property.- Returns:
- possible object is
String
-
setDropForeignKeyIndex
Sets the value of the dropForeignKeyIndex property.- Parameters:
value- allowed object isString
-