View Javadoc

1   /*
2    * Copyright 2004-2006 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.tuigwaa.system;
17  
18  import java.util.Date;
19  
20  /***
21   * @author someda
22   */
23  public class LogSearchCondition {
24  		
25  	private int logLevel;
26  	
27  	private int offset = 0;
28  	
29  	private int lines = LogService.DEFAULT_DISPLAY_LINES;
30  	
31  	private Date startDate;
32  	
33  	private Date endDate;
34  
35  	public Date getEndDate() {
36  		return endDate;
37  	}
38  
39  	public void setEndDate(Date endDate) {
40  		this.endDate = endDate;
41  	}
42  
43  	public int getLines() {
44  		return lines;
45  	}
46  
47  	public void setLines(int lines) {
48  		this.lines = lines;
49  	}
50  
51  	public int getLogLevel() {
52  		return logLevel;
53  	}
54  
55  	public void setLogLevel(int logLevel) {
56  		this.logLevel = logLevel;
57  	}
58  
59  	public int getOffset() {
60  		return offset;
61  	}
62  
63  	public void setOffset(int offset) {
64  		this.offset = offset;
65  	}
66  
67  	public Date getStartDate() {
68  		return startDate;
69  	}
70  
71  	public void setStartDate(Date startDate) {
72  		this.startDate = startDate;
73  	}
74  	
75  }