Class AlertType
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.submission.AlertType
-
@Deprecated public class AlertType extends java.lang.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
-
-
Constructor Summary
Constructors Constructor Description AlertType(java.lang.String name)
Deprecated.Constructs an AlertType for the specified name.s
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Deprecated.static java.util.Set<AlertType>
getAlertTypes(java.lang.String typesStr, java.lang.String delimiter)
Deprecated.Returns a set of AlertTypes for a String that contains a delimited list of AlertTypesjava.lang.String
getName()
Deprecated.Returns the name of the alert type.static AlertType
getValue(java.lang.String name)
Deprecated.Returns the AlertType for the specified field name.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getValue
public static AlertType getValue(java.lang.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 java.util.Set<AlertType> getAlertTypes(java.lang.String typesStr, java.lang.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 java.lang.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.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-