View Javadoc

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  	private List<SummaryTableMultiplicityFieldRow> multiplicityList = new ArrayList<SummaryTableMultiplicityFieldRow>();
12  	
13      public SummaryTableFieldBlock(){
14          
15      }
16      
17      public void addSummaryTableFieldRow(SummaryTableFieldRow aRow){
18          super.add(aRow);
19      }
20      
21      public void addSummaryMultiplicity(MultiplicityConfiguration config){
22      	SummaryTableMultiplicityFieldRow aRow = new SummaryTableMultiplicityFieldRow(config);
23      	multiplicityList.add(aRow);
24      	super.add(aRow);
25      }
26      
27  	public List<SummaryTableMultiplicityFieldRow> getMultiplicityList() {
28  		return multiplicityList;
29  	}
30  
31  	public void setMultiplicityList(List<SummaryTableMultiplicityFieldRow> multiplicityList) {
32  		this.multiplicityList = multiplicityList;
33  	}
34  }