KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > walend > somnifugi > example > LookupResults


1 package net.walend.somnifugi.example;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6 Results of a search.
7 */

8 public class LookupResults
9     implements Serializable JavaDoc
10 {
11     private LookupRequest request;
12     private String JavaDoc[] results;
13     
14     public LookupResults(LookupRequest request,String JavaDoc[] results)
15     {
16         this.request = request;
17         this.results = results;
18     }
19     
20     public String JavaDoc getSearchText()
21     {
22         return request.getSearchText();
23     }
24
25     public String JavaDoc[] getResults()
26     {
27         return results;
28     }
29
30 }
31
Popular Tags