public class TachographDataFile extends EntityWithVersion
Entity.EntityBuilder<C extends Entity,B extends Entity.EntityBuilder<C,B>>| Constructor and Description |
|---|
TachographDataFile(Id id,
Driver driver,
Device device,
Byte[] binaryData,
int origin,
String originDescription,
LocalDateTime dateTime,
LocalDateTime timestamp,
LocalDateTime timestampStart,
LocalDateTime timestampEnd,
String fileName,
String summary,
int signature,
String fileNameTgd,
String fileNameDdd,
String fileNameV1B,
String warnings,
String errors,
int processingStatus,
String lockGaps,
Boolean archived)
Initializes a new instance of the
TachographDataFile. |
TachographDataFile(TachographDataFile value)
Initializes a new instance of the
TachographDataFile class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileNameFromFileFormatOrDefault(TachographFileFormat tachographFileFormat)
Get FileName from TachographFileFormat or TGD as default.
|
addExtraProperty, getExtraProperties, isSystemEntitypublic TachographDataFile(TachographDataFile value)
TachographDataFile class.value - The value.public TachographDataFile(Id id, Driver driver, Device device, Byte[] binaryData, int origin, String originDescription, LocalDateTime dateTime, LocalDateTime timestamp, LocalDateTime timestampStart, LocalDateTime timestampEnd, String fileName, String summary, int signature, String fileNameTgd, String fileNameDdd, String fileNameV1B, String warnings, String errors, int processingStatus, String lockGaps, Boolean archived)
TachographDataFile.id - The Id.driver - The driver.device - The vehicle.binaryData - The file binary data.origin - The origin of the file.originDescription - The description of the origin of the file.dateTime - The date on which the file was uploaded.timestamp - The date on which the file was generated by a tachograph or reader.timestampStart - The minimum date containing all data.timestampEnd - The most recent date with activity.fileName - The file name.summary - The summary.signature - The signature.fileNameTgd - The TGD file name.fileNameDdd - The DDD file name.fileNameV1B - The V1B file name.warnings - The String with the warnings found in the download, the download is correct for the administration.errors - The String with the errors found in the download, the download is NOT valid and will have to be repeated.processingStatus - The processing status.lockGaps - The String value of file gaps.archived - The boolean value of archived.public String getFileNameFromFileFormatOrDefault(TachographFileFormat tachographFileFormat)
tachographFileFormat - The file format to get the file name from.Copyright © 2024. All rights reserved.