*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public interface Album extends Identified, Fingerprintable {
+public interface Album extends Fingerprintable {
/** Compares two {@link Album}s by {@link #getTitle()}. */
Comparator<Album> TITLE_COMPARATOR = new Comparator<Album>() {
* @return The ID of this album
*/
String getId();
+ String getInternalId();
/**
* Returns the Sone this album belongs to.
Sone getSone();
/**
- * Sets the owner of the album. The owner can only be set as long as the
- * current owner is {@code null}.
- *
- * @param sone
- * The album owner
- * @return This album
- */
- Album setSone(Sone sone);
-
- /**
* Returns the nested albums.
*
* @return The nested albums
Album update() throws IllegalStateException;
+ class AlbumTitleMustNotBeEmpty extends IllegalStateException { }
+
}
}