Package com.tagtraum.ubermusic.discogs
Class DiscogsRelease
- java.lang.Object
-
- com.tagtraum.ubermusic.discogs.DiscogsRelease
-
- All Implemented Interfaces:
DiscogsObject
public class DiscogsRelease extends Object implements DiscogsObject
Release.- Author:
- Hendrik Schreiber
- See Also:
DiscogsTrack
-
-
Constructor Summary
Constructors Constructor Description DiscogsRelease(Map<String,?> document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getAPIURL()
String
getArtist()
Long
getArtistId()
AudioArtwork[]
getArtworks()
int
getDiscCount()
Map<String,?>
getDocument()
Set<String>
getFormat()
String
getGenre()
Long
getId()
Image[]
getImages()
AudioSong.Instrumentation
getInstrumentation()
long
getMainRelease()
String
getName()
String
getPrimaryImageURI()
int
getReleaseYear()
List<String>
getSecondaryImageURIs()
int
getTrackCount(int discNumber)
List<DiscogsTrack>
getTracks()
List<DiscogsTrack>
getTracks(int discNumber)
String
getType()
List<DiscogsVideo>
getVideos()
String
getWebURI()
URL
getWebURL()
boolean
isCompilation()
void
setWebURI(String webURI)
-
-
-
Method Detail
-
getVideos
public List<DiscogsVideo> getVideos()
-
getType
public String getType()
-
getMainRelease
public long getMainRelease()
-
isCompilation
public boolean isCompilation()
-
getInstrumentation
public AudioSong.Instrumentation getInstrumentation()
-
getWebURI
public String getWebURI()
-
setWebURI
public void setWebURI(String webURI)
-
getAPIURL
public URL getAPIURL()
- Specified by:
getAPIURL
in interfaceDiscogsObject
-
getWebURL
public URL getWebURL()
- Specified by:
getWebURL
in interfaceDiscogsObject
-
getTracks
public List<DiscogsTrack> getTracks()
-
getTracks
public List<DiscogsTrack> getTracks(int discNumber)
-
getId
public Long getId()
- Specified by:
getId
in interfaceDiscogsObject
-
getName
public String getName()
- Specified by:
getName
in interfaceDiscogsObject
-
getPrimaryImageURI
public String getPrimaryImageURI()
-
getImages
public Image[] getImages()
-
getArtworks
public AudioArtwork[] getArtworks()
-
getReleaseYear
public int getReleaseYear()
-
getTrackCount
public int getTrackCount(int discNumber)
-
getDiscCount
public int getDiscCount()
-
getGenre
public String getGenre()
-
getArtist
public String getArtist()
-
getArtistId
public Long getArtistId()
-
-