Class OrderBuilder
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.details.OrderBuilder
-
@Deprecated public class OrderBuilder extends java.lang.Object
Deprecated.This class provides a builder which is used to instantiate and populate the fields of an order. You should not instantiate this class directly. Instead, you should create instances by callingStrategyBuilder.addOrderBuilder(int)
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.OrderFieldSet
getEditableFields()
Deprecated.Returns the fields relating to the order that can be edited by the user.OrderSalesFieldSet
getEditableSalesFields()
Deprecated.Returns the fields relating to the order that can be edited by the user.OrderFieldSet
getFixedFields()
Deprecated.Returns the fields relating to the order that cannot be edited by the userOrderSalesFieldSet
getFixedSalesFields()
Deprecated.Returns the fields relating to the order that cannot be edited by the user These fields are only visible on the Sales Order Details subject.int
hashCode()
Deprecated.OrderBuilder
setOrderId(java.lang.String orderId)
Deprecated.Sets the order ID of the order to build.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
setOrderId
public OrderBuilder setOrderId(java.lang.String orderId)
Deprecated.Sets the order ID of the order to build.- Parameters:
orderId
- the order ID of the order to build- Returns:
- A reference to the builder itself to allow chaining calls.
-
getFixedFields
public OrderFieldSet getFixedFields()
Deprecated.Returns the fields relating to the order that cannot be edited by the user- Returns:
- The fixed fields.
-
getEditableFields
public OrderFieldSet getEditableFields()
Deprecated.Returns the fields relating to the order that can be edited by the user.- Returns:
- The editable fields.
-
getFixedSalesFields
public OrderSalesFieldSet getFixedSalesFields()
Deprecated.Returns the fields relating to the order that cannot be edited by the user These fields are only visible on the Sales Order Details subject.- Returns:
- The fixed sales fields.
-
getEditableSalesFields
public OrderSalesFieldSet getEditableSalesFields()
Deprecated.Returns the fields relating to the order that can be edited by the user. These fields are only visible on the Sales Order Details subject.- Returns:
- The editable sales fields.
-
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
-
-