Merge branch 'master' into next
[Sone.git] / src / main / java / net / pterodactylus / sone / database / AlbumBuilder.java
index b888828..f0b19cb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AlbumBuilder.java - Copyright © 2013 David Roden
+ * Sone - AlbumBuilder.java - Copyright © 2013–2015 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
 package net.pterodactylus.sone.database;
 
 import net.pterodactylus.sone.data.Album;
+import net.pterodactylus.sone.data.Sone;
 
 /**
  * Builder for {@link Album} objects.
@@ -42,6 +43,8 @@ public interface AlbumBuilder {
         */
        AlbumBuilder withId(String id);
 
+       AlbumBuilder by(Sone sone);
+
        /**
         * Creates the album.
         *