Class ManifestEntry

java.lang.Object
eu.europa.esig.dss.model.ManifestEntry
All Implemented Interfaces:
Serializable

public class ManifestEntry extends Object implements Serializable
Defines a references document entry of a ManifestFile
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor instantiating object with null values
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the manifest entry digest
    Gets the name of the corresponding document
    eu.europa.esig.dss.enumerations.MimeType
    Gets the mimetype
    Gets the filename
    boolean
    Gets if the referenced document has been found
    boolean
    Gets if the digest of the reference document matches
    boolean
    Checks if it is a rootfile
    void
    setDigest(Digest digest)
    Sets the manifest entry digest
    void
    setDocumentName(String documentName)
    Sets the name of the corresponding document
    void
    setFound(boolean found)
    Sets if the referenced document has been found
    void
    setIntact(boolean intact)
    Sets if the digest of the reference document matches
    void
    setMimeType(eu.europa.esig.dss.enumerations.MimeType mimeType)
    Sets the mimetype
    void
    setRootfile(boolean rootfile)
    Sets if value of 'Rootfile' set to true, FALSE otherwise
    void
    Sets the filename

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ManifestEntry

      public ManifestEntry()
      Default constructor instantiating object with null values
  • Method Details

    • getUri

      public String getUri()
      Gets the filename
      Returns:
      String
    • setUri

      public void setUri(String uri)
      Sets the filename
      Parameters:
      uri - String
    • getMimeType

      public eu.europa.esig.dss.enumerations.MimeType getMimeType()
      Gets the mimetype
      Returns:
      MimeType
    • setMimeType

      public void setMimeType(eu.europa.esig.dss.enumerations.MimeType mimeType)
      Sets the mimetype
      Parameters:
      mimeType - MimeType
    • getDigest

      public Digest getDigest()
      Gets the manifest entry digest
      Returns:
      Digest
    • setDigest

      public void setDigest(Digest digest)
      Sets the manifest entry digest
      Parameters:
      digest - Digest
    • getDocumentName

      public String getDocumentName()
      Gets the name of the corresponding document
      Returns:
      String
    • setDocumentName

      public void setDocumentName(String documentName)
      Sets the name of the corresponding document
      Parameters:
      documentName - String
    • isFound

      public boolean isFound()
      Gets if the referenced document has been found
      Returns:
      TRUE if the document has been found, FALSE otherwise
    • setFound

      public void setFound(boolean found)
      Sets if the referenced document has been found
      Parameters:
      found - if the referenced document has been found
    • isIntact

      public boolean isIntact()
      Gets if the digest of the reference document matches
      Returns:
      TRUE if the digest of the reference document matches, FALSE otherwise
    • setIntact

      public void setIntact(boolean intact)
      Sets if the digest of the reference document matches
      Parameters:
      intact - if the digest of the reference document matches
    • isRootfile

      public boolean isRootfile()
      Checks if it is a rootfile
      Returns:
      TRUE if value of 'Rootfile' set to true, FALSE otherwise
    • setRootfile

      public void setRootfile(boolean rootfile)
      Sets if value of 'Rootfile' set to true, FALSE otherwise
      Parameters:
      rootfile - if it is a rootfile