Class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
- java.lang.Object
-
- org.flywaydb.core.api.migration.BaseJavaMigration
-
- org.dspace.storage.rdbms.migration.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.BaseJavaMigrationInsert 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 Summary
Fields Modifier and Type Field Description protected Integermigration_file_size
-
Constructor Summary
Constructors Constructor Description V7_0_2020_10_31__CollectionCommunity_Metadata_Handle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetChecksum()voidmigrate(org.flywaydb.core.api.migration.Context context)
-
-
-
Field Detail
-
migration_file_size
protected Integer migration_file_size
-
-
Method Detail
-
migrate
public void migrate(org.flywaydb.core.api.migration.Context context) throws Exception- Throws:
Exception
-
getChecksum
public Integer getChecksum()
- Specified by:
getChecksumin interfaceorg.flywaydb.core.api.migration.JavaMigration- Overrides:
getChecksumin classorg.flywaydb.core.api.migration.BaseJavaMigration
-
-