KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jetspeed > webservices > finance > stockmarket > StockQuote


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 JavaDoc getName();
30
31     void setName( String JavaDoc s );
32
33     String JavaDoc getSymbol();
34
35     void setSymbol( String JavaDoc s );
36
37     String JavaDoc getPrice();
38
39     void setPrice( String JavaDoc s );
40
41     String JavaDoc getDate();
42
43     void setDate( String JavaDoc s );
44
45     String JavaDoc getTime();
46
47     void setTime( String JavaDoc s );
48
49     String JavaDoc getChange();
50     
51     void setChange( String JavaDoc s );
52
53     String JavaDoc getOpening();
54     
55     void setOpening( String JavaDoc s );
56
57     String JavaDoc getHigh(); // subliminal
58

59     void setHigh( String JavaDoc s );
60
61     String JavaDoc getLow();
62
63     void setLow( String JavaDoc s );
64
65     String JavaDoc getVolume();
66
67     void setVolume( String JavaDoc s );
68
69 }
Popular Tags