Home | Trees | Index | Help |
---|
Package musicbrainz2 :: Module wsxml :: Class TrackResult |
|
object
--+
|
TrackResult
Represents a track result.
A TrackResult consists of a score and a track. The score is a number between 0 and 100, where a higher number indicates a better match.Method Summary | |
---|---|
__init__(self,
track,
score)
| |
Returns the result score. | |
Returns a Track object. | |
setScore(self,
score)
| |
setTrack(self,
track)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Property Summary | |
---|---|
score : The relevance score. | |
track : A Track object. |
Method Details |
---|
getScore(self)Returns the result score. The score indicates how good this result matches the search parameters. The higher the value, the better the match.
|
getTrack(self)Returns a Track object.
|
Property Details |
---|
scoreThe relevance score. |
trackA Track object. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Dec 20 18:19:28 2006 | http://epydoc.sf.net |