public abstract class SimpleOrder extends OrderImpl implements SimpleOrderI, BaseEntityI
Constructor and Description |
---|
SimpleOrder() |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(EntityVisitor<R,? super P> visitor,
P param) |
abstract SimpleOrderVO |
convertToVO()
converts this domain object (entity) to its corresponding value object
|
boolean |
isInitialized() |
void |
setInitialized() |
abstract void |
validate()
Returns true if this Order is valid.
|
addOrderProperty, equals, getDescription, getEffectiveExchange, getOrderProperties, getOrderProperty, getRootIntId, hashCode, setParentOrder, setQuantity, setQuantity, toString
addChildOrders, getAccount, getChildOrders, getDateTime, getExchange, getExtDescription, getExtId, getId, getIntId, getParentIntId, getParentOrder, getQuantity, getSecurity, getSide, getStrategy, getTif, getTifDateTime, initializeAccount, initializeChildOrders, initializeExchange, initializeParentOrder, initializeSecurity, initializeStrategy, isAlgoOrder, isExchangeOrder, removeChildOrders, setAccount, setChildOrders, setDateTime, setExchange, setExchangeOrder, setExtId, setId, setIntId, setParentIntId, setSecurity, setSide, setStrategy, setTif, setTifDateTime
addProperty, clearProperties, getBooleanProperty, getDateProperty, getDoubleProperty, getIntProperty, getMoneyProperty, getProperties, getPropertiesCount, getProperty, getProperty, getPropertyNames, getTextProperty, hasProperty, removeProperty, setProperties
getId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDateTime, getExtId, getId, getIntId, getParentIntId, getQuantity, getSide, getTif, getTifDateTime, isExchangeOrder
getId, toString
public boolean isInitialized()
isInitialized
in interface BaseEntityI
isInitialized
in class Order
public void setInitialized()
setInitialized
in class Order
public <R,P> R accept(EntityVisitor<R,? super P> visitor, P param)
accept
in interface BaseEntityI
accept
in class Order
public abstract void validate() throws OrderValidationException
validate
in class Order
OrderValidationException
public abstract SimpleOrderVO convertToVO()
convertToVO
in class Order