com.dukascopy.api
Enum INewsFilter.MarketSector

java.lang.Object
  extended by java.lang.Enum<INewsFilter.MarketSector>
      extended by com.dukascopy.api.INewsFilter.MarketSector
All Implemented Interfaces:
Serializable, Comparable<INewsFilter.MarketSector>
Enclosing interface:
INewsFilter

public static enum INewsFilter.MarketSector
extends Enum<INewsFilter.MarketSector>

Market sectors


Enum Constant Summary
BSC
          Basic Materials
CYC
          Consumer Services
ENE
          Oil & Gas
FCL
          Financial
HCR
          Health Care
IDU
          Industrials
NCY
          Cosumer Goods
TEC
          Technology
TEL
          Telecommunications
UTI
          Utilities
 
Field Summary
 String name
           
 
Method Summary
 String toString()
           
static INewsFilter.MarketSector valueOf(String name)
          Returns the enum constant of this type with the specified name.
static INewsFilter.MarketSector[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NCY

public static final INewsFilter.MarketSector NCY
Cosumer Goods


TEC

public static final INewsFilter.MarketSector TEC
Technology


UTI

public static final INewsFilter.MarketSector UTI
Utilities


BSC

public static final INewsFilter.MarketSector BSC
Basic Materials


CYC

public static final INewsFilter.MarketSector CYC
Consumer Services


ENE

public static final INewsFilter.MarketSector ENE
Oil & Gas


FCL

public static final INewsFilter.MarketSector FCL
Financial


IDU

public static final INewsFilter.MarketSector IDU
Industrials


HCR

public static final INewsFilter.MarketSector HCR
Health Care


TEL

public static final INewsFilter.MarketSector TEL
Telecommunications

Field Detail

name

public final String name
Method Detail

values

public static INewsFilter.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 (INewsFilter.MarketSector c : INewsFilter.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 INewsFilter.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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<INewsFilter.MarketSector>


Copyright © 2011. All Rights Reserved.