Coverage Report - org.mule.example.stockquote.StockQuote
 
Classes in this File Line Coverage Branch Coverage Complexity
StockQuote
0%
0/32
N/A
0
 
 1  
 /*
 2  
  * $Id: StockQuote.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.stockquote;
 12  
 
 13  
 import java.io.Serializable;
 14  
 
 15  
 /**
 16  
  * A stock Quote object that is crated from the xml returned from the
 17  
  * http://www.webservicex.net/stockquote.asmx service
 18  
  */
 19  0
 public class StockQuote implements Serializable
 20  
 {
 21  
     private static final long serialVersionUID = -3579080716991795218L;
 22  
 
 23  
     private String symbol;
 24  
     private String last;
 25  
     private String change;
 26  
     private String open;
 27  
     private String high;
 28  
     private String low;
 29  
     private String volume;
 30  
     private String previousClose;
 31  
     private String name;
 32  
     private String date;
 33  
 
 34  
     public String getSymbol()
 35  
     {
 36  0
         return symbol;
 37  
     }
 38  
 
 39  
     public void setSymbol(String symbol)
 40  
     {
 41  0
         this.symbol = symbol;
 42  0
     }
 43  
 
 44  
     public String getLast()
 45  
     {
 46  0
         return last;
 47  
     }
 48  
 
 49  
     public void setLast(String last)
 50  
     {
 51  0
         this.last = last;
 52  0
     }
 53  
 
 54  
     public String getChange()
 55  
     {
 56  0
         return change;
 57  
     }
 58  
 
 59  
     public void setChange(String change)
 60  
     {
 61  0
         this.change = change;
 62  0
     }
 63  
 
 64  
     public String getOpen()
 65  
     {
 66  0
         return open;
 67  
     }
 68  
 
 69  
     public void setOpen(String open)
 70  
     {
 71  0
         this.open = open;
 72  0
     }
 73  
 
 74  
     public String getHigh()
 75  
     {
 76  0
         return high;
 77  
     }
 78  
 
 79  
     public void setHigh(String high)
 80  
     {
 81  0
         this.high = high;
 82  0
     }
 83  
 
 84  
     public String getLow()
 85  
     {
 86  0
         return low;
 87  
     }
 88  
 
 89  
     public void setLow(String low)
 90  
     {
 91  0
         this.low = low;
 92  0
     }
 93  
 
 94  
     public String getVolume()
 95  
     {
 96  0
         return volume;
 97  
     }
 98  
 
 99  
     public void setVolume(String volume)
 100  
     {
 101  0
         this.volume = volume;
 102  0
     }
 103  
 
 104  
     public String getPreviousClose()
 105  
     {
 106  0
         return previousClose;
 107  
     }
 108  
 
 109  
     public void setPreviousClose(String previousClose)
 110  
     {
 111  0
         this.previousClose = previousClose;
 112  0
     }
 113  
 
 114  
     public String getName()
 115  
     {
 116  0
         return name;
 117  
     }
 118  
 
 119  
     public void setName(String name)
 120  
     {
 121  0
         this.name = name;
 122  0
     }
 123  
 
 124  
     public String getDate()
 125  
     {
 126  0
         return date;
 127  
     }
 128  
 
 129  
     public void setDate(String date)
 130  
     {
 131  0
         this.date = date;
 132  0
     }
 133  
 
 134  
     @Override
 135  
     public String toString()
 136  
     {
 137  0
         return LocaleMessage.getStockQuoteMessage(symbol, name, date, last, change, open, high,
 138  
             low, volume, previousClose);
 139  
     }
 140  
 }