com.dxfeed.event.candle
Enum CandleSession

java.lang.Object
  extended by java.lang.Enum<CandleSession>
      extended by com.dxfeed.event.candle.CandleSession
All Implemented Interfaces:
CandleSymbolAttribute<CandleSession>, java.io.Serializable, java.lang.Comparable<CandleSession>

public enum CandleSession
extends java.lang.Enum<CandleSession>
implements CandleSymbolAttribute<CandleSession>


Enum Constant Summary
ANY
           
REGULAR
           
 
Field Summary
static CandleSession DEFAULT
           
 
Method Summary
 java.lang.String changeAttributeForSymbol(java.lang.String symbol)
           
 void checkInAttribute(CandleSymbol candleSymbol)
           
static CandleSession getAttributeForSymbol(java.lang.String symbol)
           
 SessionFilter getSessionFilter()
           
static java.lang.String normalizeAttributeForSymbol(java.lang.String symbol)
           
static CandleSession parse(java.lang.String s)
           
 java.lang.String toString()
           
static CandleSession valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CandleSession[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

ANY

public static final CandleSession ANY

REGULAR

public static final CandleSession REGULAR
Field Detail

DEFAULT

public static final CandleSession DEFAULT
Method Detail

values

public static final CandleSession[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CandleSession c : CandleSession.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CandleSession valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getSessionFilter

public SessionFilter getSessionFilter()

changeAttributeForSymbol

public java.lang.String changeAttributeForSymbol(java.lang.String symbol)
Specified by:
changeAttributeForSymbol in interface CandleSymbolAttribute<CandleSession>

checkInAttribute

public void checkInAttribute(CandleSymbol candleSymbol)
Specified by:
checkInAttribute in interface CandleSymbolAttribute<CandleSession>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<CandleSession>

parse

public static CandleSession parse(java.lang.String s)

getAttributeForSymbol

public static CandleSession getAttributeForSymbol(java.lang.String symbol)

normalizeAttributeForSymbol

public static java.lang.String normalizeAttributeForSymbol(java.lang.String symbol)