filesystem
Class Folder

java.lang.Object
  extended by filesystem.Folder

public class Folder
extends Object

Implements the Folder entity component. It represents a subfolder in a group's folder.


Field Summary
 List<File> files
          The list of file inside it.
 boolean important
          Used for mobile devices, true if the file is important (represents a user's favorite folder)
 Change lastChange
          A reference to its last change.
 Date lastModified
          The time when the folder was last modified locally
 String name
          The folder's name, as seen by the user.
 String path
          The folder's path, excluding the folder's name.
 List<Folder> subfolders
          The list of folders inside it.
 long version
          The folder's version, given by the versioning system.
 
Constructor Summary
Folder()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name
The folder's name, as seen by the user.


path

public String path
The folder's path, excluding the folder's name.


version

public long version
The folder's version, given by the versioning system.


lastModified

public Date lastModified
The time when the folder was last modified locally


lastChange

public Change lastChange
A reference to its last change.


important

public boolean important
Used for mobile devices, true if the file is important (represents a user's favorite folder)


files

public List<File> files
The list of file inside it.


subfolders

public List<Folder> subfolders
The list of folders inside it.

Constructor Detail

Folder

public Folder()