Venice 0.751beta

nz.org.venice.alert
Class Alert

java.lang.Object
  extended bynz.org.venice.alert.Alert
Direct Known Subclasses:
GondolaAlert, OHLCVAlert

public abstract class Alert
extends java.lang.Object


Field Summary
static java.lang.String CLOSE_FIELD
           
static int EXACT_BOUND
           
static java.lang.String EXP_FIELD
           
static int GONDOLA
           
static int GONDOLA_TRIGGER
           
static java.lang.String HIGH_FIELD
           
static java.lang.String LOW_FIELD
           
static int LOWER_BOUND
           
static int OHLCV
           
static java.lang.String OPEN_FIELD
           
static int UPPER_BOUND
           
static java.lang.String VOLUME_FIELD
           
 
Constructor Summary
Alert()
           
Alert(Symbol symbol, TradingDate startDate, TradingDate endDate, boolean enabled)
           
 
Method Summary
static java.lang.String boundTypeToString(int bound)
           
abstract  java.lang.Object clone()
           
static int fieldToQuote(java.lang.String field)
           
abstract  int getBoundType()
           
 TradingDate getDateSet()
           
 boolean getEnabled()
           
 TradingDate getEndDate()
           
abstract  java.lang.String getField()
           
 TradingDate getStartDate()
           
 Symbol getSymbol()
           
 java.lang.Object getTarget()
           
abstract  java.lang.String getTargetExpression()
           
abstract  java.lang.Double getTargetValue()
           
abstract  int getType()
           
 boolean isEqualTo(Alert alert)
           
abstract  void setBoundType(int boundType)
           
 void setDateSet(TradingDate dateSet)
           
 void setEnabled(boolean enabled)
           
 void setEndDate(TradingDate endDate)
           
abstract  void setField(java.lang.String field)
           
 void setStartDate(TradingDate startDate)
           
 void setSymbol(Symbol symbol)
           
abstract  void setTargetExpression(java.lang.String expression)
           
abstract  void setTargetValue(java.lang.Double value)
           
 void setType(int type)
           
static int stringToBoundType(java.lang.String s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OHLCV

public static final int OHLCV
See Also:
Constant Field Values

GONDOLA

public static final int GONDOLA
See Also:
Constant Field Values

UPPER_BOUND

public static final int UPPER_BOUND
See Also:
Constant Field Values

LOWER_BOUND

public static final int LOWER_BOUND
See Also:
Constant Field Values

EXACT_BOUND

public static final int EXACT_BOUND
See Also:
Constant Field Values

GONDOLA_TRIGGER

public static final int GONDOLA_TRIGGER
See Also:
Constant Field Values

OPEN_FIELD

public static final java.lang.String OPEN_FIELD
See Also:
Constant Field Values

HIGH_FIELD

public static final java.lang.String HIGH_FIELD
See Also:
Constant Field Values

LOW_FIELD

public static final java.lang.String LOW_FIELD
See Also:
Constant Field Values

CLOSE_FIELD

public static final java.lang.String CLOSE_FIELD
See Also:
Constant Field Values

VOLUME_FIELD

public static final java.lang.String VOLUME_FIELD
See Also:
Constant Field Values

EXP_FIELD

public static final java.lang.String EXP_FIELD
See Also:
Constant Field Values
Constructor Detail

Alert

public Alert()

Alert

public Alert(Symbol symbol,
             TradingDate startDate,
             TradingDate endDate,
             boolean enabled)
Method Detail

setDateSet

public void setDateSet(TradingDate dateSet)

getDateSet

public TradingDate getDateSet()

setSymbol

public void setSymbol(Symbol symbol)

getSymbol

public Symbol getSymbol()

getStartDate

public TradingDate getStartDate()

setStartDate

public void setStartDate(TradingDate startDate)

getEndDate

public TradingDate getEndDate()

setEndDate

public void setEndDate(TradingDate endDate)

getEnabled

public boolean getEnabled()

setEnabled

public void setEnabled(boolean enabled)

stringToBoundType

public static int stringToBoundType(java.lang.String s)

boundTypeToString

public static java.lang.String boundTypeToString(int bound)

fieldToQuote

public static int fieldToQuote(java.lang.String field)

getTarget

public java.lang.Object getTarget()

toString

public java.lang.String toString()

getTargetValue

public abstract java.lang.Double getTargetValue()

getTargetExpression

public abstract java.lang.String getTargetExpression()

setTargetValue

public abstract void setTargetValue(java.lang.Double value)

setTargetExpression

public abstract void setTargetExpression(java.lang.String expression)

setType

public void setType(int type)

getType

public abstract int getType()

getBoundType

public abstract int getBoundType()

setBoundType

public abstract void setBoundType(int boundType)

getField

public abstract java.lang.String getField()

setField

public abstract void setField(java.lang.String field)

clone

public abstract java.lang.Object clone()

isEqualTo

public boolean isEqualTo(Alert alert)

Venice 0.751beta