X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fwamblee%2Fphotos%2Fmodel%2FPhotoEntry.java;h=11c2f485eff10f2281731f3577ba8dcf1390d3c2;hb=be2dfde47261118e3f67f1c100bb935bc0a1b581;hp=b360eafe9235fa36c55375ad11e538635cd491d8;hpb=f3e05888d09a2d39375639b056d8e9093e00668b;p=photos diff --git a/src/main/java/org/wamblee/photos/model/PhotoEntry.java b/src/main/java/org/wamblee/photos/model/PhotoEntry.java index b360eaf..11c2f48 100644 --- a/src/main/java/org/wamblee/photos/model/PhotoEntry.java +++ b/src/main/java/org/wamblee/photos/model/PhotoEntry.java @@ -12,23 +12,26 @@ * 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 { - - /** - * 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, 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(); }