// Path: src/com/guaranacode/android/fastpicasabrowser/storage/IStorableModel.java
// public interface IStorableModel {
// 	
// 	/**
// 	 * The URL to the resource.
// 	 * @return
// 	 */
// 	String getUrl();
// 	
// 	/**
// 	 * Get the directory in the application's path where we store files.
// 	 * @return
// 	 */
// 	String getDir();
// }
// 
// Path: src/com/guaranacode/android/fastpicasabrowser/util/StringUtils.java
// public class StringUtils {
// 
// 	/**
// 	 * Returns true if the string is null or contains only whitespace.
// 	 * 
// 	 * @param string
// 	 * @return
// 	 */
// 	public static boolean isNullOrEmpty(String string) {
// 		return (null == string) || (string.trim().length() == 0);
// 	}
// }


import com.google.api.client.util.Key;
import com.guaranacode.android.fastpicasabrowser.storage.IStorableModel;
import com.guaranacode.android.fastpicasabrowser.util.StringUtils;
package com.guaranacode.android.fastpicasabrowser.picasa.model;


/**
 * An album from the Picasa API feed.
 *
 * @author abe@guaranacode.com
 *
 */
public class AlbumEntry extends Entry implements IStorableModel {

	@Key("gphoto:access")
	public String access;

	@Key
	public Category category = Category.newKind("album");
	
	@Key("media:group")
	public MediaGroup mediaGroup;
	
	@Key("gphoto:id")
	public String albumId;
	
	public String thumbnailUrl;
	
	@Key
	public String updated;

	public String getUrl() {
// Path: src/com/guaranacode/android/fastpicasabrowser/storage/IStorableModel.java
// public interface IStorableModel {
// 	
// 	/**
// 	 * The URL to the resource.
// 	 * @return
// 	 */
// 	String getUrl();
// 	
// 	/**
// 	 * Get the directory in the application's path where we store files.
// 	 * @return
// 	 */
// 	String getDir();
// }
// 
// Path: src/com/guaranacode/android/fastpicasabrowser/util/StringUtils.java
// public class StringUtils {
// 
// 	/**
// 	 * Returns true if the string is null or contains only whitespace.
// 	 * 
// 	 * @param string
// 	 * @return
// 	 */
// 	public static boolean isNullOrEmpty(String string) {
// 		return (null == string) || (string.trim().length() == 0);
// 	}
// }


// Path: src/com/guaranacode/android/fastpicasabrowser/picasa/model/AlbumEntry.java
import com.google.api.client.util.Key;
import com.guaranacode.android.fastpicasabrowser.storage.IStorableModel;
import com.guaranacode.android.fastpicasabrowser.util.StringUtils;

package com.guaranacode.android.fastpicasabrowser.picasa.model;


/**
 * An album from the Picasa API feed.
 *
 * @author abe@guaranacode.com
 *
 */
public class AlbumEntry extends Entry implements IStorableModel {

	@Key("gphoto:access")
	public String access;

	@Key
	public Category category = Category.newKind("album");
	
	@Key("media:group")
	public MediaGroup mediaGroup;
	
	@Key("gphoto:id")
	public String albumId;
	
	public String thumbnailUrl;
	
	@Key
	public String updated;

	public String getUrl() {
		if(!StringUtils.isNullOrEmpty(thumbnailUrl)) {