KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jac > samples > contacts > Action


1
2 package org.objectweb.jac.samples.contacts;
3
4 import java.util.Date JavaDoc;
5
6 public class Action {
7    String JavaDoc description;
8    Date JavaDoc date;
9
10    /**
11     * Get the value of date.
12     * @return value of date.
13     */

14    public Date JavaDoc getDate() {
15       return date;
16    }
17    
18    /**
19     * Set the value of date.
20     * @param v Value to assign to date.
21     */

22    public void setDate(Date JavaDoc v) {
23       this.date = v;
24    }
25
26    /**
27     * Get the value of description.
28     * @return value of description.
29     */

30    public String JavaDoc getDescription() {
31       return description;
32    }
33    
34    /**
35     * Set the value of description.
36     * @param v Value to assign to description.
37     */

38    public void setDescription(String JavaDoc v) {
39       this.description = v;
40    }
41    
42    public Action(String JavaDoc description, Date JavaDoc date) {
43       this.description = description;
44       this.date = date;
45    }
46    
47 }
48     
49
Popular Tags