KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portal > log > 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.log;
6
7 import java.util.Date JavaDoc ;
8 /**
9  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
10  * @since Dec 2, 2004
11  * @version $Id$
12  */

13 public class Query {
14   private String JavaDoc sessionOwner_ ;
15   private String JavaDoc remoteUser_ ;
16   private String JavaDoc ipAddress_ ;
17   private String JavaDoc clientType_ ;
18   private Date JavaDoc fromDate_ ;
19   private Date JavaDoc toDate_ ;
20   private int error_ = 0;
21   
22   public String JavaDoc getSessionOwner() { return sessionOwner_ ; }
23   public void setSessionOwner(String JavaDoc s) { sessionOwner_ = s ; }
24   
25   public String JavaDoc getRemoteUser() { return remoteUser_ ; }
26   public void setRemoteUser(String JavaDoc s) { remoteUser_ = s ; }
27   
28   public String JavaDoc getIPAddress() { return ipAddress_ ;}
29   public void setIPAddress(String JavaDoc s) { ipAddress_ = s ; }
30   
31   public String JavaDoc getClientType() { return clientType_ ;}
32   public void setClientType(String JavaDoc s) { clientType_ = s ; }
33   
34   public Date JavaDoc getFromDate() { return fromDate_ ; }
35   public void setFromDate(Date JavaDoc d) { fromDate_ = d ; }
36   
37   public Date JavaDoc getToDate() { return toDate_ ; }
38   public void setToDate(Date JavaDoc d) { toDate_ = d ; }
39   
40   public int getError() { return error_ ; }
41   public void setError(int i) { error_ = i ; }
42 }
43
Popular Tags