View Javadoc
1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.student.lum.lu.ui.krms.dto;
17  
18  import org.apache.commons.lang.StringUtils;
19  import org.kuali.student.r2.lum.clu.dto.MembershipQueryInfo;
20  
21  import java.io.Serializable;
22  import java.util.ArrayList;
23  import java.util.List;
24  
25  /**
26   * This is a lightweight wrapper for Clu Set Information used in the KRMS UI.
27   *
28   * @author Kuali Student Team
29   */
30  public class CluSetRangeInformation implements Serializable {
31  
32      private String cluSetRangeLabel;
33      private MembershipQueryInfo membershipQueryInfo;
34      private List<CluInformation> clusInRange;
35  
36      public CluSetRangeInformation() {
37          this.cluSetRangeLabel = StringUtils.EMPTY;
38      }
39  
40      public String getCluSetRangeLabel() {
41          return cluSetRangeLabel;
42      }
43  
44      public void setCluSetRangeLabel(String cluSetRangeLabel) {
45          this.cluSetRangeLabel = cluSetRangeLabel;
46      }
47  
48      public MembershipQueryInfo getMembershipQueryInfo() {
49          return membershipQueryInfo;
50      }
51  
52      public void setMembershipQueryInfo(MembershipQueryInfo membershipQueryInfo) {
53          this.membershipQueryInfo = membershipQueryInfo;
54      }
55  
56      public List<CluInformation> getClusInRange() {
57          if (clusInRange == null) {
58              this.clusInRange = new ArrayList<CluInformation>();
59          }
60          return this.clusInRange;
61      }
62  
63      public void setClusInRange(List<CluInformation> clusInRange) {
64          this.clusInRange = clusInRange;
65      }
66  
67  }