Coverage Report - edu.sampleu.bookstore.bo.Author
 
Classes in this File Line Coverage Branch Coverage Complexity
Author
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.mo.common.active.MutableInactivatable;
 19  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 20  
 
 21  
 import java.util.ArrayList;
 22  
 import java.util.List;
 23  
 
 24  
 /**
 25  
  * Author Business Object class file for Author maintenance object.
 26  
  */
 27  
 
 28  0
 public class Author extends PersistableBusinessObjectBase implements MutableInactivatable {
 29  
 
 30  
         private static final long serialVersionUID = -4883752918652513985L;
 31  
         private Long authorId;
 32  
         private String authorName;
 33  
         private String email;
 34  
         private String phoneNbr;
 35  0
         private boolean active = true;
 36  
 
 37  0
         private List<Address> addresses = new ArrayList<Address>();
 38  
 
 39  0
         private List<Book> books = new ArrayList<Book>();
 40  
 
 41  
         // private Account account;
 42  
         //        
 43  
         // public Account getAccount() {
 44  
         // return account;
 45  
         // }
 46  
         //
 47  
         // public void setAccount(Account account) {
 48  
         // this.account = account;
 49  
         // }
 50  
 
 51  
         public List<Book> getBooks() {
 52  0
                 return books;
 53  
         }
 54  
 
 55  
         public void setBooks(List<Book> books) {
 56  0
                 this.books = books;
 57  0
         }
 58  
 
 59  
         public List<Address> getAddresses() {
 60  0
                 return addresses;
 61  
         }
 62  
 
 63  
         public void setAddresses(List<Address> addresses) {
 64  0
                 this.addresses = addresses;
 65  0
         }
 66  
 
 67  
         public Long getAuthorId() {
 68  0
                 return authorId;
 69  
         }
 70  
 
 71  
         public void setAuthorId(Long authorId) {
 72  0
                 this.authorId = authorId;
 73  0
         }
 74  
 
 75  
         public String getAuthorName() {
 76  0
                 return authorName;
 77  
         }
 78  
 
 79  
         public void setAuthorName(String authorName) {
 80  0
                 this.authorName = authorName;
 81  0
         }
 82  
 
 83  
         public String getEmail() {
 84  0
                 return email;
 85  
         }
 86  
 
 87  
         public void setEmail(String email) {
 88  0
                 this.email = email;
 89  0
         }
 90  
 
 91  
         public String getPhoneNbr() {
 92  0
                 return phoneNbr;
 93  
         }
 94  
 
 95  
         public void setPhoneNbr(String phoneNbr) {
 96  0
                 this.phoneNbr = phoneNbr;
 97  0
         }
 98  
 
 99  
         public boolean isActive() {
 100  0
                 return active;
 101  
         }
 102  
 
 103  
         public void setActive(boolean active) {
 104  0
                 this.active = active;
 105  0
         }
 106  
 
 107  
          
 108  
 
 109  
 }