%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.jetspeed.statistics.impl.StatisticsQueryCriteriaImpl |
|
|
1 | /* |
|
2 | * Licensed to the Apache Software Foundation (ASF) under one or more |
|
3 | * contributor license agreements. See the NOTICE file distributed with |
|
4 | * this work for additional information regarding copyright ownership. |
|
5 | * The ASF licenses this file to You under the Apache License, Version 2.0 |
|
6 | * (the "License"); you may not use this file except in compliance with |
|
7 | * the License. You may obtain a copy of the License at |
|
8 | * |
|
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
10 | * |
|
11 | * Unless required by applicable law or agreed to in writing, software |
|
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 | * See the License for the specific language governing permissions and |
|
15 | * limitations under the License. |
|
16 | */ |
|
17 | package org.apache.jetspeed.statistics.impl; |
|
18 | ||
19 | import org.apache.jetspeed.statistics.StatisticsQueryCriteria; |
|
20 | ||
21 | 0 | public class StatisticsQueryCriteriaImpl implements StatisticsQueryCriteria |
22 | { |
|
23 | ||
24 | private String user; |
|
25 | ||
26 | private String timePeriod; |
|
27 | ||
28 | private String queryType; |
|
29 | ||
30 | private String listsize; |
|
31 | ||
32 | private String sorttype; |
|
33 | ||
34 | private String sortorder; |
|
35 | ||
36 | /** |
|
37 | * @return Returns the ipAddress. |
|
38 | */ |
|
39 | public String getTimePeriod() |
|
40 | { |
|
41 | 0 | return timePeriod; |
42 | } |
|
43 | ||
44 | /** |
|
45 | * @param ipAddress |
|
46 | * The ipAddress to set. |
|
47 | */ |
|
48 | public void setTimePeriod(String ipAddress) |
|
49 | { |
|
50 | 0 | this.timePeriod = ipAddress; |
51 | 0 | } |
52 | ||
53 | /** |
|
54 | * @return Returns the user. |
|
55 | */ |
|
56 | public String getUser() |
|
57 | { |
|
58 | 0 | return user; |
59 | } |
|
60 | ||
61 | /** |
|
62 | * @param user |
|
63 | * The user to set. |
|
64 | */ |
|
65 | public void setUser(String user) |
|
66 | { |
|
67 | 0 | this.user = user; |
68 | 0 | } |
69 | ||
70 | /* |
|
71 | * (non-Javadoc) |
|
72 | * |
|
73 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getQueryType() |
|
74 | */ |
|
75 | public String getQueryType() |
|
76 | { |
|
77 | ||
78 | 0 | return queryType; |
79 | } |
|
80 | ||
81 | /* |
|
82 | * (non-Javadoc) |
|
83 | * |
|
84 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setQueryType(java.lang.String) |
|
85 | */ |
|
86 | public void setQueryType(String queryType) |
|
87 | { |
|
88 | 0 | this.queryType = queryType; |
89 | 0 | } |
90 | ||
91 | /* (non-Javadoc) |
|
92 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getListsize() |
|
93 | */ |
|
94 | public String getListsize() |
|
95 | { |
|
96 | 0 | return this.listsize; |
97 | } |
|
98 | ||
99 | /* (non-Javadoc) |
|
100 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getSorttype() |
|
101 | */ |
|
102 | public String getSorttype() |
|
103 | { |
|
104 | 0 | return this.sorttype; |
105 | } |
|
106 | ||
107 | /* (non-Javadoc) |
|
108 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setListsize(java.lang.String) |
|
109 | */ |
|
110 | public void setListsize(String listsize) |
|
111 | { |
|
112 | 0 | this.listsize = listsize; |
113 | ||
114 | 0 | } |
115 | ||
116 | /* (non-Javadoc) |
|
117 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setSorttype(java.lang.String) |
|
118 | */ |
|
119 | public void setSorttype(String sorttype) |
|
120 | { |
|
121 | 0 | this.sorttype = sorttype; |
122 | 0 | } |
123 | ||
124 | /* (non-Javadoc) |
|
125 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getSortorder() |
|
126 | */ |
|
127 | public String getSortorder() |
|
128 | { |
|
129 | 0 | return this.sortorder; |
130 | } |
|
131 | ||
132 | /* (non-Javadoc) |
|
133 | * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setSortorder(java.lang.String) |
|
134 | */ |
|
135 | public void setSortorder(String sortorder) |
|
136 | { |
|
137 | 0 | this.sortorder = sortorder; |
138 | ||
139 | 0 | } |
140 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |