com.gcapmedia.dab.epg
Enum Genre.Scheme
java.lang.Object
java.lang.Enum<Genre.Scheme>
com.gcapmedia.dab.epg.Genre.Scheme
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Genre.Scheme>
- Enclosing class:
- Genre
public static enum Genre.Scheme
- extends java.lang.Enum<Genre.Scheme>
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 |
INTENTION
public static final Genre.Scheme INTENTION
FORMAT
public static final Genre.Scheme FORMAT
CONTENT
public static final Genre.Scheme CONTENT
INTENDED_AUDIENCE
public static final Genre.Scheme INTENDED_AUDIENCE
ORIGINATION
public static final Genre.Scheme ORIGINATION
CONTENT_ALERT
public static final Genre.Scheme CONTENT_ALERT
MEDIA_TYPE
public static final Genre.Scheme MEDIA_TYPE
ATMOSPHERE
public static final Genre.Scheme ATMOSPHERE
values
public static Genre.Scheme[] 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 (Genre.Scheme c : Genre.Scheme.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Genre.Scheme 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
getId
public int getId()
getName
public java.lang.String getName()
fromId
public static Genre.Scheme fromId(int id)
Copyright © 2007. All Rights Reserved.