| Enum Constant and Description |
|---|
ALBUM
Denotes an album product
|
ARTIST
Denotes an Artist.
|
SINGLE
Denotes a single product - typically 2 or 3 tracks bundled together.
|
TRACK
Denotes a single track product.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(java.lang.String otherName) |
java.lang.String |
toString() |
static Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Category ARTIST
public static final Category ALBUM
public static final Category SINGLE
public static final Category TRACK
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean equalsName(java.lang.String otherName)
public java.lang.String toString()
toString in class java.lang.Enum<Category>