public static final class TableChange.SetProperty extends java.lang.Object implements TableChange
If the property already exists, it must be replaced with the new value.
TableChange.AddColumn, TableChange.After, TableChange.ColumnChange, TableChange.ColumnPosition, TableChange.Default, TableChange.DeleteColumn, TableChange.First, TableChange.RemoveProperty, TableChange.RenameColumn, TableChange.RenameTable, TableChange.SetProperty, TableChange.UpdateColumnComment, TableChange.UpdateColumnNullability, TableChange.UpdateColumnPosition, TableChange.UpdateColumnType, TableChange.UpdateComment
Constructor and Description |
---|
SetProperty(java.lang.String property,
java.lang.String value)
Creates a new SetProperty instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this SetProperty instance with another object for equality.
|
java.lang.String |
getProperty()
Retrieves the name of the property.
|
java.lang.String |
getValue()
Retrieves the value of the property.
|
int |
hashCode()
Generates a hash code for this SetProperty instance.
|
java.lang.String |
toString()
Returns a string representation of the SetProperty instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, deleteColumn, removeProperty, rename, renameColumn, setProperty, updateColumnComment, updateColumnNullability, updateColumnPosition, updateColumnType, updateComment
public SetProperty(java.lang.String property, java.lang.String value)
property
- The name of the property to be set.value
- The new value of the property.public java.lang.String getProperty()
public java.lang.String getValue()
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
public java.lang.String toString()
toString
in class java.lang.Object