Class DBVersion

java.lang.Object
edu.ucsb.nceas.metacat.Version
edu.ucsb.nceas.metacat.database.DBVersion
All Implemented Interfaces:
Comparable<Version>

public class DBVersion extends Version
Author:
daigle@nceas.nceas.ucsb.edu DBVersion represents the current DBVersion information for this Metacat instance.
  • Constructor Details

    • DBVersion

      public DBVersion(String DBVersionId) throws edu.ucsb.nceas.utilities.PropertyNotFoundException
      Create a database version. Get the update script list from properties for this version and save in a vector.
      Parameters:
      DBVersionId - a string representing the version of the database.
      Throws:
      edu.ucsb.nceas.utilities.PropertyNotFoundException
  • Method Details

    • getUpdateScripts

      public Vector<String> getUpdateScripts()
      Get the update script list for this version
      Returns:
      a Vector of update script names.