public enum AlbumGroup extends Enum<AlbumGroup>
| Enum Constant and Description |
|---|
ALBUM |
APPEARS_ON |
COMPILATION |
SINGLE |
| Modifier and Type | Method and Description |
|---|---|
String |
getGroup()
Get the album group as a string.
|
static AlbumGroup |
keyOf(String type) |
static AlbumGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlbumGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlbumGroup ALBUM
public static final AlbumGroup APPEARS_ON
public static final AlbumGroup COMPILATION
public static final AlbumGroup SINGLE
public final String group
public static AlbumGroup[] values()
for (AlbumGroup c : AlbumGroup.values()) System.out.println(c);
public static AlbumGroup valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AlbumGroup keyOf(String type)
public String getGroup()
Copyright © 2020. All rights reserved.