Class UpdateLocalizedFieldChange
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.liquibase.UpdateLocalizedFieldChange
- All Implemented Interfaces:
liquibase.change.custom.CustomChange
,liquibase.change.custom.CustomTaskChange
public class UpdateLocalizedFieldChange
extends Object
implements liquibase.change.custom.CustomTaskChange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(liquibase.database.Database database) getLang()
getValue()
liquibase.statement.DatabaseFunction
getWhere()
void
setColumnName
(String columnName) void
setFileOpener
(liquibase.resource.ResourceAccessor resourceAccessor) void
void
setTableName
(String tableName) void
setUp()
void
setValueBoolean
(Boolean valueBoolean) setValueComputed
(String valueComputed) setValueDate
(String valueDate) setValueDate
(Date valueDate) setValueNumeric
(Number valueNumeric) setValueNumeric
(String valueNumeric) void
liquibase.exception.ValidationErrors
validate
(liquibase.database.Database database)
-
Constructor Details
-
UpdateLocalizedFieldChange
public UpdateLocalizedFieldChange()
-
-
Method Details
-
getTableName
-
setTableName
-
getColumnName
-
setColumnName
-
getWhere
-
setWhere
-
getValueNumeric
-
getValueBoolean
-
setValueNumeric
-
setValueNumeric
-
setValueBoolean
-
setValueComputed
-
setValueDate
-
setValueDate
public UpdateLocalizedFieldChange setValueDate(String valueDate) throws liquibase.exception.DateParseException - Throws:
liquibase.exception.DateParseException
-
getValueDate
-
getValueComputed
public liquibase.statement.DatabaseFunction getValueComputed() -
getLang
-
setLang
-
setValue
-
getValue
-
execute
public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException - Specified by:
execute
in interfaceliquibase.change.custom.CustomTaskChange
- Throws:
liquibase.exception.CustomChangeException
-
getConfirmationMessage
- Specified by:
getConfirmationMessage
in interfaceliquibase.change.custom.CustomChange
-
setUp
public void setUp() throws liquibase.exception.SetupException- Specified by:
setUp
in interfaceliquibase.change.custom.CustomChange
- Throws:
liquibase.exception.SetupException
-
setFileOpener
public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor) - Specified by:
setFileOpener
in interfaceliquibase.change.custom.CustomChange
-
validate
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database) - Specified by:
validate
in interfaceliquibase.change.custom.CustomChange
-