* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.photos.model;
+import java.io.Serializable;
+
/**
- * Represents an entry inside a photo album.
+ * Represents an entry inside a photo album.
*/
-public interface PhotoEntry extends Comparable<PhotoEntry> {
-
- /**
- * Photo entry id.
- * @return Id of the entry.
- */
- String getId();
-
- /**
- * Gets the path of the given photo with respect to the
- * root album. The path will start with a "/".
- */
- String getPath();
+public interface PhotoEntry extends Comparable<PhotoEntry>, Serializable {
+
+ /**
+ * Photo entry id.
+ *
+ * @return Id of the entry.
+ */
+ String getId();
+
+ /**
+ * Gets the path of the given photo with respect to the root album. The path
+ * will start with a "/".
+ */
+ String getPath();
}