Coverage Report - edu.sampleu.bookstore.bo.Author
 
Classes in this File Line Coverage Branch Coverage Complexity
Author
0%
0/25
N/A
1
 
 1  
 package edu.sampleu.bookstore.bo;
 2  
 
 3  
 import java.util.ArrayList;
 4  
 import java.util.List;
 5  
 
 6  
 import org.kuali.rice.kns.bo.Inactivateable;
 7  
 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
 8  
 
 9  
 /**
 10  
  * Author Business Object class file for Author maintenance object.
 11  
  */
 12  
 
 13  0
 public class Author extends PersistableBusinessObjectBase implements Inactivateable{
 14  
 
 15  
         private static final long serialVersionUID = -4883752918652513985L;
 16  
         private Long authorId;
 17  
         private String authorName;
 18  
         private String email;
 19  
         private String phoneNbr;
 20  0
         private boolean active = true;
 21  
 
 22  0
         private List<Address> addresses = new ArrayList<Address>();
 23  
 
 24  0
         private List<Book> books = new ArrayList<Book>();
 25  
 
 26  
         // private Account account;
 27  
         //        
 28  
         // public Account getAccount() {
 29  
         // return account;
 30  
         // }
 31  
         //
 32  
         // public void setAccount(Account account) {
 33  
         // this.account = account;
 34  
         // }
 35  
 
 36  
         public List<Book> getBooks() {
 37  0
                 return books;
 38  
         }
 39  
 
 40  
         public void setBooks(List<Book> books) {
 41  0
                 this.books = books;
 42  0
         }
 43  
 
 44  
         public List<Address> getAddresses() {
 45  0
                 return addresses;
 46  
         }
 47  
 
 48  
         public void setAddresses(List<Address> addresses) {
 49  0
                 this.addresses = addresses;
 50  0
         }
 51  
 
 52  
         public Long getAuthorId() {
 53  0
                 return authorId;
 54  
         }
 55  
 
 56  
         public void setAuthorId(Long authorId) {
 57  0
                 this.authorId = authorId;
 58  0
         }
 59  
 
 60  
         public String getAuthorName() {
 61  0
                 return authorName;
 62  
         }
 63  
 
 64  
         public void setAuthorName(String authorName) {
 65  0
                 this.authorName = authorName;
 66  0
         }
 67  
 
 68  
         public String getEmail() {
 69  0
                 return email;
 70  
         }
 71  
 
 72  
         public void setEmail(String email) {
 73  0
                 this.email = email;
 74  0
         }
 75  
 
 76  
         public String getPhoneNbr() {
 77  0
                 return phoneNbr;
 78  
         }
 79  
 
 80  
         public void setPhoneNbr(String phoneNbr) {
 81  0
                 this.phoneNbr = phoneNbr;
 82  0
         }
 83  
 
 84  
         public boolean isActive() {
 85  0
                 return active;
 86  
         }
 87  
 
 88  
         public void setActive(boolean active) {
 89  0
                 this.active = active;
 90  0
         }
 91  
 
 92  
          
 93  
 
 94  
 }