KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > scheduling > ScheduleSummary


1 /*
2  * (c) Rob Gordon 2005
3  */

4 package org.oddjob.scheduling;
5
6 import java.io.Serializable JavaDoc;
7 import java.util.LinkedHashMap JavaDoc;
8 import java.util.Map JavaDoc;
9
10 /**
11  * A class used to provide a summary of of a scheduled job.
12  */

13 public class ScheduleSummary implements Serializable JavaDoc {
14     private static final long serialVersionUID = 20051117;
15
16     /** The id the job is scheduled with. */
17     private String JavaDoc id;
18     
19     /** A free form description of the jobs properties. */
20     private Map JavaDoc description/*<String, String>*/ = new LinkedHashMap JavaDoc();
21
22     /**
23      * Get the Id.
24      *
25      * @return The id.
26      */

27     public String JavaDoc getId() {
28         return id;
29     }
30
31     /**
32      * Set the id.
33      *
34      * @param id The id.
35      */

36     public void setId(String JavaDoc id) {
37         this.id = id;
38     }
39     
40     /**
41      * Get the description.
42      *
43      * @return The description;
44      */

45     public Map JavaDoc getDescription() {
46         return description;
47     }
48
49     /**
50      * Set the description.
51      *
52      * @param description The description.
53      */

54     public void setDescription(Map JavaDoc description) {
55         this.description = description;
56     }
57 }
58
Popular Tags