BrightSide Workbench Full Report + Source Code
org.turro.wd.entities.ServerFileAdapter Class Reference
Inheritance diagram for org.turro.wd.entities.ServerFileAdapter:
Collaboration diagram for org.turro.wd.entities.ServerFileAdapter:

Public Member Functions

 ServerFileAdapter (Collection< Attachment > collection)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 29 of file ServerFileAdapter.java.

Constructor & Destructor Documentation

◆ ServerFileAdapter()

org.turro.wd.entities.ServerFileAdapter.ServerFileAdapter ( Collection< Attachment collection)

Definition at line 31 of file ServerFileAdapter.java.

31  {
32  super();
33  for(Attachment a : collection) {
34  ServerFile sf = new ServerFile();
35  sf.setFileContentType(a.getFileContentType());
36  sf.setFileName(a.getFileName());
37  sf.setFileSize(a.getFileSize());
38  sf.setLocked(a.isLocked());
39  sf.setLocker(a.getLocker());
40  sf.setModification(a.getModification());
41  sf.setOwner(a.getOwner());
42  sf.setPath(a.getPath());
43  add(sf);
44  }
45  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: