Class Order
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.details.Order
-
@Deprecated public class Order extends Object
Deprecated.This class represents an Order. Instances of this class should be created by callingStrategyBuilder.addOrderBuilder(int)
rather than instantiated directly.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.Account
getAccount()
Deprecated.ActivationDate
getActivationDate()
Deprecated.Set<AlertType>
getAlertTypes()
Deprecated.String
getAmount()
Deprecated.String
getBenchmarkType()
Deprecated.BuySell
getBuySell()
Deprecated.String
getCurrencyPair()
Deprecated.String
getDealtCurrency()
Deprecated.Set<String>
getEditableFields()
Deprecated.ExecutionType
getExecutionType()
Deprecated.ExpirationDate
getExpirationDate()
Deprecated.String
getField(String fieldName)
Deprecated.Gets the leg field for the name of the field eg.Map<String,String>
getFields()
Deprecated.Returns the fields related to this order.String
getFillRate()
Deprecated.int
getLegId()
Deprecated.Returns the order's leg idString
getMemo()
Deprecated.String
getOrderId()
Deprecated.Returns the order's idOrder
getPreviousOrder()
Deprecated.String
getRemarks()
Deprecated.boolean
hasAccountChanged()
Deprecated.boolean
hasActivationDateChanged()
Deprecated.boolean
hasAlertTypesChanged()
Deprecated.boolean
hasAmountChanged()
Deprecated.boolean
hasBenchmarkTypeChanged()
Deprecated.boolean
hasBuySellChanged()
Deprecated.boolean
hasCurrencyPairChanged()
Deprecated.boolean
hasDealtCurrencyChanged()
Deprecated.boolean
hasExecutionTypeChanged()
Deprecated.boolean
hasExpirationDateChanged()
Deprecated.boolean
hasFieldChanged(String fieldName)
Deprecated.boolean
hasFillRateChanged()
Deprecated.int
hashCode()
Deprecated.boolean
hasMemoChanged()
Deprecated.boolean
hasOrderChanged()
Deprecated.boolean
hasOrderEditableFieldsChanged()
Deprecated.boolean
hasRemarksChanged()
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
getLegId
public int getLegId()
Deprecated.Returns the order's leg id- Returns:
- the order's leg id
-
getOrderId
public String getOrderId()
Deprecated.Returns the order's id- Returns:
- the order's id
-
getFields
public Map<String,String> getFields()
Deprecated.Returns the fields related to this order.- Returns:
- the fields related to this order.
-
getField
public String getField(String fieldName)
Deprecated.Gets the leg field for the name of the field eg.fieldName Account will return the field L1_Account if this order is the first leg of the strategy.
- Parameters:
fieldName
- the name of the field without the leg prefix- Returns:
- the value of the field
-
hasAlertTypesChanged
public boolean hasAlertTypesChanged()
Deprecated.
-
getAmount
public String getAmount()
Deprecated.
-
hasAmountChanged
public boolean hasAmountChanged()
Deprecated.
-
getActivationDate
public ActivationDate getActivationDate()
Deprecated.
-
hasActivationDateChanged
public boolean hasActivationDateChanged()
Deprecated.
-
getExpirationDate
public ExpirationDate getExpirationDate()
Deprecated.
-
hasExpirationDateChanged
public boolean hasExpirationDateChanged()
Deprecated.
-
getAccount
public Account getAccount()
Deprecated.
-
hasAccountChanged
public boolean hasAccountChanged()
Deprecated.
-
getBenchmarkType
public String getBenchmarkType()
Deprecated.
-
hasBenchmarkTypeChanged
public boolean hasBenchmarkTypeChanged()
Deprecated.
-
getBuySell
public BuySell getBuySell()
Deprecated.
-
hasBuySellChanged
public boolean hasBuySellChanged()
Deprecated.
-
getDealtCurrency
public String getDealtCurrency()
Deprecated.
-
hasDealtCurrencyChanged
public boolean hasDealtCurrencyChanged()
Deprecated.
-
getCurrencyPair
public String getCurrencyPair()
Deprecated.
-
hasCurrencyPairChanged
public boolean hasCurrencyPairChanged()
Deprecated.
-
getExecutionType
public ExecutionType getExecutionType()
Deprecated.
-
hasExecutionTypeChanged
public boolean hasExecutionTypeChanged()
Deprecated.
-
getFillRate
public String getFillRate()
Deprecated.
-
hasFillRateChanged
public boolean hasFillRateChanged()
Deprecated.
-
getRemarks
public String getRemarks()
Deprecated.
-
hasRemarksChanged
public boolean hasRemarksChanged()
Deprecated.
-
getMemo
public String getMemo()
Deprecated.
-
hasMemoChanged
public boolean hasMemoChanged()
Deprecated.
-
getPreviousOrder
public Order getPreviousOrder()
Deprecated.
-
hasOrderChanged
public boolean hasOrderChanged()
Deprecated.
-
hasOrderEditableFieldsChanged
public boolean hasOrderEditableFieldsChanged()
Deprecated.
-
hasFieldChanged
public boolean hasFieldChanged(String fieldName)
Deprecated.
-
-