Package eu.europa.esig.dss.validation
Class ManifestEntry
java.lang.Object
eu.europa.esig.dss.validation.ManifestEntry
- All Implemented Interfaces:
Serializable
Defines a references document entry of a ManifestFile
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DigestGets the manifest entry digestGets the filenameeu.europa.esig.dss.enumerations.MimeTypeGets the mimetypebooleanisFound()Gets if the referenced document has been foundbooleanisIntact()Gets if the digest of the reference document matchesbooleanChecks if it is a rootfilevoidsetDigest(eu.europa.esig.dss.model.Digest digest) Sets the manifest entry digestvoidsetFileName(String fileName) Sets the filenamevoidsetFound(boolean found) Sets if the referenced document has been foundvoidsetIntact(boolean intact) Sets if the digest of the reference document matchesvoidsetMimeType(eu.europa.esig.dss.enumerations.MimeType mimeType) Sets the mimetypevoidsetRootfile(boolean rootfile) Sets if value of 'Rootfile' set to true, FALSE otherwise
-
Constructor Details
-
ManifestEntry
public ManifestEntry()Default constructor instantiating object with null values
-
-
Method Details
-
getFileName
Gets the filename- Returns:
String
-
setFileName
Sets the filename- Parameters:
fileName-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 eu.europa.esig.dss.model.Digest getDigest()Gets the manifest entry digest- Returns:
Digest
-
setDigest
public void setDigest(eu.europa.esig.dss.model.Digest digest) Sets the manifest entry digest- Parameters:
digest-Digest
-
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
-