Coverage Report - org.mule.example.bookstore.Book
 
Classes in this File Line Coverage Branch Coverage Complexity
Book
0%
0/19
N/A
1
 
 1  
 /*
 2  
  * $$Id: Book.java 19191 2010-08-25 21:05:23Z tcarlson $$
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.example.bookstore;
 12  
 
 13  
 /**
 14  
  * Simple class which represents a Book in the catalog of the bookstore.
 15  
  */
 16  
 public class Book 
 17  
 {
 18  
     private long id;
 19  
     private String author;
 20  
     private String title;
 21  
     double price;
 22  
 
 23  
     public Book()
 24  0
     {
 25  
         // empty constructor
 26  0
     }
 27  
     
 28  
     public Book(String author, String title, double price)
 29  0
     {
 30  0
         this.author = author;
 31  0
         this.title = title;
 32  0
         this.price = price;
 33  0
     }
 34  
     
 35  
     public long getId()
 36  
     {
 37  0
         return id;
 38  
     }
 39  
     
 40  
     public void setId(long id)
 41  
     {
 42  0
         this.id = id;
 43  0
     }
 44  
     
 45  
     public String getAuthor()
 46  
     {
 47  0
         return author;
 48  
     }
 49  
     
 50  
     public void setAuthor(String author)
 51  
     {
 52  0
         this.author = author;
 53  0
     }
 54  
     
 55  
     public String getTitle()
 56  
     {
 57  0
         return title;
 58  
     }
 59  
     
 60  
     public void setTitle(String title)
 61  
     {
 62  0
         this.title = title;
 63  0
     }
 64  
 
 65  
     public double getPrice()
 66  
     {
 67  0
         return price;
 68  
     }
 69  
 
 70  
     public void setPrice(double price)
 71  
     {
 72  0
         this.price = price;
 73  0
     }
 74  
 }