Home | Trees | Index | Help |
---|
Package musicbrainz2 :: Module wsxml :: Class ArtistResult |
|
object
--+
|
ArtistResult
Represents an artist result.
An ArtistResult consists of a score and an artist. The score is a number between 0 and 100, where a higher number indicates a better match.Method Summary | |
---|---|
__init__(self,
artist,
score)
| |
Returns an Artist object. | |
Returns the result score. | |
setArtist(self,
artist)
| |
setScore(self,
score)
| |
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 | |
---|---|
artist : An Artist object. | |
score : The relevance score. |
Method Details |
---|
getArtist(self)Returns an Artist object.
|
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.
|
Property Details |
---|
artistAn Artist object. |
scoreThe relevance score. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Dec 20 18:19:28 2006 | http://epydoc.sf.net |