KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > util > BackupInfo


1 package org.contineo.util;
2
3 /**
4  * Created on 28.09.2004
5  * @author Michael Scholz
6  */

7 public class BackupInfo {
8     
9     private boolean enabled;
10     private String JavaDoc backupDir;
11
12     /**
13      *
14      */

15     public BackupInfo() {
16         enabled = false;
17         backupDir = "";
18     }
19
20     /**
21      * @return Returns the backupDir.
22      * @uml.property name="backupDir"
23      */

24     public String JavaDoc getBackupDir() {
25         return backupDir;
26     }
27     
28     /**
29      * @param backupDir The backupDir to set.
30      * @uml.property name="backupDir"
31      */

32     public void setBackupDir(String JavaDoc backupDir) {
33         this.backupDir = backupDir;
34     }
35     
36     /**
37      * @return Returns the enabled.
38      * @uml.property name="enabled"
39      */

40     public boolean isEnabled() {
41         return enabled;
42     }
43     
44     /**
45      * @param enabled The enabled to set.
46      * @uml.property name="enabled"
47      */

48     public void setEnabled(boolean enabled) {
49         this.enabled = enabled;
50     }
51 }
52
Popular Tags