Package biz.onixs.cme.stp.handler
Enum TradeType
- java.lang.Object
-
- java.lang.Enum<TradeType>
-
- biz.onixs.cme.stp.handler.TradeType
-
- All Implemented Interfaces:
Serializable,Comparable<TradeType>
public enum TradeType extends Enum<TradeType>
CME Trade Type and Trade Transfer Flag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BlockSwapTradeBlock swap tradeBlockTradeBlock TradeCreditEventTradeCredit event tradeExchangeBasisFacilityExchange Basis Facility (EBF)ExchangeForPhysicalExchange for Physical (EFP)ExchangeForRiskExchange for Risk (EFR)FixingFixingNettedTradeNetted tradeNoneDefault value.OptionExerciseOption exerciseOtcPrivatelyNegotiatedTradesOTC Privately Negotiated Trades (OPNT)OverTheCounterOrLargeNotionalOffFacilitySwapOver the Counter / Large Notional Off Facility SwapRegularTradeRegular TradeSubstitutionOfFuturesForForwardsSubstitution of Futures for Forwards (SUBS)SuccessionEventTradeSuccession event tradeTransferTransfer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TradeTypeforValue(int value)Returns enum value for the int representationintgetValue()Gets current value.static TradeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TradeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- 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.
-
-