Package edu.ucsb.nceas.metacat.database
Class DBVersion
java.lang.Object
edu.ucsb.nceas.metacat.Version
edu.ucsb.nceas.metacat.database.DBVersion
- All Implemented Interfaces:
Comparable<Version>
- Author:
- daigle@nceas.nceas.ucsb.edu DBVersion represents the current DBVersion information for this Metacat instance.
-
Field Summary
Fields inherited from class edu.ucsb.nceas.metacat.Version
allowedVersionLevels, subversions, versionString
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the update script list for this versionMethods inherited from class edu.ucsb.nceas.metacat.Version
compareTo, getSubversion, getVersionString
-
Constructor Details
-
DBVersion
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
Get the update script list for this version- Returns:
- a Vector of update script names.
-