001: /*
002: * Copyright (C) 2001-2003 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: CheckInFilesProcessInfo.java$
021: * $FileID: 4148$
022: *
023: * Last change:
024: * $AuthorName: Rob MacGrogan$
025: * $Date: 8/13/03 12:00 AM$
026: * $Comment: Complete implementation of branch file on checkin.$
027: */
028: package org.sourcejammer.client.gui.process.info;
029:
030: import org.sourcejammer.project.view.NodeInfo;
031: import org.sourcejammer.project.view.SJRequest;
032:
033: /**
034: * Title: $FileName: CheckInFilesProcessInfo.java$
035: * @version $VerNum: 6$
036: * @author $AuthorName: Rob MacGrogan$<br><br>
037: *
038: * $Description: $<br>
039: * $KeyWordsOff: $
040: */
041: public class CheckInFilesProcessInfo extends CheckOutFileProcessInfo {
042:
043: public CheckInFilesProcessInfo() {
044: }
045:
046: String comment;
047: String afterCheckInAction;
048: NodeInfo[] files = null;
049: boolean branchSharedFiles = false;
050: private String identifier = null;
051: private long parentID = -1;
052:
053: private SJRequest request = null;
054:
055: public String getComment() {
056: return comment;
057: }
058:
059: public void setComment(String comment) {
060: this .comment = comment;
061: }
062:
063: public void setAfterCheckInAction(String s) {
064: afterCheckInAction = s;
065: }
066:
067: public String getAfterCheckInAction() {
068: return afterCheckInAction;
069: }
070:
071: /**
072: * Returns the files.
073: * @return NodeInfo[]
074: */
075: public NodeInfo[] getFiles() {
076: return files;
077: }
078:
079: /**
080: * Sets the files.
081: * @param files The files to set
082: */
083: public void setFiles(NodeInfo[] files) {
084: this .files = files;
085: }
086:
087: /**
088: * Returns the request.
089: * @return SJRequest
090: */
091: public SJRequest getRequest() {
092: return request;
093: }
094:
095: /**
096: * Sets the request.
097: * @param request The request to set
098: */
099: public void setRequest(SJRequest request) {
100: this .request = request;
101: }
102:
103: /**
104: * Returns the branchSharedFiles.
105: * @return boolean
106: */
107: public boolean isBranchSharedFiles() {
108: return branchSharedFiles;
109: }
110:
111: /**
112: * Sets the branchSharedFiles.
113: * @param branchSharedFiles The branchSharedFiles to set
114: */
115: public void setBranchSharedFiles(boolean branchSharedFiles) {
116: this .branchSharedFiles = branchSharedFiles;
117: }
118:
119: /**
120: * Returns the identifier.
121: * @return String
122: */
123: public String getIdentifier() {
124: return identifier;
125: }
126:
127: /**
128: * Returns the parentID.
129: * @return long
130: */
131: public long getParentID() {
132: return parentID;
133: }
134:
135: /**
136: * Sets the identifier.
137: * @param identifier The identifier to set
138: */
139: public void setIdentifier(String identifier) {
140: this .identifier = identifier;
141: }
142:
143: /**
144: * Sets the parentID.
145: * @param parentID The parentID to set
146: */
147: public void setParentID(long parentID) {
148: this.parentID = parentID;
149: }
150:
151: }
|