Class Order
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.details.Order
-
@Deprecated public class Order extends java.lang.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(java.lang.Object o)
Deprecated.Account
getAccount()
Deprecated.ActivationDate
getActivationDate()
Deprecated.java.util.Set<AlertType>
getAlertTypes()
Deprecated.java.lang.String
getAmount()
Deprecated.java.lang.String
getBenchmarkType()
Deprecated.BuySell
getBuySell()
Deprecated.java.lang.String
getCurrencyPair()
Deprecated.java.lang.String
getDealtCurrency()
Deprecated.java.util.Set<java.lang.String>
getEditableFields()
Deprecated.ExecutionType
getExecutionType()
Deprecated.ExpirationDate
getExpirationDate()
Deprecated.java.lang.String
getField(java.lang.String fieldName)
Deprecated.Gets the leg field for the name of the field eg.java.util.Map<java.lang.String,java.lang.String>
getFields()
Deprecated.Returns the fields related to this order.java.lang.String
getFillRate()
Deprecated.int
getLegId()
Deprecated.Returns the order's leg idjava.lang.String
getMemo()
Deprecated.java.lang.String
getOrderId()
Deprecated.Returns the order's idOrder
getPreviousOrder()
Deprecated.java.lang.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(java.lang.String fieldName)
Deprecated.boolean
hasFillRateChanged()
Deprecated.int
hashCode()
Deprecated.boolean
hasMemoChanged()
Deprecated.boolean
hasOrderChanged()
Deprecated.boolean
hasOrderEditableFieldsChanged()
Deprecated.boolean
hasRemarksChanged()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getLegId
public int getLegId()
Deprecated.Returns the order's leg id- Returns:
- the order's leg id
-
getOrderId
public java.lang.String getOrderId()
Deprecated.Returns the order's id- Returns:
- the order's id
-
getFields
public java.util.Map<java.lang.String,java.lang.String> getFields()
Deprecated.Returns the fields related to this order.- Returns:
- the fields related to this order.
-
getEditableFields
public java.util.Set<java.lang.String> getEditableFields()
Deprecated.
-
getField
public java.lang.String getField(java.lang.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
-
getAlertTypes
public java.util.Set<AlertType> getAlertTypes()
Deprecated.
-
hasAlertTypesChanged
public boolean hasAlertTypesChanged()
Deprecated.
-
getAmount
public java.lang.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 java.lang.String getBenchmarkType()
Deprecated.
-
hasBenchmarkTypeChanged
public boolean hasBenchmarkTypeChanged()
Deprecated.
-
getBuySell
public BuySell getBuySell()
Deprecated.
-
hasBuySellChanged
public boolean hasBuySellChanged()
Deprecated.
-
getDealtCurrency
public java.lang.String getDealtCurrency()
Deprecated.
-
hasDealtCurrencyChanged
public boolean hasDealtCurrencyChanged()
Deprecated.
-
getCurrencyPair
public java.lang.String getCurrencyPair()
Deprecated.
-
hasCurrencyPairChanged
public boolean hasCurrencyPairChanged()
Deprecated.
-
getExecutionType
public ExecutionType getExecutionType()
Deprecated.
-
hasExecutionTypeChanged
public boolean hasExecutionTypeChanged()
Deprecated.
-
getFillRate
public java.lang.String getFillRate()
Deprecated.
-
hasFillRateChanged
public boolean hasFillRateChanged()
Deprecated.
-
getRemarks
public java.lang.String getRemarks()
Deprecated.
-
hasRemarksChanged
public boolean hasRemarksChanged()
Deprecated.
-
getMemo
public java.lang.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(java.lang.String fieldName)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-