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: RemovedItem.java$
21: * $FileID: 4123$
22: *
23: * Last change:
24: * $AuthorName: Rob MacGrogan$
25: * $Date: 4/23/03 5:06 PM$
26: * $Comment: Replaced GPL header with LGPL header.$
27: */
28:
29: package org.sourcejammer.client.gui;
30:
31: /**
32: * Title: $FileName: RemovedItem.java$
33: * @version $VerNum: 3$
34: * @author $AuthorName: Rob MacGrogan$<br><br>
35: *
36: * $Description: $<br>
37: * $KeyWordsOff: $<br>
38: *
39: * Represents info about a removed item in a project.
40: */
41: public class RemovedItem {
42:
43: private int miNumber = -1;
44: private String msName = null;
45: private int nodeType = -1;
46:
47: public RemovedItem() {
48: }
49:
50: public void setNumber(int i) {
51: miNumber = i;
52: }
53:
54: public int getNumber() {
55: return miNumber;
56: }
57:
58: public void setName(String s) {
59: msName = s;
60: }
61:
62: public String getName() {
63: return msName;
64: }
65:
66: public String toString() {
67: return msName;
68: }
69:
70: /**
71: * Returns the nodeType.
72: * @return int
73: */
74: public int getNodeType() {
75: return nodeType;
76: }
77:
78: /**
79: * Sets the nodeType.
80: * @param nodeType The nodeType to set
81: */
82: public void setNodeType(int nodeType) {
83: this.nodeType = nodeType;
84: }
85:
86: }
|