finance.dar
Class DarBean

java.lang.Object
  extended by finance.dar.DarBean
All Implemented Interfaces:
java.io.Serializable

public class DarBean
extends java.lang.Object
implements java.io.Serializable

A modified Dutch Auction Repurchase Tender Offer

See Also:
Serialized Form

Constructor Summary
DarBean(java.lang.String symbol)
           
 
Method Summary
 double getBuyBackPercentage()
           
 double getBuyBackPrice()
           
static java.lang.String getCsvHeader()
           
 java.lang.String getCsvString()
           
static java.lang.String getHeader()
           
 double getMax()
           
 double getMin()
           
 java.lang.String getOddLotString()
           
 double getPricePercentage(double price)
           
 double getProration()
           
 java.util.Date getResultsDate()
           
 java.lang.String getSymbol()
           
 java.util.Date getTerminationDate()
           
 boolean isOddLotHonored()
           
static void main(java.lang.String[] args)
           
 void setBuyBackPrice(double buyBackPrice)
           
 void setMax(double max)
           
 void setMin(double min)
           
 void setOddLotHonored(boolean oddLotHonored)
           
 void setProration(double proration)
          Set the proration from 0..1 for a percentage.
 void setResultsDate(java.util.Date resultsDate)
           
 void setTerminationDate(java.util.Date terminationDate)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DarBean

public DarBean(java.lang.String symbol)
Method Detail

getSymbol

public java.lang.String getSymbol()

getMin

public double getMin()

setMin

public void setMin(double min)

getMax

public double getMax()

setMax

public void setMax(double max)

getTerminationDate

public java.util.Date getTerminationDate()

setTerminationDate

public void setTerminationDate(java.util.Date terminationDate)

isOddLotHonored

public boolean isOddLotHonored()

setOddLotHonored

public void setOddLotHonored(boolean oddLotHonored)

getHeader

public static java.lang.String getHeader()

toString

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

getResultsDate

public java.util.Date getResultsDate()

setResultsDate

public void setResultsDate(java.util.Date resultsDate)

getBuyBackPrice

public double getBuyBackPrice()

setBuyBackPrice

public void setBuyBackPrice(double buyBackPrice)

getProration

public double getProration()

setProration

public void setProration(double proration)
Set the proration from 0..1 for a percentage.

Parameters:
proration -

getBuyBackPercentage

public double getBuyBackPercentage()
Returns:
a number (generally between 0 and 1)

getPricePercentage

public double getPricePercentage(double price)
Returns:
a number (generally between 0 and 1)

getCsvHeader

public static java.lang.String getCsvHeader()

getOddLotString

public java.lang.String getOddLotString()

getCsvString

public java.lang.String getCsvString()

main

public static void main(java.lang.String[] args)
                 throws java.text.ParseException
Throws:
java.text.ParseException