KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > yan > xml > models > Event


1 package tests.jfun.yan.xml.models;
2
3 import java.util.Date JavaDoc;
4
5 public class Event {
6   private final String JavaDoc description;
7   private final Date JavaDoc time;
8   public Event(Date JavaDoc time, String JavaDoc description) {
9     this.description = description;
10     this.time = time;
11   }
12   public String JavaDoc getDescription() {
13     return description;
14   }
15   public Date JavaDoc getTime() {
16     return time;
17   }
18   
19 }
20
Popular Tags