View Javadoc
1   /******************************************************************************
2    * Root.java - Define one root directory that contains pictures
3    * 
4    * PicMan - The BuckoSoft Picture Manager in Java
5    * Copyright(c) 2006 - Dick Balaska
6    * 
7    */
8   package com.buckosoft.PicMan.domain;
9   
10  /** Define one root directory that contains pictures
11   * 
12   * @author dick
13   * @since 20060929
14   */
15  public class Root {
16  	private	int		rid;
17  	private	String	name;
18  	private	String	path;
19  	private String	filePrefix;
20  	private	boolean	active = true;
21  
22  	/**
23  	 * @return the name
24  	 */
25  	public String getName() {
26  		return name;
27  	}
28  	/**
29  	 * @param name the name to set
30  	 */
31  	public void setName(String name) {
32  		this.name = name;
33  	}
34  	/**
35  	 * @return the path
36  	 */
37  	public String getPath() {
38  		return path;
39  	}
40  	/**
41  	 * @param path the path to set
42  	 */
43  	public void setPath(String path) {
44  		this.path = path;
45  	}
46  	
47  	/**
48  	 * @return the filePrefix
49  	 */
50  	public String getFilePrefix() {
51  		return filePrefix;
52  	}
53  	/**
54  	 * @param filePrefix the filePrefix to set
55  	 */
56  	public void setFilePrefix(String filePrefix) {
57  		this.filePrefix = filePrefix;
58  	}
59  	/**
60  	 * @return the rid
61  	 */
62  	public int getRid() {
63  		return rid;
64  	}
65  	/**
66  	 * @param rid the rid to set
67  	 */
68  	public void setRid(int rid) {
69  		this.rid = rid;
70  	}
71  	/**
72  	 * @return Returns whether this Root is active.
73  	 */
74  	public boolean isActive() {
75  		return active;
76  	}
77  	/**
78  	 * @param active Set whether this Root is active.
79  	 */
80  	public void setActive(boolean active) {
81  		this.active = active;
82  	}
83  }