com.gcapmedia.dab.epg
Enum ProgrammeGroup.Type

java.lang.Object
  extended by java.lang.Enum<ProgrammeGroup.Type>
      extended by com.gcapmedia.dab.epg.ProgrammeGroup.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProgrammeGroup.Type>
Enclosing class:
ProgrammeGroup

public static enum ProgrammeGroup.Type
extends java.lang.Enum<ProgrammeGroup.Type>

Indicates the type of programme grouping


Enum Constant Summary
MAGAZINE
          A collection of individual programmes that are shown as a group because they are editorially coherent (e.g.
OTHER_CHOICE
          Can be used for any group not defined in the list about where only one member of the group should be acquired if the group is selected.
OTHER_COLLECTION
          Can be used for any group not defined in the preceding list where all memembers of the group should be acquired if the group is selected.
PROGRAM_COMPILATION
          A collection of programmes that is used to allow segments from multiple programmes to be combined in segment groups.
PROGRAM_CONCEPT
          The editorial concept for a programme from which specific programme versions have been derived (e.g.
SERIES
          An ordered or unordered collection of programmes that is shown in a sequence (e.g.
SHOW
          A programme theme that is typically associated with a collection of series (e.g.
TOPIC
          A collection of programmes on a particular topic or theme.
 
Method Summary
static ProgrammeGroup.Type fromValue(java.lang.String v)
          Parse the type from a string value
 java.lang.String toString()
           
 java.lang.String value()
           
static ProgrammeGroup.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProgrammeGroup.Type[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SERIES

public static final ProgrammeGroup.Type SERIES
An ordered or unordered collection of programmes that is shown in a sequence (e.g. "The News Quiz" season 1)


SHOW

public static final ProgrammeGroup.Type SHOW
A programme theme that is typically associated with a collection of series (e.g. all episodes of "The News Quiz")


PROGRAM_CONCEPT

public static final ProgrammeGroup.Type PROGRAM_CONCEPT
The editorial concept for a programme from which specific programme versions have been derived (e.g.


MAGAZINE

public static final ProgrammeGroup.Type MAGAZINE
A collection of individual programmes that are shown as a group because they are editorially coherent (e.g. a general sports programme with individual sub-programmes covering different events).


PROGRAM_COMPILATION

public static final ProgrammeGroup.Type PROGRAM_COMPILATION
A collection of programmes that is used to allow segments from multiple programmes to be combined in segment groups.


OTHER_COLLECTION

public static final ProgrammeGroup.Type OTHER_COLLECTION
Can be used for any group not defined in the preceding list where all memembers of the group should be acquired if the group is selected. For example, a group of channel highlights or recommendations.


OTHER_CHOICE

public static final ProgrammeGroup.Type OTHER_CHOICE
Can be used for any group not defined in the list about where only one member of the group should be acquired if the group is selected.


TOPIC

public static final ProgrammeGroup.Type TOPIC
A collection of programmes on a particular topic or theme.

Method Detail

values

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

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

valueOf

public static ProgrammeGroup.Type 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
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()
Returns:
Returns the string value of the enum

fromValue

public static ProgrammeGroup.Type fromValue(java.lang.String v)
Parse the type from a string value


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ProgrammeGroup.Type>
See Also:
Enum.toString()


Copyright © 2007. All Rights Reserved.