Coverage Report - edu.sampleu.bookstore.bo.BookType
 
Classes in this File Line Coverage Branch Coverage Complexity
BookType
0%
0/18
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.mo.common.active.MutableInactivatable;
 22  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 23  
 
 24  
 import java.util.ArrayList;
 25  
 import java.util.List;
 26  
 
 27  
 /**
 28  
  * BookType Business Object class file relative to BookType maintenance Object.
 29  
  */
 30  
 
 31  0
 public class BookType extends PersistableBusinessObjectBase implements MutableInactivatable {
 32  
         
 33  
         
 34  
         private static final long serialVersionUID = 8499633675478827977L;
 35  
         private String typeCode;
 36  
         private String name;
 37  
         private String description;
 38  0
         private boolean active = true;
 39  
         
 40  
     
 41  0
     private List<Book> books = new ArrayList<Book>();
 42  
 
 43  
 
 44  
         public List<Book> getBooks() {
 45  0
                 return books;
 46  
         }
 47  
 
 48  
         public void setBooks(List<Book> books) {
 49  0
                 this.books = books;
 50  0
         }
 51  
 
 52  
         public String getTypeCode() {
 53  0
                 return typeCode;
 54  
         }
 55  
 
 56  
         public void setTypeCode(String typeCode) {
 57  0
                 this.typeCode = typeCode;
 58  0
         }
 59  
 
 60  
         public String getName() {
 61  0
                 return name;
 62  
         }
 63  
 
 64  
         public void setName(String name) {
 65  0
                 this.name = name;
 66  0
         }
 67  
 
 68  
         public String getDescription() {
 69  0
                 return description;
 70  
         }
 71  
 
 72  
         public void setDescription(String description) {
 73  0
                 this.description = description;
 74  0
         }
 75  
 
 76  
         public boolean isActive() {
 77  0
                 return active;
 78  
         }
 79  
 
 80  
         public void setActive(boolean active) {
 81  0
                 this.active = active;
 82  0
         }
 83  
  
 84  
 
 85  
 }