/** * @return the exif:tags ExifTags for the photo. */ public ExifTags getExifTags() { return getExtension(ExifTags.class); }
/** * @return the comment count on the photo this item represents. */ public Integer getCommentCount() { GphotoCommentCount ext = getExtension(GphotoCommentCount.class); return ext == null ? null : ext.getValue(); }
/** * @return the gphoto:position of the photo. */ public Float getPosition() { GphotoPosition ext = getExtension(GphotoPosition.class); return ext == null ? null : ext.getValue(); }
/** * @return the gphoto:timestamp of the photo. */ public Date getTimestamp() { GphotoTimestamp ext = getExtension(GphotoTimestamp.class); return ext == null ? null : new Date(ext.getValue()); }
/** * @return date that the photo was featured. */ public Date getFeaturedDate() { GphotoFeaturedDate ext = getExtension(GphotoFeaturedDate.class); return ext == null ? null : new Date(ext.getValue()); }
/** * @return the gphoto:rotation of the photo. */ public Integer getRotation() { GphotoRotation ext = getExtension(GphotoRotation.class); return ext == null ? null : ext.getValue(); }
/** * @return the gphoto:size of the photo. */ public Long getSize() { GphotoSize ext = getExtension(GphotoSize.class); return ext == null ? null : ext.getValue(); }
/** * @return the gphoto:timestamp of the photo. */ public Date getTimestamp() { GphotoTimestamp ext = getExtension(GphotoTimestamp.class); return ext == null ? null : new Date(ext.getValue()); }
/** * @return the gphoto:width of the photo. */ public Long getWidth() { GphotoWidth ext = getExtension(GphotoWidth.class); return ext == null ? null : ext.getValue(); }
/** * @return the gphoto:position of the photo. */ public Float getPosition() { GphotoPosition ext = getExtension(GphotoPosition.class); return ext == null ? null : ext.getValue(); }
/** * @return date that the photo was featured. */ public Date getFeaturedDate() { GphotoFeaturedDate ext = getExtension(GphotoFeaturedDate.class); return ext == null ? null : new Date(ext.getValue()); }
/** * @return the gphoto:rotation of the photo. */ public Integer getRotation() { GphotoRotation ext = getExtension(GphotoRotation.class); return ext == null ? null : ext.getValue(); }
/** * @return the comment count on the photo this item represents. */ public Integer getCommentCount() { GphotoCommentCount ext = getExtension(GphotoCommentCount.class); return ext == null ? null : ext.getValue(); }
public Boolean isStarred() { GphotoStarred ext = getExtension(GphotoStarred.class); return ext == null ? null : ext.getValue(); }
/** * @return the access of the album that contains this photo. */ public String getAlbumAccess() { GphotoAccess access = getExtension(GphotoAccess.class); return access == null ? null : access.getValue().toLowerCase(); }
/** * @return the gphoto:height of the photo. */ public Long getHeight() { GphotoHeight ext = getExtension(GphotoHeight.class); return ext == null ? null : ext.getValue(); }
/** * @return the number of views for this photo. */ public Long getViewCount() { GphotoViewCount ext = getExtension(GphotoViewCount.class); return ext == null ? null : ext.getValue(); }
/** * @return the gphoto:size of the photo. */ public Long getSize() { GphotoSize ext = getExtension(GphotoSize.class); return ext == null ? null : ext.getValue(); }
/** * @return the number of views for this photo. */ public Long getViewCount() { GphotoViewCount ext = getExtension(GphotoViewCount.class); return ext == null ? null : ext.getValue(); }
public void setTotalStars(Integer totalStars) { GphotoStarred ext = getExtension(GphotoStarred.class); if (ext == null) { ext = new GphotoStarred(); setExtension(ext); } ext.setTotal(totalStars); }