Coverage Report - org.kuali.student.common.dto.CurrencyAmountInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CurrencyAmountInfo
0%
0/13
N/A
1
 
 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.XmlAttribute;
 23  
 import javax.xml.bind.annotation.XmlElement;
 24  
 
 25  
 /**
 26  
  * Detailed information about an amount of currency including both the type of units and the quantity.
 27  
  *
 28  
  * @Author KSContractMojo
 29  
  * @Author Kamal
 30  
  * @Since Mon Jan 11 15:20:51 PST 2010
 31  
  * @See <a href="https://test.kuali.org/confluence/display/KULSTU/currencyAmountInfo+Structure+v1.0-rc1">CurrencyAmountInfo</>
 32  
  *
 33  
  */
 34  
 @XmlAccessorType(XmlAccessType.FIELD)
 35  0
 public class CurrencyAmountInfo implements Serializable {
 36  
 
 37  
     private static final long serialVersionUID = 1L;
 38  
 
 39  
     @XmlAttribute
 40  
     private String id;
 41  
     
 42  
     @XmlElement
 43  
     private String currencyTypeKey;
 44  
 
 45  
     @XmlElement
 46  
     private Integer currencyQuantity;
 47  
     
 48  
     @XmlElement
 49  
     private MetaInfo metaInfo;
 50  
 
 51  
 
 52  
     
 53  
     /**
 54  
      * The kind of units associated with the quantity, such as US Dollars
 55  
      */
 56  
     public String getCurrencyTypeKey() {
 57  0
         return currencyTypeKey;
 58  
     }
 59  
 
 60  
     public void setCurrencyTypeKey(String currencyTypeKey) {
 61  0
         this.currencyTypeKey = currencyTypeKey;
 62  0
     }
 63  
 
 64  
     /**
 65  
      * The amount of currency
 66  
      */
 67  
     public Integer getCurrencyQuantity() {
 68  0
         return currencyQuantity;
 69  
     }
 70  
 
 71  
     public void setCurrencyQuantity(Integer currencyQuantity) {
 72  0
         this.currencyQuantity = currencyQuantity;
 73  0
     }
 74  
 
 75  
         /**
 76  
          *         Identifier for the currency amount record.
 77  
          */
 78  
         public String getId() {
 79  0
                 return id;
 80  
         }
 81  
 
 82  
         public void setId(String id) {
 83  0
                 this.id = id;
 84  0
         }
 85  
 
 86  
         /**
 87  
          * Create and last update info for the structure. This is optional and 
 88  
          * treated as read only since the data is set by the internals of the
 89  
          * service during maintenance operations.
 90  
          */
 91  
         public MetaInfo getMetaInfo() {
 92  0
                 return metaInfo;
 93  
         }
 94  
 
 95  
         public void setMetaInfo(MetaInfo metaInfo) {
 96  0
                 this.metaInfo = metaInfo;
 97  0
         }
 98  
 }