public class SubtitleSearchResult extends Object implements Comparable<SubtitleSearchResult>
Constructor and Description |
---|
SubtitleSearchResult(String providerId) |
SubtitleSearchResult(String providerId,
float score) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SubtitleSearchResult arg0) |
String |
getId()
Get the id of this search result
|
String |
getProviderId()
Get the provider id
|
float |
getRating()
Get the rating of this search result
|
String |
getReleaseName()
Get the release name of this subtitle
|
float |
getScore()
Get the score of this search result.
|
String |
getTitle()
Get the title of this search result
|
String |
getUrl()
Get the url to this search result
|
void |
setId(String id)
Set the id of this search result
|
void |
setProviderId(String providerId)
Set the provider id
|
void |
setRating(float rating)
Set the rating to this search result
|
void |
setReleaseName(String releaseName)
Set the release name of this subtitle
|
void |
setScore(float score)
Set the score of this result
|
void |
setScore(Float score)
Set the score of this result (nullsafe)
|
void |
setTitle(String title)
Set the title of this search result
|
void |
setUrl(String url)
Set the url to this search result
|
String |
toString()
Uses
ReflectionToStringBuilder to generate a toString for the specified object. |
public SubtitleSearchResult(String providerId)
public SubtitleSearchResult(String providerId, float score)
public String getId()
public void setId(String id)
id
- the search result idpublic String getReleaseName()
public void setReleaseName(String releaseName)
releaseName
- the release namepublic String getProviderId()
public void setProviderId(String providerId)
providerId
- the provider idpublic String getTitle()
public void setTitle(String title)
title
- the titlepublic float getScore()
public void setScore(float score)
score
- the resultpublic void setScore(Float score)
score
- the resultpublic String getUrl()
public void setUrl(String url)
url
- the urlpublic float getRating()
public void setRating(float rating)
rating
- the ratingpublic int compareTo(SubtitleSearchResult arg0)
compareTo
in interface Comparable<SubtitleSearchResult>
Copyright © 2012–2017 tinyMediaManager. All rights reserved.