Coverage Report - edu.sampleu.bookstore.bo.BookOrder
 
Classes in this File Line Coverage Branch Coverage Complexity
BookOrder
0%
0/25
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 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 edu.sampleu.bookstore.bo;
 17  
 
 18  
 import org.kuali.rice.core.api.util.type.KualiDecimal;
 19  
 import org.kuali.rice.core.api.util.type.KualiPercent;
 20  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 21  
 
 22  
 
 23  
 /**
 24  
  * BookOrder Business Object class file.
 25  
  */
 26  0
 public class BookOrder extends PersistableBusinessObjectBase {
 27  
 
 28  
         private static final long serialVersionUID = -3602318476248146613L;
 29  
 
 30  
         private Long id;
 31  
         private String documentId;
 32  
         private Long bookId;
 33  
         private Integer quantity;
 34  
         private KualiPercent discount;
 35  
         private KualiDecimal unitPrice;
 36  
         private KualiDecimal totalPrice;
 37  
 
 38  
         private Book book;
 39  
 
 40  
         public Long getId() {
 41  0
                 return id;
 42  
         }
 43  
 
 44  
         public void setId(Long id) {
 45  0
                 this.id = id;
 46  0
         }
 47  
 
 48  
         public Integer getQuantity() {
 49  0
                 return quantity;
 50  
         }
 51  
 
 52  
         public void setQuantity(Integer quantity) {
 53  0
                 this.quantity = quantity;
 54  0
         }
 55  
 
 56  
         public String getDocumentId() {
 57  0
                 return documentId;
 58  
         }
 59  
 
 60  
         public void setDocumentId(String documentId) {
 61  0
                 this.documentId = documentId;
 62  0
         }
 63  
 
 64  
         public Long getBookId() {
 65  0
                 return bookId;
 66  
         }
 67  
 
 68  
         public void setBookId(Long bookId) {
 69  0
                 this.bookId = bookId;
 70  0
         }
 71  
 
 72  
         public Book getBook() {
 73  0
                 return book;
 74  
         }
 75  
 
 76  
         public void setBook(Book book) {
 77  0
                 this.book = book;
 78  0
         }
 79  
 
 80  
         public KualiPercent getDiscount() {
 81  0
                 return discount;
 82  
         }
 83  
 
 84  
         public void setDiscount(KualiPercent discount) {
 85  0
                 this.discount = discount;
 86  0
         }
 87  
 
 88  
         public KualiDecimal getUnitPrice() {
 89  0
                 return unitPrice;
 90  
         }
 91  
 
 92  
         public void setUnitPrice(KualiDecimal unitPrice) {
 93  0
                 this.unitPrice = unitPrice;
 94  0
         }
 95  
 
 96  
         public KualiDecimal getTotalPrice() {
 97  0
                 return totalPrice;
 98  
         }
 99  
 
 100  
         public void setTotalPrice(KualiDecimal totalPrice) {
 101  0
                 this.totalPrice = totalPrice;
 102  0
         }
 103  
 
 104  
          
 105  
 
 106  
 }