/** * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.bricket.plugin.multibox.web; import java.io.Serializable; public class ImageObject implements Serializable { private String imageFilename; private String thumbnailFilename; private String title; private String sub; private String description; private int order; public ImageObject(String imageFilename, String thumbnailFilename, String title, String sub, String description, int order) { super(); this.imageFilename = imageFilename; this.thumbnailFilename = thumbnailFilename; this.title = title; this.sub = sub; this.description = description; this.order = order; } public String getImageFilename() { return imageFilename; } public String getThumbnailFilename() { return thumbnailFilename; } public String getTitle() { return title; } public String getSub() { return sub; } public String getDescription() { return description; } public int getOrder() { return order; } @Override public String toString() { return String.format( "ImageObject [imageFilename=%s, thumbnailFilename=%s, title=%s, sub=%s, description=%s, order=%s]", imageFilename, thumbnailFilename, title, sub, description, order); } }