Class AddMissingUUIDs

  • All Implemented Interfaces:
    liquibase.change.custom.CustomChange, liquibase.change.custom.CustomSqlChange

    public class AddMissingUUIDs
    extends Object
    implements liquibase.change.custom.CustomSqlChange
    Custom change for Liquibase to generate UUIDs using the FORMCYCLE internal UUID generator
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • AddMissingUUIDs

        public AddMissingUUIDs()
    • Method Detail

      • getTable

        public String getTable()
      • setTable

        public void setTable​(String table)
      • getIdColumn

        public String getIdColumn()
      • setIdColumn

        public void setIdColumn​(String idColumn)
      • getTargetColumn

        public String getTargetColumn()
      • setTargetColumn

        public void setTargetColumn​(String targetColumn)
      • 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
      • generateStatements

        public liquibase.statement.SqlStatement[] generateStatements​(liquibase.database.Database database)
                                                              throws liquibase.exception.CustomChangeException
        Specified by:
        generateStatements in interface liquibase.change.custom.CustomSqlChange
        Throws:
        liquibase.exception.CustomChangeException