View Javadoc

1   package ch.busyboxes.agoo.controller.model;
2   
3   /**
4    * A representation of a folder watched by the Agoo system, this object contains what is
5    * required to display in a view
6    * 
7    * @author julien@busyboxes.ch
8    */
9   public class WebWatchedFolder {
10  
11  	/** The id of the folder */
12  	private Long id;
13  	
14  	/** The folder path */
15  	private String folderPath;
16  
17  	/** The number of files watched */
18  	private int watchedFilesCount;
19  	
20  	/**
21  	 * Returns the id of the watched folder
22  	 * 
23  	 * @return the id of the watched folder
24  	 */
25  	public Long getId() {
26  		return id;
27  	}
28  	
29  	/**
30  	 * Sets the id of the watched folder
31  	 * 
32  	 * param id the id of the watched folder
33  	 */
34  	public void setId(Long id) {
35  		this.id = id;
36  	}
37  
38  	/**
39  	 * Returns the path corresponding to this folder
40  	 * 
41  	 * @return the folderPath the path of this folder
42  	 */
43  	public String getFolderPath() {
44  		return folderPath;
45  	}
46  
47  	/**
48  	 * Sets the path corresponding to this folder
49  	 * 
50  	 * @param folderPath the folder's path to set
51  	 */
52  	public void setFolderPath(String folderPath) {
53  		this.folderPath = folderPath;
54  	}
55  
56  	/**
57  	 * Sets the number for watched files
58  	 * 
59  	 * @return the watchedFilesCount
60  	 */
61  	public int getWatchedFilesCount() {
62  		return watchedFilesCount;
63  	}
64  
65  	/**
66  	 * Gets the number of watches files
67  	 * 
68  	 * @param watchedFilesCount the watchedFilesCount to set
69  	 */
70  	public void setWatchedFilesCount(int watchedFilesCount) {
71  		this.watchedFilesCount = watchedFilesCount;
72  	}
73  
74  
75  }