All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alogient.cameleon.sdk.content.model.ImageModel Maven / Gradle / Ivy

The newest version!
package com.alogient.cameleon.sdk.content.model;

import java.io.Serializable;

/**
 * Model representing an image
 * 
 * @author alord
 */
public class ImageModel implements Serializable {
    /**
     * Serial version unique identifier
     */
    private static final long serialVersionUID = -8292256499839724038L;

    /**
     * The image alternate text
     */
    private String alt;

    /**
     * The image file
     */
    private String file;

    /**
     * The image part id
     */
    private Integer partId;

    /**
     * Full ctor
     */
    public ImageModel(String alt, String file, Integer partId) {
        this.alt = alt;
        this.file = file;
        this.partId = partId;
    }

    /**
     * @return the alt
     */
    public String getAlt() {
        return alt;
    }

    /**
     * @param alt the alt to set
     */
    public void setAlt(String alt) {
        this.alt = alt;
    }

    /**
     * @return the file
     */
    public String getFile() {
        return file;
    }

    /**
     * @param file the file to set
     */
    public void setFile(String file) {
        this.file = file;
    }

    /**
     * @return the partId
     */
    public Integer getPartId() {
        return partId;
    }

    /**
     * @param partId the partId to set
     */
    public void setPartId(Integer partId) {
        this.partId = partId;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy