Coverage Report - edu.sampleu.bookstore.bo.Book
 
Classes in this File Line Coverage Branch Coverage Complexity
Book
0%
0/32
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  
 /**
 17  
  * 
 18  
  */
 19  
 package edu.sampleu.bookstore.bo;
 20  
 
 21  
 import org.kuali.rice.core.api.util.type.KualiDecimal;
 22  
 import org.kuali.rice.core.api.util.type.KualiInteger;
 23  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 24  
 
 25  
 import java.util.ArrayList;
 26  
 import java.util.Date;
 27  
 import java.util.List;
 28  
 
 29  
 
 30  
 /**
 31  
  * A business object class for the Book maintenance object. 
 32  
  */
 33  0
 public class Book extends PersistableBusinessObjectBase {
 34  
 
 35  
         private static final long serialVersionUID = -2406918292069639330L;
 36  
 
 37  
         private Long id;
 38  
         private String title;
 39  
         private String typeCode;
 40  
         private String isbn;
 41  
         private String publisher;
 42  
         private Date publicationDate;
 43  
         private KualiDecimal price;
 44  
         private KualiInteger rating;
 45  
 
 46  
         private BookType bookType;
 47  
 
 48  0
         private List<Author> authors = new ArrayList<Author>();
 49  
 
 50  
         public Long getId() {
 51  0
                 return id;
 52  
         }
 53  
 
 54  
         public void setId(Long id) {
 55  0
                 this.id = id;
 56  0
         }
 57  
 
 58  
         public String getTitle() {
 59  0
                 return title;
 60  
         }
 61  
 
 62  
         public void setTitle(String title) {
 63  0
                 this.title = title;
 64  0
         }
 65  
 
 66  
         public String getTypeCode() {
 67  0
                 return typeCode;
 68  
         }
 69  
 
 70  
         public void setTypeCode(String typeCode) {
 71  0
                 this.typeCode = typeCode;
 72  0
         }
 73  
 
 74  
         public BookType getBookType() {
 75  0
                 return bookType;
 76  
         }
 77  
 
 78  
         public void setBookType(BookType bookType) {
 79  0
                 this.bookType = bookType;
 80  0
         }
 81  
 
 82  
         public String getIsbn() {
 83  0
                 return isbn;
 84  
         }
 85  
 
 86  
         public void setIsbn(String isbn) {
 87  0
                 this.isbn = isbn;
 88  0
         }
 89  
 
 90  
         public String getPublisher() {
 91  0
                 return publisher;
 92  
         }
 93  
 
 94  
         public void setPublisher(String publisher) {
 95  0
                 this.publisher = publisher;
 96  0
         }
 97  
 
 98  
         public Date getPublicationDate() {
 99  0
                 return publicationDate;
 100  
         }
 101  
 
 102  
         public void setPublicationDate(Date publicationDate) {
 103  0
                 this.publicationDate = publicationDate;
 104  0
         }
 105  
 
 106  
         public KualiInteger getRating() {
 107  0
                 return rating;
 108  
         }
 109  
 
 110  
         public void setRating(KualiInteger rating) {
 111  0
                 this.rating = rating;
 112  0
         }
 113  
 
 114  
         public KualiDecimal getPrice() {
 115  0
                 return price;
 116  
         }
 117  
 
 118  
         public void setPrice(KualiDecimal price) {
 119  0
                 this.price = price;
 120  0
         }
 121  
 
 122  
         public List<Author> getAuthors() {
 123  0
                 return authors;
 124  
         }
 125  
 
 126  
         public void setAuthors(List<Author> authors) {
 127  0
                 this.authors = authors;
 128  0
         }
 129  
 
 130  
 }