KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portal > 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.portal;
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 owner_ ;
15   private String JavaDoc viewPermission_ ;
16   private String JavaDoc editPermission_ ;
17
18   public Query(String JavaDoc owner, String JavaDoc vp , String JavaDoc ep ) {
19     owner_ = owner ;
20     viewPermission_ = vp ;
21     editPermission_ = ep ;
22   }
23   
24   public String JavaDoc getOwner() { return owner_ ; }
25   public void setOwner(String JavaDoc s) { owner_ = s ; }
26   
27   public String JavaDoc getViewPermission() { return viewPermission_ ; }
28   public void setViewPermission(String JavaDoc s) { viewPermission_ = s ; }
29   
30   public String JavaDoc getEditPermission() { return editPermission_ ; }
31   public void setEditPermission(String JavaDoc s) { editPermission_ = s ; }
32 }
33
Popular Tags