Revize 9e9e8d67
Přidáno uživatelem Michal Linha před asi 4 roky(ů)
src/main/java/vldc/aswi/model/table/NameUserName.java | ||
---|---|---|
1 | 1 |
package vldc.aswi.model.table; |
2 | 2 |
|
3 |
/** |
|
4 |
* Class for connection between name of the column and the user name of the column. |
|
5 |
*/ |
|
3 | 6 |
public class NameUserName { |
4 | 7 |
|
8 |
/** |
|
9 |
* Name of the column. |
|
10 |
*/ |
|
11 |
|
|
5 | 12 |
private String name; |
13 |
/** |
|
14 |
* User name of the column. |
|
15 |
*/ |
|
6 | 16 |
private String userName; |
7 | 17 |
|
18 |
/** |
|
19 |
* Creates an instance of the class. |
|
20 |
* @param name name of the column |
|
21 |
* @param userName user name of the column |
|
22 |
*/ |
|
8 | 23 |
public NameUserName(String name, String userName) { |
9 | 24 |
this.name = name; |
10 | 25 |
this.userName = userName; |
11 | 26 |
} |
12 | 27 |
|
28 |
/** |
|
29 |
* Gets the column name. |
|
30 |
* @return column name |
|
31 |
*/ |
|
13 | 32 |
public String getName() { |
14 | 33 |
return name; |
15 | 34 |
} |
16 | 35 |
|
36 |
/** |
|
37 |
* Sets the column name. |
|
38 |
* @param name column name |
|
39 |
*/ |
|
17 | 40 |
public void setName(String name) { |
18 | 41 |
this.name = name; |
19 | 42 |
} |
20 | 43 |
|
44 |
/** |
|
45 |
* Gets the user column name. |
|
46 |
* @return user column name |
|
47 |
*/ |
|
21 | 48 |
public String getUserName() { |
22 | 49 |
return userName; |
23 | 50 |
} |
24 | 51 |
|
52 |
/** |
|
53 |
* Sets the user column name. |
|
54 |
* @param userName user column name |
|
55 |
*/ |
|
25 | 56 |
public void setUserName(String userName) { |
26 | 57 |
this.userName = userName; |
27 | 58 |
} |
Také k dispozici: Unified diff
re #7885 added SUM and ability to work with multiple values and sorted parameters in configuration, optimization