Enum PostTradeType

  • All Implemented Interfaces:
    Serializable, Comparable<PostTradeType>

    public enum PostTradeType
    extends Enum<PostTradeType>
    Identifies the type of ticket. Interdealer tickets(also known as Market tickets) are received by Bilateral GFIDs or Prime Broker GFIDs(when facing bilateral codes, ie not when facing their Prime Customer). Prime Give Up tickets are also known as synthetic tickets and are those in which either the Prime Broker or Prime of Prime Broker faces their Prime Client, OR when the Prime(or Prime of Prime) Client faces their credit parent broker. Prime of Prime Broker tickets are similar to Interdealer tickets in nature but are solely when the Prime of Prime Broker faces their credit parent broker.
    • Enum Constant Detail

      • None

        public static final PostTradeType None
        Default value. Do not use it directly.
      • PrimeGiveUp

        public static final PostTradeType PrimeGiveUp
        Prime Give up (Synthetic tickets)
      • Interdealer

        public static final PostTradeType Interdealer
        Interdealer
      • PrimeOfPrimeBroker

        public static final PostTradeType PrimeOfPrimeBroker
        Prime of Prime Broker - Equivalent of Interdealer ticket (facing the Parent of the Prime of Prime Broker).
    • Method Detail

      • values

        public static PostTradeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PostTradeType c : PostTradeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PostTradeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Gets current value.
        Returns:
        current value.
      • forValue

        public static PostTradeType forValue​(int value)
        Returns enum value for the int representation
        Parameters:
        value - value
        Returns:
        value.