%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.demosys.web.user.UserViewList |
|
|
1 | /* |
|
2 | * Demosys. |
|
3 | * |
|
4 | * Terms of license - http://opensource.org/licenses/apachepl.php |
|
5 | */ |
|
6 | package org.demosys.web.user; |
|
7 | import java.util.ArrayList; |
|
8 | import java.util.List; |
|
9 | /** |
|
10 | * List of Users. |
|
11 | * |
|
12 | */ |
|
13 | 12 | public class UserViewList { |
14 | 12 | private List _users = new ArrayList(); |
15 | ||
16 | public List getUsers() { |
|
17 | 8 | return _users; |
18 | } |
|
19 | ||
20 | ||
21 | public UserView getUser(int idx) { |
|
22 | 12 | return (UserView)_users.get(idx); |
23 | } |
|
24 | ||
25 | ||
26 | public int getUserCount() { |
|
27 | 4 | return _users.size(); |
28 | } |
|
29 | ||
30 | ||
31 | public void setUsers(List users) { |
|
32 | 12 | _users = users; |
33 | 12 | } |
34 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |