1 | |
package org.kuali.student.common.ui.client.widgets.table.summary; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import org.kuali.student.common.ui.client.configurable.mvc.multiplicity.MultiplicityConfiguration; |
7 | |
|
8 | |
|
9 | |
public class SummaryTableFieldBlock extends SummaryTableBlock{ |
10 | |
|
11 | 0 | private List<SummaryTableMultiplicityFieldRow> multiplicityList = new ArrayList<SummaryTableMultiplicityFieldRow>(); |
12 | |
|
13 | 0 | public SummaryTableFieldBlock(){ |
14 | |
|
15 | 0 | } |
16 | |
|
17 | |
public void addSummaryTableFieldRow(SummaryTableFieldRow aRow){ |
18 | 0 | super.add(aRow); |
19 | 0 | } |
20 | |
|
21 | |
public void addSummaryMultiplicity(MultiplicityConfiguration config){ |
22 | 0 | SummaryTableMultiplicityFieldRow aRow = new SummaryTableMultiplicityFieldRow(config); |
23 | 0 | multiplicityList.add(aRow); |
24 | 0 | super.add(aRow); |
25 | 0 | } |
26 | |
|
27 | |
public List<SummaryTableMultiplicityFieldRow> getMultiplicityList() { |
28 | 0 | return multiplicityList; |
29 | |
} |
30 | |
|
31 | |
public void setMultiplicityList(List<SummaryTableMultiplicityFieldRow> multiplicityList) { |
32 | 0 | this.multiplicityList = multiplicityList; |
33 | 0 | } |
34 | |
} |