Coverage Report - org.mule.example.bookstore.Order
 
Classes in this File Line Coverage Branch Coverage Complexity
Order
0%
0/20
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.example.bookstore;
 8  
 
 9  
 /**
 10  
  * Simple class which represents a Book Order.
 11  
  */
 12  
 public class Order 
 13  
 {
 14  
     private Book book;
 15  
     private int quantity;
 16  
     /** Shipping address */
 17  
     private String address;
 18  
     /** E-mail address used to receive order notifications */
 19  
     private String email;
 20  
     
 21  
     public Order()
 22  0
     {
 23  
         // empty constructor
 24  0
     }
 25  
     
 26  
     public Order(Book book, int quantity, String address, String email)
 27  0
     {
 28  0
         this.book = book;
 29  0
         this.quantity = quantity;
 30  0
         this.address = address;
 31  0
         this.email = email;
 32  0
     }
 33  
     
 34  
     public Book getBook()
 35  
     {
 36  0
         return book;
 37  
     }
 38  
 
 39  
     public void setBook(Book book)
 40  
     {
 41  0
         this.book = book;
 42  0
     }
 43  
 
 44  
     public int getQuantity()
 45  
     {
 46  0
         return quantity;
 47  
     }
 48  
 
 49  
     public void setQuantity(int quantity)
 50  
     {
 51  0
         this.quantity = quantity;
 52  0
     }
 53  
 
 54  
     public String getAddress()
 55  
     {
 56  0
         return address;
 57  
     }
 58  
 
 59  
     public void setAddress(String address)
 60  
     {
 61  0
         this.address = address;
 62  0
     }
 63  
 
 64  
     public String getEmail()
 65  
     {
 66  0
         return email;
 67  
     }
 68  
 
 69  
     public void setEmail(String email)
 70  
     {
 71  0
         this.email = email;
 72  0
     }
 73  
 }