Class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle

  • All Implemented Interfaces:
    org.flywaydb.core.api.migration.JavaMigration

    public class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
    extends org.flywaydb.core.api.migration.BaseJavaMigration
    Insert a 'dc.idendifier.uri' metadata record for each Community and Collection in the database. The value is calculated concatenating the canonicalPrefix extracted from the configuration (default is "http://hdl.handle.net/) and the object's handle suffix stored inside the handle table.
    Author:
    Alessandro Martelli (alessandro.martelli at 4science.it)
    • Field Detail

      • migration_file_size

        protected Integer migration_file_size
    • Constructor Detail

      • V7_0_2020_10_31__CollectionCommunity_Metadata_Handle

        public V7_0_2020_10_31__CollectionCommunity_Metadata_Handle()
    • Method Detail

      • migrate

        public void migrate​(org.flywaydb.core.api.migration.Context context)
                     throws Exception
        Throws:
        Exception
      • getChecksum

        public Integer getChecksum()
        Specified by:
        getChecksum in interface org.flywaydb.core.api.migration.JavaMigration
        Overrides:
        getChecksum in class org.flywaydb.core.api.migration.BaseJavaMigration