public static final class TableChange.UpdateColumnDefaultValue extends java.lang.Object implements TableChange.ColumnChange
The field names are used to find the field to update.
If the field does not exist, the change must result in an IllegalArgumentException
.
TableChange.AddColumn, TableChange.AddIndex, TableChange.After, TableChange.ColumnChange, TableChange.ColumnPosition, TableChange.Default, TableChange.DeleteColumn, TableChange.DeleteIndex, TableChange.First, TableChange.RemoveProperty, TableChange.RenameColumn, TableChange.RenameTable, TableChange.SetProperty, TableChange.UpdateColumnAutoIncrement, TableChange.UpdateColumnComment, TableChange.UpdateColumnDefaultValue, TableChange.UpdateColumnNullability, TableChange.UpdateColumnPosition, TableChange.UpdateColumnType, TableChange.UpdateComment
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this UpdateColumnDefaultValue instance with another object for equality.
|
java.lang.String[] |
fieldName()
Retrieves the field name of the column whose default value is being updated.
|
Expression |
getNewDefaultValue()
Retrieves the new default value for the column.
|
int |
hashCode()
Generates a hash code for this UpdateColumnDefaultValue instance.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addIndex, deleteColumn, deleteIndex, removeProperty, rename, renameColumn, setProperty, updateColumnAutoIncrement, updateColumnComment, updateColumnDefaultValue, updateColumnNullability, updateColumnPosition, updateColumnType, updateComment
public java.lang.String[] fieldName()
fieldName
in interface TableChange.ColumnChange
public Expression getNewDefaultValue()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to compare with this instance.public int hashCode()
hashCode
in class java.lang.Object