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 Details

    • UpdateLocalizedFieldChange

      public UpdateLocalizedFieldChange()
  • Method Details

    • getTableName

      public String getTableName()
    • setTableName

      public void setTableName(String tableName)
    • getColumnName

      public String getColumnName()
    • setColumnName

      public void setColumnName(String columnName)
    • getWhere

      public String getWhere()
    • setWhere

      public void setWhere(String where)
    • getValueNumeric

      public Number getValueNumeric()
    • getValueBoolean

      public Boolean getValueBoolean()
    • setValueNumeric

      public UpdateLocalizedFieldChange setValueNumeric(String valueNumeric)
    • setValueNumeric

      public UpdateLocalizedFieldChange setValueNumeric(Number valueNumeric)
    • setValueBoolean

      public UpdateLocalizedFieldChange setValueBoolean(Boolean valueBoolean)
    • setValueComputed

      public UpdateLocalizedFieldChange setValueComputed(String valueComputed)
    • setValueDate

      public UpdateLocalizedFieldChange setValueDate(Date valueDate)
    • setValueDate

      public UpdateLocalizedFieldChange setValueDate(String valueDate) throws liquibase.exception.DateParseException
      Throws:
      liquibase.exception.DateParseException
    • getValueDate

      public Date getValueDate()
    • getValueComputed

      public liquibase.statement.DatabaseFunction getValueComputed()
    • getLang

      public String getLang()
    • setLang

      public void setLang(String lang)
    • setValue

      public void setValue(String value)
    • getValue

      public String getValue()
    • execute

      public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
      Specified by:
      execute in interface liquibase.change.custom.CustomTaskChange
      Throws:
      liquibase.exception.CustomChangeException
    • getConfirmationMessage

      public String getConfirmationMessage()
      Specified by:
      getConfirmationMessage in interface liquibase.change.custom.CustomChange
    • setUp

      public void setUp() throws liquibase.exception.SetupException
      Specified by:
      setUp in interface liquibase.change.custom.CustomChange
      Throws:
      liquibase.exception.SetupException
    • setFileOpener

      public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
      Specified by:
      setFileOpener in interface liquibase.change.custom.CustomChange
    • validate

      public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
      Specified by:
      validate in interface liquibase.change.custom.CustomChange