Class OrderBuilder
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.details.OrderBuilder
-
@Deprecated public class OrderBuilder extends 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(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(String orderId)
Deprecated.Sets the order ID of the order to build.String
toString()
Deprecated.
-
-
-
Method Detail
-
setOrderId
public OrderBuilder setOrderId(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.
-
-