/** * @return the gphoto:client of the photo. */ public String getClient() { return getSimpleValue(GphotoClient.class); }
/** * @return the albumId of the album this comment is on. */ public String getAlbumId() { return getSimpleValue(GphotoAlbumId.class); }
/** * Set the exif tags on the photo this item is about. * * @param tags the exif tags for the photo. */ public void setExifTags(ExifTags tags) { if (tags != null) { setExtension(tags); } else { removeExtension(ExifTags.class); } }
/** * Construct a new {@code GphotoFeed} instance parameterized to contain the * given {@code GphotoEntry} type. This should be used by subclasses to set up * subclassed entry types as needed. */ protected GphotoFeed(Class<? extends GphotoEntry> entryClass) { super(entryClass); this.delegate = new GphotoDataImpl(this); }
/** * @return the location of the album this entry represents. */ public String getLocation() { return getSimpleValue(GphotoLocation.class); }
/** * @return the exif:tags ExifTags for the photo. */ public ExifTags getExifTags() { return getExtension(ExifTags.class); }
/** * Construct an exif tag of <ns:name>value</ns:name>. */ public ExifTag(String name, String value) { super(Namespaces.EXIF_NAMESPACE, name, null, value); this.name = name; setRequired(false); }
/** * @return the thumbnail for the user this item represents. */ public String getThumbnail() { return getSimpleValue(GphotoThumbnail.class); }
/** * Construct a new {@code GphotoFeed} instance parameterized to contain the * given {@code GphotoEntry} subclass. The base state of the feed will be * drawn from the passed in {@code BaseFeed} instance. This constructor should * be used by subclasses to change the entry type supported by the feed. */ protected GphotoFeed(Class<? extends GphotoEntry> entryClass, BaseFeed sourceFeed) { super(entryClass, sourceFeed); this.delegate = new GphotoDataImpl(this); }
/** * @return the gphoto:client of the photo. */ public String getClient() { return getSimpleValue(GphotoClient.class); }
/** * @return the nickname of the owner of the album this entry represents. */ public String getNickname() { return getSimpleValue(GphotoNickname.class); }
/** * @return the exif:tags ExifTags for the photo. */ public ExifTags getExifTags() { return getExtension(ExifTags.class); }
/** * Construct an exif tag of <ns:name>value</ns:name>. */ public ExifTag(String name, String value) { super(Namespaces.EXIF_NAMESPACE, name, null, value); this.name = name; setRequired(false); }
/** * Constructs a new entry instance using the source for a shallow copy. */ protected GphotoEntry(BaseEntry<?> sourceEntry) { super(sourceEntry); this.delegate = new GphotoDataImpl(this); }
/** * @return the gphoto:albumId of the photo. */ public String getAlbumId() { return getSimpleValue(GphotoAlbumId.class); }
/** * @return the username of the owner of the album this entry represents. */ public String getUsername() { return getSimpleValue(GphotoUsername.class); }
/** * Constructs a new Entry instance. */ public GphotoEntry() { super(); this.delegate = new GphotoDataImpl(this); }
/** * @return the gphoto:videostatus of the video/photo. */ public String getVideoStatus() { return getSimpleValue(GphotoVideoStatus.class); }
/** * Constructs a new entry instance using the source for a shallow copy. */ protected GphotoEntry(BaseEntry<?> sourceEntry) { super(sourceEntry); this.delegate = new GphotoDataImpl(this); }
/** * Constructs a new Entry instance. */ public GphotoEntry() { super(); this.delegate = new GphotoDataImpl(this); }