Album getAlbum();
/**
- * Sets the album this image belongs to. The album of an image can only be
- * set once, and it is usually called by {@link Album#addImage(Image)}.
- *
- * @param album
- * The album this image belongs to
- * @return This image
- */
- Image setAlbum(Album album);
-
- /**
* Returns the request key of this image.
*
* @return The request key of this image
Modifier modify() throws IllegalStateException;
- interface Modifier {
+ void moveUp() throws IllegalStateException;
- Modifier setSone(Sone sone);
+ void moveDown() throws IllegalStateException;
- Modifier setCreationTime(long creationTime);
+ void remove() throws IllegalStateException;
+
+ interface Modifier {
Modifier setKey(String key);
Modifier setDescription(String description);
- Modifier setWidth(int width);
-
- Modifier setHeight(int height);
-
Image update() throws IllegalStateException;
}