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  
  * $Id: Order.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 Order.
 15  
  */
 16  
 public class Order 
 17  
 {
 18  
     private Book book;
 19  
     private int quantity;
 20  
     /** Shipping address */
 21  
     private String address;
 22  
     /** E-mail address used to receive order notifications */
 23  
     private String email;
 24  
     
 25  
     public Order()
 26  0
     {
 27  
         // empty constructor
 28  0
     }
 29  
     
 30  
     public Order(Book book, int quantity, String address, String email)
 31  0
     {
 32  0
         this.book = book;
 33  0
         this.quantity = quantity;
 34  0
         this.address = address;
 35  0
         this.email = email;
 36  0
     }
 37  
     
 38  
     public Book getBook()
 39  
     {
 40  0
         return book;
 41  
     }
 42  
 
 43  
     public void setBook(Book book)
 44  
     {
 45  0
         this.book = book;
 46  0
     }
 47  
 
 48  
     public int getQuantity()
 49  
     {
 50  0
         return quantity;
 51  
     }
 52  
 
 53  
     public void setQuantity(int quantity)
 54  
     {
 55  0
         this.quantity = quantity;
 56  0
     }
 57  
 
 58  
     public String getAddress()
 59  
     {
 60  0
         return address;
 61  
     }
 62  
 
 63  
     public void setAddress(String address)
 64  
     {
 65  0
         this.address = address;
 66  0
     }
 67  
 
 68  
     public String getEmail()
 69  
     {
 70  0
         return email;
 71  
     }
 72  
 
 73  
     public void setEmail(String email)
 74  
     {
 75  0
         this.email = email;
 76  0
     }
 77  
 }