Package biz.onixs.cme.stp.handler
Enum VenueType
- java.lang.Object
-
- java.lang.Enum<VenueType>
-
- biz.onixs.cme.stp.handler.VenueType
-
- All Implemented Interfaces:
Serializable,Comparable<VenueType>
public enum VenueType extends Enum<VenueType>
Identifies the type of venue where a trade was executed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClearingHouseTClearing house.ElectronicElectronic.ExPitEx-Pit.NoneDefault value.OffFacilitySwapOff facility swap.PitPit.QuoteDrivenMarketQuote-driven market.RegisteredMarketRegistered Market.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VenueTypeforValue(String value)Returns enum value for string representationStringgetValue()Gets current value.static VenueTypevalueOf(String name)Returns the enum constant of this type with the specified name.static VenueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final VenueType None
Default value. Do not use it directly.
-
ClearingHouse
public static final VenueType ClearingHouse
TClearing house.
-
Electronic
public static final VenueType Electronic
Electronic.
-
OffFacilitySwap
public static final VenueType OffFacilitySwap
Off facility swap.
-
Pit
public static final VenueType Pit
Pit.
-
QuoteDrivenMarket
public static final VenueType QuoteDrivenMarket
Quote-driven market.
-
RegisteredMarket
public static final VenueType RegisteredMarket
Registered Market.
-
ExPit
public static final VenueType ExPit
Ex-Pit.
-
-
Method Detail
-
values
public static VenueType[] 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 (VenueType c : VenueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VenueType 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 String getValue()
Gets current value.- Returns:
- current value.
-
-