org.fraid.projects.PredictionMarkets
Class Stock

java.lang.Object
  extended by org.fraid.projects.PredictionMarkets.Stock
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Stock
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
 java.lang.String mName
           
 double mPrice
           
 int mQuantity
           
 double mTotal
           
 
Constructor Summary
Stock()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getName()
           
 double getPrice()
           
 int getQuantity()
           
 double getTotal()
           
 void setName(java.lang.String aName)
           
 void setPrice(double aPrice)
           
 void setQuantity(int aQuantity)
           
 void setTotal(double mTotal)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mPrice

public double mPrice

mTotal

public double mTotal

mName

public java.lang.String mName

mQuantity

public int mQuantity
Constructor Detail

Stock

public Stock()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getPrice

public double getPrice()

setPrice

public void setPrice(double aPrice)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String aName)

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int aQuantity)

getTotal

public double getTotal()

setTotal

public void setTotal(double mTotal)


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.