Class DumpManifest

java.lang.Object
org.gcube.informationsystem.registry.DumpManifest

public class DumpManifest extends Object
The manifest of a System Dump archive: what describes the archive itself, not the information it holds. The model the dumped information conforms to is stated by the dumped RegistryMetadata.

Unknown fields are ignored, so that a reader built on an older version still reads what a newer one writes.

Author:
Luca Frosini (ISTI - CNR)
  • Constructor Details

    • DumpManifest

      public DumpManifest()
  • Method Details

    • getFormatVersion

      public int getFormatVersion()
      Returns the version of the archive format.
      Returns:
      the format version
    • setFormatVersion

      public void setFormatVersion(int formatVersion)
      Sets the version of the archive format.
      Parameters:
      formatVersion - the format version
    • getCreatedAt

      public String getCreatedAt()
      Returns when the archive was produced, formatted per Element.DATETIME_PATTERN.
      Returns:
      the creation timestamp
    • setCreatedAt

      public void setCreatedAt(String createdAt)
      Sets when the archive was produced.
      Parameters:
      createdAt - the creation timestamp, formatted per Element.DATETIME_PATTERN