Class AlertType
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.submission.AlertType
-
@Deprecated public class AlertType extends Object
Deprecated.The AlertType determines how the client should be alerted once the order has been filled.
The common alert types can be accessed as public constants
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.static Set<AlertType>
getAlertTypes(String typesStr, String delimiter)
Deprecated.Returns a set of AlertTypes for a String that contains a delimited list of AlertTypesString
getName()
Deprecated.Returns the name of the alert type.static AlertType
getValue(String name)
Deprecated.Returns the AlertType for the specified field name.int
hashCode()
Deprecated.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
AlertType
public AlertType(String name)
Deprecated.Constructs an AlertType for the specified name.s- Parameters:
name
- The name of the AlertType
-
-
Method Detail
-
getValue
public static AlertType getValue(String name)
Deprecated.Returns the AlertType for the specified field name. This will either be one of the constants defined in this class, or a new instance of AlertType created with the name specified.- Parameters:
name
- The name of the AlertType- Returns:
- The AlertType
-
getAlertTypes
public static Set<AlertType> getAlertTypes(String typesStr, String delimiter)
Deprecated.Returns a set of AlertTypes for a String that contains a delimited list of AlertTypes- Parameters:
typesStr
- A delimited list of alert typesdelimiter
- The delimiter- Returns:
- A set of AlertTypes
-
getName
public String getName()
Deprecated.Returns the name of the alert type. This will be the field value as sent down from the client.- Returns:
- The alert type name.
-
-