org.jmythapi.protocol.response
Enum IProgramInfoList.MapKey
java.lang.Object
java.lang.Enum<IProgramInfoList.MapKey>
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)
UNIQUE_PROGRAM_ID
public static final IProgramInfoList.MapKey UNIQUE_PROGRAM_ID
UNIQUE_RECORDING_ID
public static final IProgramInfoList.MapKey UNIQUE_RECORDING_ID
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.