View Javadoc

1   /*
2    * Copyright 2000-2001,2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
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  
17  package org.apache.jetspeed.webservices.finance.stockmarket;
18  
19  
20  /***
21      StockQuote holds the information for one company's quote.
22          
23      @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
24      @version $Id: StockQuote.java,v 1.2 2004/02/23 03:15:29 jford Exp $
25  */
26  
27  public interface StockQuote
28  {
29      String getName();
30  
31      void setName( String s );
32  
33      String getSymbol();
34  
35      void setSymbol( String s );
36  
37      String getPrice();
38  
39      void setPrice( String s );
40  
41      String getDate();
42  
43      void setDate( String s );
44  
45      String getTime();
46  
47      void setTime( String s );
48  
49      String getChange();
50      
51      void setChange( String s );
52  
53      String getOpening();
54      
55      void setOpening( String s );
56  
57      String getHigh();  // subliminal
58  
59      void setHigh( String s );
60  
61      String getLow();
62  
63      void setLow( String s );
64  
65      String getVolume();
66  
67      void setVolume( String s );
68  
69  }