001: /*
002: * Copyright (C) 2001, 2002 Robert MacGrogan
003: *
004: * This library is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU Lesser General Public
006: * License as published by the Free Software Foundation; either
007: * version 2.1 of the License, or (at your option) any later version.
008: *
009: * This library is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012: * Lesser General Public License for more details.
013: *
014: * You should have received a copy of the GNU Lesser General Public
015: * License along with this library; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
017: *
018: *
019: * $Archive: SourceJammer$
020: * $FileName: DownloadFileIdentifier.java$
021: * $FileID: 4351$
022: *
023: * Last change:
024: * $AuthorName: Rob MacGrogan$
025: * $Date: 5/1/03 5:33 PM$
026: * $Comment: $
027: *
028: * $KeyWordsOff: $
029: */
030:
031: package org.sourcejammer.project.view;
032:
033: /**
034: * Title: SourceJammer 1.2
035: * Description:
036: * Copyright: Copyright (c) 2002
037: * Company: SourceJammer Project
038: * @author Robert MacGrogan
039: * @version 1.0
040: */
041:
042: public class DownloadFileIdentifier {
043:
044: private String archiveName = null;
045: private String location = null;
046: private long uniqueID = -1;
047: private long sessionID = -1;
048: private long fileSize = -1;
049:
050: public DownloadFileIdentifier() {
051: }
052:
053: public void setArchiveName(String s) {
054: archiveName = s;
055: }
056:
057: public String getArchiveName() {
058: return archiveName;
059: }
060:
061: public void setLocation(String s) {
062: location = s;
063: }
064:
065: public String getLocation() {
066: return location;
067: }
068:
069: public void setUniqueID(long l) {
070: uniqueID = l;
071: }
072:
073: public long getUniqueID() {
074: return uniqueID;
075: }
076:
077: public void setSessionID(long l) {
078: sessionID = l;
079: }
080:
081: public long getSessionID() {
082: return sessionID;
083: }
084:
085: /**
086: * Returns the fileSize.
087: * @return long
088: */
089: public long getFileSize() {
090: return fileSize;
091: }
092:
093: /**
094: * Sets the fileSize.
095: * @param fileSize The fileSize to set
096: */
097: public void setFileSize(long fileSize) {
098: this.fileSize = fileSize;
099: }
100:
101: }
|