filesystem
Class File

java.lang.Object
  extended by filesystem.File

public class File
extends Object

Implementation of the File entity component. It represents a file inside a group's folder.


Field Summary
 boolean hasCopies
          True if the files has copies made by a conflict resolution strategy.
 boolean important
          Used for mobile devices, true if the file is important (represents a user's favorite file or an active file
 Change lastChange
          A reference to its last change.
 Date lastModified
          The time when the file was last modified locally.
 String name
          The file's name, as seen by the user.
 String openApp
          The name of the application installed on the system for opening this type of file.
 String path
          The file's path, excluding the file's name.
 String type
          The file's type.
 long version
          The file's version, given by the versioning system.
 
Constructor Summary
File()
           
 
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 file's name, as seen by the user.


path

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


version

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


lastModified

public Date lastModified
The time when the file was last modified locally.


lastChange

public Change lastChange
A reference to its last change.


hasCopies

public boolean hasCopies
True if the files has copies made by a conflict resolution strategy.


type

public String type
The file's type.


openApp

public String openApp
The name of the application installed on the system for opening this type of file.


important

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

Constructor Detail

File

public File()