01: /*
02: * Copyright (C) 2001, 2002 Robert MacGrogan
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2.1 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: *
18: *
19: * $Archive: SourceJammer$
20: * $FileName: File.java$
21: * $FileID: 4353$
22: *
23: * Last change:
24: * $AuthorName: Rob MacGrogan$
25: * $Date: 5/1/03 5:33 PM$
26: * $Comment: $
27: *
28: * $KeyWordsOff: $
29: */
30:
31: package org.sourcejammer.project.view;
32:
33: import org.sourcejammer.project.NodeList;
34: import org.sourcejammer.project.NodeIterator;
35:
36: /**
37: * Title: SourceJammer v 0.1.0
38: * Description:
39: * Copyright: Copyright (c) 2001
40: * Company:
41: * @author Robert MacGrogan
42: * @version $Revision: 1.3 $
43: */
44:
45: /**
46: * Represents info about File to share with client.
47: */
48: public class File extends Project {
49:
50: int miFileType;
51: long mlLatestVersionFileSize;
52: String msDescription;
53: private int miHistoryStorageType;
54:
55: public File() {
56: super ();
57: }
58:
59: public void setHistoryStorageType(int i) {
60: miHistoryStorageType = i;
61: }
62:
63: public int getHistoryStorageType() {
64: return miHistoryStorageType;
65: }
66:
67: public void setDescription(String s) {
68: msDescription = s;
69: }
70:
71: public String getDescription() {
72: return msDescription;
73: }
74:
75: public long getLatestVersionFileSize() {
76: return mlLatestVersionFileSize;
77: }
78:
79: public void setLatestVersionFileSize(long l) {
80: mlLatestVersionFileSize = l;
81: }
82:
83: public void setFileType(int i) {
84: miFileType = i;
85: }
86:
87: public int getFileType() {
88: return miFileType;
89: }
90:
91: }
|