public class SDIRelease extends java.lang.Object implements Release
Modifier and Type | Class and Description |
---|---|
static interface |
SDIRelease.Composition
An mArtist is composed of the following methods
|
static class |
SDIRelease.SDIPrice |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SDIRelease> |
CREATOR |
Constructor and Description |
---|
SDIRelease() |
SDIRelease(SDIRelease.Composition composition) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
SDIArtist |
getArtist()
Get the mArtist of the track.
|
java.lang.String |
getArtistName() |
java.lang.String |
getBarcode() |
int |
getDuration() |
java.lang.String |
getExternalId() |
java.lang.Object |
getFormats() |
java.lang.String |
getImageUrl() |
SDIRelease.SDIPrice |
getPrice() |
java.util.Date |
getReleaseDate()
Get the date of this release
|
java.util.Date |
getStreamingReleaseDate() |
java.lang.String |
getTitle()
Get the title of the track.
|
int |
getTrackCount()
Get the number of tracks in this release
|
java.lang.String |
getType()
Get the type of this release.
|
java.lang.String |
getUrl() |
java.lang.String |
getVersion() |
int |
getYear()
Get the year of this release.
|
boolean |
isExplicitContent() |
java.lang.String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
void |
writeToParcel(android.os.Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static android.os.Parcelable.Creator<SDIRelease> CREATOR
public SDIRelease()
public SDIRelease(SDIRelease.Composition composition)
public java.lang.String getTitle()
Release
public SDIArtist getArtist()
Release
public java.lang.String getArtistName()
getArtistName
in interface Release
public java.lang.String getExternalId()
public java.lang.String getVersion()
public java.lang.String getType()
Release
public java.lang.String getBarcode()
public int getYear()
Release
public boolean isExplicitContent()
public java.lang.String getUrl()
public java.lang.String getImageUrl()
public java.util.Date getReleaseDate()
Release
getReleaseDate
in interface Release
public SDIRelease.SDIPrice getPrice()
public java.lang.Object getFormats()
public java.util.Date getStreamingReleaseDate()
public int getDuration()
public int getTrackCount()
Release
getTrackCount
in interface Release
public int describeContents()
android.os.Parcelable
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
android.os.Parcelable
writeToParcel
in interface android.os.Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public java.lang.String toString()
java.lang.Object
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.
toString
in class java.lang.Object