Enum TradeType

    • Enum Constant Detail

      • None

        public static final TradeType None
        Default value. Do not use it directly.
      • RegularTrade

        public static final TradeType RegularTrade
        Regular Trade
      • BlockTrade

        public static final TradeType BlockTrade
        Block Trade
      • ExchangeForPhysical

        public static final TradeType ExchangeForPhysical
        Exchange for Physical (EFP)
      • Transfer

        public static final TradeType Transfer
        Transfer
      • ExchangeForRisk

        public static final TradeType ExchangeForRisk
        Exchange for Risk (EFR)
      • OtcPrivatelyNegotiatedTrades

        public static final TradeType OtcPrivatelyNegotiatedTrades
        OTC Privately Negotiated Trades (OPNT)
      • SubstitutionOfFuturesForForwards

        public static final TradeType SubstitutionOfFuturesForForwards
        Substitution of Futures for Forwards (SUBS)
      • OptionExercise

        public static final TradeType OptionExercise
        Option exercise
      • OverTheCounterOrLargeNotionalOffFacilitySwap

        public static final TradeType OverTheCounterOrLargeNotionalOffFacilitySwap
        Over the Counter / Large Notional Off Facility Swap
      • ExchangeBasisFacility

        public static final TradeType ExchangeBasisFacility
        Exchange Basis Facility (EBF)
      • NettedTrade

        public static final TradeType NettedTrade
        Netted trade
      • BlockSwapTrade

        public static final TradeType BlockSwapTrade
        Block swap trade
      • CreditEventTrade

        public static final TradeType CreditEventTrade
        Credit event trade
      • SuccessionEventTrade

        public static final TradeType SuccessionEventTrade
        Succession event trade
      • Fixing

        public static final TradeType Fixing
        Fixing
    • Method Detail

      • values

        public static TradeType[] 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 (TradeType c : TradeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TradeType 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 TradeType forValue​(int value)
        Returns enum value for the int representation
        Parameters:
        value - value
        Returns:
        value.