Package de.dlr.proseo.model
Klasse ProductFile
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.ProductFile
The data file and pertinent auxiliary files for a product at a given processing facility. Each product has at most one
data file representation at each of the processing facilities.
- Autor:
- Dr. Thomas Bassler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Test equality of persistent objects based on their unique ID.Gets the set of auxiliary file namesGets the MD5 checksum for the primary product fileGets the computation time for the product file checksumGets the file path for data file and auxiliary filesGets the size in bytes of the primary product fileGets the associated processing facilityGets the associated productGets the name of the data fileGets the type of storage used at the processing facilityGets the MD5 checksum of the ZIP archiveGets the computation time for the ZIP archive file checksumGets the name of the ZIP archiveGets the size of the ZIP archive in bytesint
hashCode()
void
setAuxFileNames
(Set<String> auxFileNames) Sets the set of auxiliary file namesvoid
setChecksum
(String checksum) Sets the MD5 checksum for the primary product filevoid
setChecksumTime
(Instant checksumTime) Sets the computation time for the product file checksumvoid
setFilePath
(String filePath) Sets the file path for data file and auxiliary files (path name must be consistent with storage type)void
setFileSize
(Long fileSize) Sets the size in bytes of the primary product filevoid
setProcessingFacility
(ProcessingFacility processingFacility) Sets the associated processing facilityvoid
setProduct
(Product product) Sets the associated productvoid
setProductFileName
(String productFileName) Sets the name of the data filevoid
setStorageType
(StorageType storageType) Sets the type of storage used at the processing facilityvoid
setZipChecksum
(String zipChecksum) Sets the MD5 checksum of the ZIP archivevoid
setZipChecksumTime
(Instant zipChecksumTime) Sets the computation time for the ZIP archive file checksumvoid
setZipFileName
(String zipFileName) Sets the name of the ZIP archivevoid
setZipFileSize
(Long zipFileSize) Sets the size of the ZIP archive in bytestoString()
Von Klasse geerbte Methoden de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Konstruktordetails
-
ProductFile
public ProductFile()
-
-
Methodendetails
-
getProduct
Gets the associated product- Gibt zurück:
- the product
-
setProduct
Sets the associated product- Parameter:
product
- the product to set
-
getProcessingFacility
Gets the associated processing facility- Gibt zurück:
- the processingFacility
-
setProcessingFacility
Sets the associated processing facility- Parameter:
processingFacility
- the processingFacility to set
-
getProductFileName
Gets the name of the data file- Gibt zurück:
- the productFileName
-
setProductFileName
Sets the name of the data file- Parameter:
productFileName
- the productFileName to set
-
getAuxFileNames
Gets the set of auxiliary file names- Gibt zurück:
- the auxFileNames
-
setAuxFileNames
Sets the set of auxiliary file names- Parameter:
auxFileNames
- the auxFileNames to set
-
getFilePath
Gets the file path for data file and auxiliary files- Gibt zurück:
- the filePath
-
setFilePath
Sets the file path for data file and auxiliary files (path name must be consistent with storage type)- Parameter:
filePath
- the filePath to set
-
getStorageType
Gets the type of storage used at the processing facility- Gibt zurück:
- the storageType
-
setStorageType
Sets the type of storage used at the processing facility- Parameter:
storageType
- the storageType to set
-
getFileSize
Gets the size in bytes of the primary product file- Gibt zurück:
- the file size
-
setFileSize
Sets the size in bytes of the primary product file- Parameter:
fileSize
- the file size to set
-
getChecksum
Gets the MD5 checksum for the primary product file- Gibt zurück:
- the checksum string
-
setChecksum
Sets the MD5 checksum for the primary product file- Parameter:
checksum
- the checksum to set
-
getChecksumTime
Gets the computation time for the product file checksum- Gibt zurück:
- the checksum computation time
-
setChecksumTime
Sets the computation time for the product file checksum- Parameter:
checksumTime
- the checksumTime to set
-
getZipFileName
Gets the name of the ZIP archive- Gibt zurück:
- the ZIP archive file name or null, if no ZIP archive exists
-
setZipFileName
Sets the name of the ZIP archive- Parameter:
zipFileName
- the ZIP archive file name to set (may be null)
-
getZipFileSize
Gets the size of the ZIP archive in bytes- Gibt zurück:
- the ZIP archive file size or null, if no ZIP archive exists
-
setZipFileSize
Sets the size of the ZIP archive in bytes- Parameter:
zipFileSize
- the ZIP archive file size to set
-
getZipChecksum
Gets the MD5 checksum of the ZIP archive- Gibt zurück:
- the ZIP archive checksum or null, if no ZIP archive exists
-
setZipChecksum
Sets the MD5 checksum of the ZIP archive- Parameter:
zipChecksum
- the ZIP archive checksum to set (may be null)
-
getZipChecksumTime
Gets the computation time for the ZIP archive file checksum- Gibt zurück:
- the checksum computation time or null, if no ZIP archive exists
-
setZipChecksumTime
Sets the computation time for the ZIP archive file checksum- Parameter:
zipChecksumTime
- the checksum computation time to set (may be null)
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlassePersistentObject
-
equals
Beschreibung aus Klasse kopiert:PersistentObject
Test equality of persistent objects based on their unique ID.- Setzt außer Kraft:
equals
in KlassePersistentObject
- Parameter:
obj
- the object to compare this object to- Gibt zurück:
- true, if obj is a persistent object and has the same ID, false otherwise
- Siehe auch:
-
toString
-