KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > resources > Query


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.resources;
6 /**
7  * Created by The eXo Platform SARL .
8  * Author : Tuan Nguyen
9  * tuan08@users.sourceforge.net
10  * Date: Jun 14, 2003
11  * Time: 1:12:22 PM
12  */

13 public class Query {
14   private String JavaDoc name_ ;
15   private String JavaDoc languages_ ;
16   private int maxSize_ ;
17
18   public Query(String JavaDoc name, String JavaDoc language) {
19     name_ = name ;
20     languages_ = language ;
21     maxSize_ = 100 ;
22   }
23   
24   public String JavaDoc getName() { return name_ ; }
25   public void setName(String JavaDoc s) { name_ = s ; }
26   
27   public String JavaDoc getLanguage() { return languages_ ; }
28   public void setLanguage(String JavaDoc s) { languages_ = s ; }
29   
30   public int getMaxSize() { return maxSize_ ; }
31   public void setMaxSize(int s) { maxSize_ = s ; }
32 }
Popular Tags