Clover Coverage Report - Kuali Student 1.2-M2-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Apr 22 2011 04:03:20 EST
../../../../../img/srcFileCovDistChart0.png 53% of files have more coverage
4   65   4   1
0   25   1   4
4     1  
1    
 
  AmountInfo       Line # 34 4 0% 4 8 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.dto;
17   
18    import java.io.Serializable;
19   
20    import javax.xml.bind.annotation.XmlAccessType;
21    import javax.xml.bind.annotation.XmlAccessorType;
22    import javax.xml.bind.annotation.XmlElement;
23   
24    /**
25    * Detailed information about an amount including both the type of units and the quantity.
26    *
27    * @Author KSContractMojo
28    * @Author Kamal
29    * @Since Mon Jan 11 15:20:30 PST 2010
30    * @See <a href="https://test.kuali.org/confluence/display/KULSTU/amountInfo+Structure+v1.0-rc1">AmountInfo</>
31    *
32    */
33    @XmlAccessorType(XmlAccessType.FIELD)
 
34    public class AmountInfo implements Serializable {
35   
36    private static final long serialVersionUID = 1L;
37   
38    @XmlElement
39    private String unitType;
40   
41    @XmlElement
42    private String unitQuantity;
43   
44    /**
45    * The kind of units associated with the quantity, such as hours/week. It is expected that in usage in other structures, this value will always be enumerated based on that context.
46    */
 
47  0 toggle public String getUnitType() {
48  0 return unitType;
49    }
50   
 
51  0 toggle public void setUnitType(String unitType) {
52  0 this.unitType = unitType;
53    }
54   
55    /**
56    * The amount of units. Allowed values consist of numeric values as well as the string "unbounded".
57    */
 
58  0 toggle public String getUnitQuantity() {
59  0 return unitQuantity;
60    }
61   
 
62  0 toggle public void setUnitQuantity(String unitQuantity) {
63  0 this.unitQuantity = unitQuantity;
64    }
65    }