com.github.henkexbg.gallery.controller.model.GalleryDirectoryHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gallery-api Show documentation
Show all versions of gallery-api Show documentation
REST Webapp in Java for viewing a gallery of images and videos. Image rescaling as well as video transcoding is performed based on request parameters. No UI included. Purely API-based. Authentication via HTTP basic auth (per default). Supports different user roles.
package com.github.henkexbg.gallery.controller.model;
/**
* POJO defining one gallery directory. This directory will be sent back to the requesting
* entity (of course with possible transformation to for instance JSON).
*
* @author Henrik Bjerne
*
*/
public class GalleryDirectoryHolder {
private String name;
private String path;
private GalleryFileHolder image;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public GalleryFileHolder getImage() {
return image;
}
public void setImage(GalleryFileHolder image) {
this.image = image;
}
}