Class 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

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static AlertType EMAIL
      Deprecated.
      The Email alert type
      static AlertType SMS
      Deprecated.
      The sms alert type
    • 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 AlertTypes
      java.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.
       
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • EMAIL

        public static final AlertType EMAIL
        Deprecated.
        The Email alert type
      • SMS

        public static final AlertType SMS
        Deprecated.
        The sms alert type
    • Constructor Detail

      • AlertType

        public AlertType​(java.lang.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​(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 types
        delimiter - 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object