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: LabelProcessInfo.java$
021: * $FileID: 4152$
022: *
023: * Last change:
024: * $AuthorName: Rob MacGrogan$
025: * $Date: 9/1/03 4:41 PM$
026: * $Comment: Added build change list property.$
027: */
028:
029: package org.sourcejammer.client.gui.process.info;
030:
031: import java.io.File;
032:
033: /**
034: * Title: $FileName: LabelProcessInfo.java$
035: * @version $VerNum: 3$
036: * @author $AuthorName: Rob MacGrogan$<br><br>
037: *
038: * $Description: Contains Process info for processes that
039: * operate on Labeled Versions.$<br>
040: * $KeyWordsOff: $<br>
041: */
042: public class LabelProcessInfo {
043:
044: private long labelID = -1;
045: private int oldVersionNumber = -1;
046: private int newVersionNumber = -1;
047: private File targetFile = null;
048: private String description = null;
049: private int eolType = -1;
050: private long parentID = -1;
051: private String name = null;
052: private boolean buildChangeList = false;
053:
054: public LabelProcessInfo() {
055: }
056:
057: /**
058: * Returns the description.
059: * @return String
060: */
061: public String getDescription() {
062: return description;
063: }
064:
065: /**
066: * Returns the eolType.
067: * @return int
068: */
069: public int getEolType() {
070: return eolType;
071: }
072:
073: /**
074: * Returns the labelID.
075: * @return long
076: */
077: public long getLabelID() {
078: return labelID;
079: }
080:
081: /**
082: * Returns the newVersionNumber.
083: * @return int
084: */
085: public int getNewVersionNumber() {
086: return newVersionNumber;
087: }
088:
089: /**
090: * Returns the oldVersionNumber.
091: * @return int
092: */
093: public int getOldVersionNumber() {
094: return oldVersionNumber;
095: }
096:
097: /**
098: * Returns the targetFile.
099: * @return File
100: */
101: public File getTargetFile() {
102: return targetFile;
103: }
104:
105: /**
106: * Sets the description.
107: * @param description The description to set
108: */
109: public void setDescription(String description) {
110: this .description = description;
111: }
112:
113: /**
114: * Sets the eolType.
115: * @param eolType The eolType to set
116: */
117: public void setEolType(int eolType) {
118: this .eolType = eolType;
119: }
120:
121: /**
122: * Sets the labelID.
123: * @param labelID The labelID to set
124: */
125: public void setLabelID(long labelID) {
126: this .labelID = labelID;
127: }
128:
129: /**
130: * Sets the newVersionNumber.
131: * @param newVersionNumber The newVersionNumber to set
132: */
133: public void setNewVersionNumber(int newVersionNumber) {
134: this .newVersionNumber = newVersionNumber;
135: }
136:
137: /**
138: * Sets the oldVersionNumber.
139: * @param oldVersionNumber The oldVersionNumber to set
140: */
141: public void setOldVersionNumber(int oldVersionNumber) {
142: this .oldVersionNumber = oldVersionNumber;
143: }
144:
145: /**
146: * Sets the targetFile.
147: * @param targetFile The targetFile to set
148: */
149: public void setTargetFile(File targetFile) {
150: this .targetFile = targetFile;
151: }
152:
153: /**
154: * Returns the parentID.
155: * @return long
156: */
157: public long getParentID() {
158: return parentID;
159: }
160:
161: /**
162: * Sets the parentID.
163: * @param parentID The parentID to set
164: */
165: public void setParentID(long parentID) {
166: this .parentID = parentID;
167: }
168:
169: /**
170: * Returns the name.
171: * @return String
172: */
173: public String getName() {
174: return name;
175: }
176:
177: /**
178: * Sets the name.
179: * @param name The name to set
180: */
181: public void setName(String name) {
182: this .name = name;
183: }
184:
185: /**
186: * Returns the buildChangeList.
187: * @return boolean
188: */
189: public boolean isBuildChangeList() {
190: return buildChangeList;
191: }
192:
193: /**
194: * Sets the buildChangeList.
195: * @param buildChangeList The buildChangeList to set
196: */
197: public void setBuildChangeList(boolean buildChangeList) {
198: this.buildChangeList = buildChangeList;
199: }
200:
201: }
|