ImageRow.java 2.58 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
package com.theta.view;

/**
 * Line object for list when photo list is displayed
 */
public class ImageRow {

	private String fileId;
	private long fileSize;
	private boolean isPhoto;
	private byte[] thumbnail;
	private String fileName;
	private String captureDate;
	private boolean isTransferred;
    /**
     * Identifier value acquisition method for photo object
     * @return Handle value for photo object
     */
	public String getFileId() {
		return fileId;
	}

    /**
     * Identifier value setting method for photo object
     * @param fileId identifier value for photo object
     */
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	/**
	 * Acquire file size
	 * @return File size
	 */
	public long getFileSize() {
		return fileSize;
	}

	/**
	 * Set file size
	 * @param fileSize File size
	 */
	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

    /**
     * Photo information feasibility value acquisition method
     * @return Photo information feasibility value
     */
	public boolean isPhoto() {
		return isPhoto;
	}

    /**
     * Photo information feasibility value setting method
     * @param isPhoto Photo information feasibility value
     */
	public void setIsPhoto(boolean isPhoto) {
		this.isPhoto = isPhoto;
	}

    /**
     * Thumbnail information acquisition method
     * @return Thumbnail information
     */
	public byte[] getThumbnail() {
		return thumbnail;
	}

    /**
     * Thumbnail information setting method
     * @param thumbnail Thumbnail information
     */
	public void setThumbnail(byte[] thumbnail) {
		this.thumbnail = thumbnail;
	}

    /**
     * File name acquisition method
     * @return File name
     */
	public String getFileName() {
		return fileName;
	}

    /**
     * File name setting method
     * @param fileName File name
     */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

    /**
     * Capture date and time acquisition method
     * @return Capture date and time
     */
	public String getCaptureDate() {
		return captureDate;
	}

    /**
     * Capture date and time setting method
     * @param captureDate Capture date and time
     */
	public void setCaptureDate(String captureDate) {
		this.captureDate = captureDate;
	}

	/**
	 * Photo Transferred value value acquisition method
	 * @return Photo Transferred value
	 */
	public boolean isTransferred() {
		return isTransferred;
	}

	/**
	 * Photo Transferred value value setting method
	 * @param isTransferred Photo Transferred value
	 */
	public void setIsTransferred(boolean isTransferred) {
		this.isTransferred = isTransferred;
	}
}