net.commerce.zocalo.ajax.events
Class PriceAction
java.lang.Object
org.apache.log4j.spi.LoggingEvent
net.commerce.zocalo.ajax.events.Action
net.commerce.zocalo.ajax.events.PriceAction
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Ask, BestAsk, BestBid, Bid, OrderRemoval, Redemption, SelfDealing, Trade
public abstract class PriceAction
- extends Action
base class of actions that represent price changes. This class hierarchy makes use of log4j.
Leaf descendents (other than those provided solely for Hibernate) MUST call log() at end
of construction.
- See Also:
- Serialized Form
Fields inherited from class org.apache.log4j.spi.LoggingEvent |
categoryName, fqnOfCategoryClass, level, timeStamp |
Methods inherited from class org.apache.log4j.spi.LoggingEvent |
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PriceAction
protected PriceAction(org.apache.log4j.Logger logger)
PriceAction
protected PriceAction(java.lang.String owner,
Price price,
Quantity quantity,
Position pos,
org.apache.log4j.Logger logger)
getActionLogger
public static org.apache.log4j.Logger getActionLogger()
toLogString
public java.lang.String toLogString()
- Specified by:
toLogString
in class Action
getGID
protected java.lang.String getGID()
getPosition
protected java.lang.String getPosition(Position position)
actionString
protected abstract java.lang.String actionString()
timeAndPrice
public org.jfree.data.time.TimePeriodValue timeAndPrice()
timeAndPriceInverted
public org.jfree.data.time.TimePeriodValue timeAndPriceInverted()
timeAndVolume
public org.jfree.data.time.TimePeriodValue timeAndVolume()
getNaturalPrice
public Price getNaturalPrice()
getPos
public Position getPos()
getOwner
public java.lang.String getOwner()
getPrice
public Price getPrice()
getQuantity
public Quantity getQuantity()
getTime
public java.util.Date getTime()
setTime
public void setTime(java.util.Date time)
- Deprecated.
setPos
public void setPos(Position pos)
- Deprecated.