Class RestFileInfo
java.lang.Object
de.dlr.proseo.storagemgr.rest.model.RestFileInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RestFileInfo.RestFileInfo(String storageType, String filePath, String fileName, Long fileSize) Creates a new RestFileInfo. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the fileName.Returns the filePath.Returns the fileSize.Returns the storageType.inthashCode()voidsetFileName(String fileName) Set the fileName.voidsetFilePath(String filePath) Set the filePath.voidsetFileSize(Long fileSize) Set the fileSize.voidsetStorageType(String storageType) Set the storageType.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
storageType
The type of the storage to ingest the data from -
filePath
The S3/POSIX/ALLUXIO path to the file -
fileName
The file name -
fileSize
The size of the primary product file in bytes
-
-
Constructor Details
-
RestFileInfo
public RestFileInfo()Creates a new RestFileInfo. -
RestFileInfo
Creates a new RestFileInfo.
-
-
Method Details
-
getStorageType
Returns the storageType.- Returns:
- storageType
-
setStorageType
Set the storageType.- Parameters:
storageType- the new storageType
-
getFilePath
Returns the filePath.- Returns:
- filePath
-
setFilePath
Set the filePath.- Parameters:
filePath- the new filePath
-
getFileName
Returns the fileName.- Returns:
- fileName
-
setFileName
Set the fileName.- Parameters:
fileName- the new fileName
-
getFileSize
Returns the fileSize.- Returns:
- fileSize
-
setFileSize
Set the fileSize.- Parameters:
fileSize- the new fileSize
-
hashCode
public int hashCode() -
equals
-
toString
-