View Javadoc

1   package org.kuali.student.enrollment.grading.dto;
2   
3   import java.util.List;
4   
5   import javax.xml.bind.annotation.XmlAccessType;
6   import javax.xml.bind.annotation.XmlAccessorType;
7   import javax.xml.bind.annotation.XmlAnyElement;
8   import javax.xml.bind.annotation.XmlElement;
9   import javax.xml.bind.annotation.XmlType;
10  
11  import org.kuali.student.enrollment.grading.infc.Load;
12  import org.kuali.student.r2.common.dto.TypeStateEntityInfo;
13  import org.w3c.dom.Element;
14  
15  /**
16   * This is a description of what this class does - sambit don't forget to fill
17   * this in.
18   * 
19   * @author Kuali Rice Team (kuali-rice@googlegroups.com)
20   */
21  
22  @XmlAccessorType(XmlAccessType.FIELD)
23  @XmlType(name = "LoadInfo", propOrder = {"typeKey", "stateKey", "totalCredits", "totalLevelCode", "meta", "attributes",
24          "_futureElements"})
25  public class LoadInfo extends TypeStateEntityInfo implements Load {
26  
27      private static final long serialVersionUID = 1L;
28      @XmlElement
29      private Float totalCredits;
30      @XmlElement
31      private String totalLevelCode;
32      @XmlAnyElement
33      private List<Element> _futureElements;
34  
35      public LoadInfo() {
36          super();
37          this.totalCredits = null;
38          this.totalLevelCode = null;
39          this._futureElements = null;
40      }
41  
42      @Override
43      public Float getTotalCredits() {
44          return totalCredits;
45      }
46  
47      @Override
48      public String getTotalLevelCode() {
49          return totalLevelCode;
50      }
51  }