Home | Trees | Index | Help |
---|
Package musicbrainz2 :: Module model :: Class ArtistAlias |
|
object
--+
|
ArtistAlias
Represents an artist alias.
An alias (the alias value) is a different representation of an artist's name. This may be a common misspelling or a transliteration (the alias type).
The alias script is interesting mostly for transliterations and indicates which script is used for the alias value. To represent the script, ISO-15924 script codes like 'Latn', 'Cyrl', or 'Hebr' are used.Method Summary | |
---|---|
Constructor. | |
Returns the alias script. | |
Returns the alias type. | |
Returns the alias. | |
Sets the alias script. | |
Sets the alias type. | |
Sets the alias. | |
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 | |
---|---|
script : The alias script. | |
type : The alias type. | |
value : The alias value. |
Method Details |
---|
__init__(self,
value=None,
type_=None,
script=None)
Constructor.
|
getScript(self)Returns the alias script.
|
getType(self)Returns the alias type.
|
getValue(self)Returns the alias.
|
setScript(self, script)Sets the alias script.
|
setType(self, type_)Sets the alias type.
|
setValue(self, value)Sets the alias.
|
Property Details |
---|
scriptThe alias script. |
typeThe alias type. |
valueThe alias value. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Aug 26 18:34:31 2006 | http://epydoc.sf.net |