Enum MarketSector
- java.lang.Object
-
- java.lang.Enum<MarketSector>
-
- org.symphonyoss.symphony.messageml.util.instrument.resolver.MarketSector
-
- All Implemented Interfaces:
Serializable,Comparable<MarketSector>
public enum MarketSector extends Enum<MarketSector>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MarketSectorfromValue(String text)static List<String>toValues()static MarketSectorvalueOf(String name)Returns the enum constant of this type with the specified name.static MarketSector[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUITY
public static final MarketSector EQUITY
-
COMDTY
public static final MarketSector COMDTY
-
CORP
public static final MarketSector CORP
-
CURNCY
public static final MarketSector CURNCY
-
GOVT
public static final MarketSector GOVT
-
INDEX
public static final MarketSector INDEX
-
MMKT
public static final MarketSector MMKT
-
MTGE
public static final MarketSector MTGE
-
MUNI
public static final MarketSector MUNI
-
PFD
public static final MarketSector PFD
-
-
Method Detail
-
values
public static MarketSector[] 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 (MarketSector c : MarketSector.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarketSector 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
-
fromValue
public static MarketSector fromValue(String text)
-
-