org.jmythapi.protocol.response
Enum IProgramInfoList.MapKey

java.lang.Object
  extended by java.lang.Enum<IProgramInfoList.MapKey>
      extended by org.jmythapi.protocol.response.IProgramInfoList.MapKey
All Implemented Interfaces:
Serializable, Comparable<IProgramInfoList.MapKey>
Enclosing interface:
IProgramInfoList

public static enum IProgramInfoList.MapKey
extends Enum<IProgramInfoList.MapKey>

Specifies which key should be used for IProgramInfoList.asMap(MapKey)


Enum Constant Summary
UNIQUE_PROGRAM_ID
           
UNIQUE_RECORDING_ID
           
 
Method Summary
static IProgramInfoList.MapKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IProgramInfoList.MapKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNIQUE_PROGRAM_ID

public static final IProgramInfoList.MapKey UNIQUE_PROGRAM_ID

UNIQUE_RECORDING_ID

public static final IProgramInfoList.MapKey UNIQUE_RECORDING_ID
Method Detail

values

public static IProgramInfoList.MapKey[] 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 (IProgramInfoList.MapKey c : IProgramInfoList.MapKey.values())
    System.out.println(c);

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

valueOf

public static IProgramInfoList.MapKey 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


Copyright © 2008-2013. All Rights Reserved.