Main Page | Packages | Class Hierarchy | Class List | File List | Class Members

saxparse.AimOrder Class Reference

Inheritance diagram for saxparse.AimOrder:

Inheritance graph
[legend]
Collaboration diagram for saxparse.AimOrder:

Collaboration graph
[legend]
List of all members.

Detailed Description

AimOrder Aug 11, 2004.

A class for an aim order. An "aim order" is a market trading objective, perhaps for a stock market order.

Author:
Ian Kaplan, www.bearcave.com, iank@bearcave.com


Public Member Functions

 AimOrder ()
 AimOrder (String product, String user, String localID)
int getAmount ()
void setAmount (int amount)
String getInstructions ()
void setInstructions (String instructions)
String getMarket ()
void setMarket (String market)
String getSymbol ()
void setSymbol (String symbol)
float getTargetPrice ()
void setTargetPrice (float targetPrice)
String toString ()

Package Attributes

String mSymbol = null
int mAmount = 0
float mTargetPrice = 0.0F
String mMarket = null
String mInstructions = null


Constructor & Destructor Documentation

saxparse.AimOrder.AimOrder  ) 
 

00031 {}

saxparse.AimOrder.AimOrder String  product,
String  user,
String  localID
 

00033 { 00034 super(product, user, localID); 00035 }


Member Function Documentation

int saxparse.AimOrder.getAmount  ) 
 

00043 { 00044 return mAmount; 00045 }

String saxparse.AimOrder.getInstructions  ) 
 

00049 { 00050 return mInstructions; 00051 }

String saxparse.AimOrder.getMarket  ) 
 

00055 { 00056 return mMarket; 00057 }

String saxparse.AimOrder.getSymbol  ) 
 

00061 { 00062 return mSymbol; 00063 }

float saxparse.AimOrder.getTargetPrice  ) 
 

00067 { 00068 return mTargetPrice; 00069 }

void saxparse.AimOrder.setAmount int  amount  ) 
 

00046 { 00047 mAmount = amount; 00048 }

void saxparse.AimOrder.setInstructions String  instructions  ) 
 

00052 { 00053 mInstructions = instructions; 00054 }

void saxparse.AimOrder.setMarket String  market  ) 
 

00058 { 00059 mMarket = market; 00060 }

void saxparse.AimOrder.setSymbol String  symbol  ) 
 

00064 { 00065 mSymbol = symbol; 00066 }

void saxparse.AimOrder.setTargetPrice float  targetPrice  ) 
 

00070 { 00071 mTargetPrice = targetPrice; 00072 }

String saxparse.AimOrder.toString  ) 
 

00075 { 00076 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 00077 PrintStream ps = new PrintStream( bos ); 00078 super.toStream( ps ); 00079 ps.println("symbol: " + mSymbol ); 00080 ps.println("amount: " + mAmount ); 00081 ps.println("target price: " + mTargetPrice ); 00082 ps.println("market: " + mMarket ); 00083 ps.println("instructions: " + mInstructions ); 00084 String str = bos.toString(); 00085 return str; 00086 }


Member Data Documentation

int saxparse.AimOrder.mAmount = 0 [package]
 

String saxparse.AimOrder.mInstructions = null [package]
 

String saxparse.AimOrder.mMarket = null [package]
 

String saxparse.AimOrder.mSymbol = null [package]
 

float saxparse.AimOrder.mTargetPrice = 0.0F [package]
 


The documentation for this class was generated from the following file:
Generated on Sat Aug 28 13:50:02 2004 for SaxParse by doxygen 1.3.8