Package eu.europa.esig.dss.model
Class ManifestEntry
java.lang.Object
eu.europa.esig.dss.model.ManifestEntry
- All Implemented Interfaces:
Serializable
Defines a references document entry of a ManifestFile
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the manifest entry digestGets the name of the corresponding documentDeprecated.since DSS 6.1.Gets the mimetypegetUri()
Gets the filenameboolean
isFound()
Gets if the referenced document has been foundboolean
isIntact()
Gets if the digest of the reference document matchesboolean
Checks if it is a rootfilevoid
Sets the manifest entry digestvoid
setDocumentName
(String documentName) Sets the name of the corresponding documentvoid
setFileName
(String fileName) Deprecated.since DSS 6.1.void
setFound
(boolean found) Sets if the referenced document has been foundvoid
setIntact
(boolean intact) Sets if the digest of the reference document matchesvoid
setMimeType
(MimeType mimeType) Sets the mimetypevoid
setRootfile
(boolean rootfile) Sets if value of 'Rootfile' set to true, FALSE otherwisevoid
Sets the filename
-
Constructor Details
-
ManifestEntry
public ManifestEntry()Default constructor instantiating object with null values
-
-
Method Details
-
getFileName
-
setFileName
Deprecated.since DSS 6.1. Please use#setUri
method instead.Sets the filename- Parameters:
fileName
-String
-
getUri
-
setUri
-
getMimeType
-
setMimeType
-
getDigest
-
setDigest
-
getDocumentName
-
setDocumentName
-
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
-