KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > demo > icare > model > dto > CarSearchDto


1
2 package org.objectweb.petals.demo.icare.model.dto;
3
4 import org.objectweb.petals.demo.icare.model.Category;
5
6 /**
7  * The data transfer object for the search cars form
8  *
9  * @author Cristian Spiescu
10  * @since 15.01.2007
11  */

12 public class CarSearchDto{
13
14     private int beginDate;
15     
16     private int endDate;
17     
18     private Category category;
19
20     public int getBeginDate() {
21         return beginDate;
22     }
23
24     public void setBeginDate(int beginDate) {
25         this.beginDate = beginDate;
26     }
27
28     public Category getCategory() {
29         return category;
30     }
31
32     public void setCategory(Category category) {
33         this.category = category;
34     }
35
36     public int getEndDate() {
37         return endDate;
38     }
39
40     public void setEndDate(int endDate) {
41         this.endDate = endDate;
42     }
43     
44 }
45
Popular Tags