Class MusicBrainz::Model::Individual
In: lib/rbrainz/model/individual.rb
Parent: Entity

Superclass for Artist and Label.

Aggregates the common attributes of artists and labels.

Methods

begin_date=   end_date=   new   to_s   unique_name  

Included Modules

Rateable Relateable Taggable

Attributes

aliases  [R]  Collection of alternate names, including possible typos.
begin_date  [R]  The begin date is interpreted differently for bands, individual artists and labels. For bands and labels this is the founding date, for individual artists it is the date of birth. The begin date is an instance of IncompleteDate.
disambiguation  [RW]  Field to distinguish between identically named artists or labels.
end_date  [R]  The end date is interpreted differently for bands, individual artists and labels. For bands and labels this is the breakup date, for individual artists it is the date of death. The end date is an instance of IncompleteDate.
name  [RW]  The name of the artist or label.
releases  [R]  A Collection of releases of this artist or label.

This may also include releases where this artist isn‘t the main artist but has just contributed one or more tracks (aka VA-Releases).

sort_name  [RW]  Name used for sorting (e.g. "White Stripes, The").
type  [RW]  The type of this artist or label. See the constants defined in Artist and Label for a list of possible types.

Public Class methods

Public Instance methods

Set the begin date of this individual to date.

Should be an IncompleteDate object or a date string, which will get converted into an IncompleteDate.

Set the end date of this individual to date.

Should be an IncompleteDate object or a date string, which will get converted into an IncompleteDate.

Returns the string representation for this individual.

Returns unique_name converted into a string.

Returns a unique name for the individual (using disambiguation).

The unique name ist the individual‘s name together with the disambiguation attribute in parenthesis if it exists.

Example:‘Paradise Lost (British metal / hard rock band)’.

[Validate]