Builder to construct an Indexable
for a music album.
For reference, see: //schema.org/MusicAlbum.
Public Method Summary
MusicAlbumBuilder | |
MusicAlbumBuilder |
setNumTracks(int numTracks)
Sets the number of tracks in this music album.
|
MusicAlbumBuilder |
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Public Methods
public MusicAlbumBuilder setByArtist (MusicGroupBuilder artist)
Sets the artist who performed this album.
Parameters
artist | The artist who performed the album. |
---|
public MusicAlbumBuilder setNumTracks (int numTracks)
Sets the number of tracks in this music album.
Parameters
numTracks | The number of tracks in this music album. |
---|
public MusicAlbumBuilder setTrack (MusicRecordingBuilder... tracks)
Sets the tracks in this music album.
Parameters
tracks | The tracks in this music album. |
---|