Package se.michaelthelin.spotify.enums
Enum Class AlbumGroup
- All Implemented Interfaces:
- Serializable,- Comparable<AlbumGroup>,- java.lang.constant.Constable
Compare to [AlbumType] this field represents relationship between the artist and the album.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAlbum group type.Appears on group type.Compilation group type.Single group type.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiongetGroup()Get the album group as a string.static AlbumGroupGet an AlbumGroup by its type string.static AlbumGroupReturns the enum constant of this class with the specified name.static AlbumGroup[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ALBUMAlbum group type.
- 
APPEARS_ONAppears on group type.
- 
COMPILATIONCompilation group type.
- 
SINGLESingle group type.
 
- 
- 
Field Details- 
groupThe album group string.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
keyOfGet an AlbumGroup by its type string.- Parameters:
- type- The group type string.
- Returns:
- The corresponding AlbumGroup or null if not found.
 
- 
getGroupGet the album group as a string.- Returns:
- Album group as string.
 
 
-