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 URLgetAPIURL()StringgetArtist()LonggetArtistId()AudioArtwork[]getArtworks()intgetDiscCount()Map<String,?>getDocument()Set<String>getFormat()StringgetGenre()LonggetId()Image[]getImages()AudioSong.InstrumentationgetInstrumentation()longgetMainRelease()StringgetName()StringgetPrimaryImageURI()intgetReleaseYear()List<String>getSecondaryImageURIs()intgetTrackCount(int discNumber)List<DiscogsTrack>getTracks()List<DiscogsTrack>getTracks(int discNumber)StringgetType()List<DiscogsVideo>getVideos()StringgetWebURI()URLgetWebURL()booleanisCompilation()voidsetWebURI(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:
getAPIURLin interfaceDiscogsObject
-
getWebURL
public URL getWebURL()
- Specified by:
getWebURLin interfaceDiscogsObject
-
getTracks
public List<DiscogsTrack> getTracks()
-
getTracks
public List<DiscogsTrack> getTracks(int discNumber)
-
getId
public Long getId()
- Specified by:
getIdin interfaceDiscogsObject
-
getName
public String getName()
- Specified by:
getNamein 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()
-
-