//////////// Start Photo class //////////////
// A POD with the kind of information about a photo that could be found in the Picasa Data API

function Photo(filename, id, keywords, photoURL, smallPhotoURL, thumbURL, thumbWidth, thumbHeight, caption)
{
    this._filename = filename;
    this._id = id;
    this._keywords = keywords; //An array of tag strings
    this._photoURL = photoURL;
    this._smallPhotoURL = smallPhotoURL;
    this._thumbURL = thumbURL;
    this._thumbWidth = thumbWidth;
    this._thumbHeight = thumbHeight;
    this._caption = caption;
}

Photo.prototype._filename;
Photo.prototype._keywords;
Photo.prototype._photoURL;
Photo.prototype._thumbURL;
Photo.prototype._thumbWidth;
Photo.prototype._thumbHeight;
Photo.prototype._preloadedThumb;
Photo.prototype._caption;

Photo.prototype.getFilename = function() 
{
    return this._filename;
}
Photo.prototype.getId = function() 
{
    return this._id;
}
Photo.prototype.getKeywords = function() 
{
    return this._keywords;
}
Photo.prototype.getPhotoURL = function() 
{
    return this._photoURL;
}
Photo.prototype.getSmallPhotoURL = function() 
{
    return this._smallPhotoURL;
}
Photo.prototype.getThumbURL = function() 
{
    return this._thumbURL;
}
Photo.prototype.getThumbWidth = function() 
{
    return this._thumbWidth;
}
Photo.prototype.getThumbHeight = function() 
{
    return this._thumbHeight;
}
Photo.prototype.getCaption = function() 
{
    return this._caption;
}
Photo.prototype.setPreloadedThumb = function(imageObj) 
{
    this._preloadedThumb = imageObj;
}
Photo.prototype.getPreloadedThumb = function() 
{
    return this._preloadedThumb;
}

////////////// End Photo class ////////////////

