Projekt

Obecné

Profil

« Předchozí | Další » 

Revize ba8b306a

Přidáno uživatelem Vojtěch Danišík před asi 4 roky(ů)

re #7886 Assembly validator in progress (validating assembly SQLQuery + locations for existing assembly, not tested for new assembly).
Added comments.
Removing unused imports.

Zobrazit rozdíly:

src/main/java/vldc/aswi/model/table/contingencyTable/ContingencyTableRowCell.java
1 1
package vldc.aswi.model.table.contingencyTable;
2 2

  
3
/**
4
 * Class representing one cell in Contingency table row.
5
 */
3 6
public class ContingencyTableRowCell {
4 7

  
8
    /** Colspan of current cell. */
5 9
    private int colSpan;
6 10

  
11
    /** Value in current cell. */
7 12
    private String value;
8 13

  
14
    /**
15
     * Constructor.
16
     * @param value - Value in current cell.
17
     * @param colSpan - Colspan of current cell.
18
     */
9 19
    public ContingencyTableRowCell(String value, int colSpan) {
10 20
        this.value = value;
11 21
        this.colSpan = colSpan;
12 22
    }
13 23

  
24
    /**
25
     * Get value of current cell.
26
     * @return Value of cell.
27
     */
14 28
    public String getValue() {
15 29
        return value;
16 30
    }
17 31

  
32
    /**
33
     * Get colspan of current cell.
34
     * @return Colspan of cell.
35
     */
18 36
    public int getColSpan() {
19 37
        return colSpan;
20 38
    }
21 39

  
40
    /**
41
     * Overrided toString method for debugging.
42
     * @return String.
43
     */
22 44
    @Override
23 45
    public String toString() {
24 46
        return "(" + value + ", " + colSpan + ")";

Také k dispozici: Unified diff