this.fileUploadTime = candidacyDocument.getFileUploadTime();
this.actualFile = (file != null) ? file.getFilename() + " - " + file.getUploadTime().toString("dd/MM/yyyy hh:mm") : null;
    public CandidacyDocumentUploadBean(CandidacyDocument candidacyDocument) {        super();        this.documentDescription = candidacyDocument.getDocumentDescription();        this.fileUploadTime = candidacyDocument.getFileUploadTime();        this.candidacyDocument = new DomainReference<CandidacyDocument>(candidacyDocument);        this.filename = (candidacyDocument.getFile() != null) ? candidacyDocument.getFile()                .getFilename() : null;    }