KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > core > EditorsInfo


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * CSC - Intial implementation
10  *******************************************************************************/

11 package org.eclipse.team.internal.ccvs.core;
12
13
14 /**
15  * Instances of EditorsInfo represent information for a CVS resurce that results
16  * from the cvs editors command.
17  *
18  * @author <a HREF="mailto:gregor.kohlwes@csc.com,kohlwes@gmx.net">Gregor Kohlwes</a>
19  */

20
21 public class EditorsInfo {
22     public EditorsInfo() {
23     }
24     
25     private String JavaDoc userName;
26     private String JavaDoc fileName;
27     private String JavaDoc dateString;
28     private String JavaDoc computerName;
29     
30
31     /**
32      * Returns the userName.
33      * @return String
34      */

35     public String JavaDoc getUserName() {
36         return userName;
37     }
38
39     /**
40      * Sets the userName.
41      * @param userName The userName to set
42      */

43     public void setUserName(String JavaDoc userName) {
44         this.userName = userName;
45     }
46
47     /**
48      * Returns the dateString.
49      * @return String
50      */

51     public String JavaDoc getDateString() {
52         return dateString;
53     }
54
55     /**
56      * Returns the fileName.
57      * @return String
58      */

59     public String JavaDoc getFileName() {
60         return fileName;
61     }
62
63     /**
64      * Sets the dateString.
65      * @param dateString The dateString to set
66      */

67     public void setDateString(String JavaDoc dateString) {
68         this.dateString = dateString;
69     }
70
71     /**
72      * Sets the fileName.
73      * @param fileName The fileName to set
74      */

75     public void setFileName(String JavaDoc fileName) {
76         this.fileName = fileName;
77     }
78
79     /**
80      * Returns the computerName.
81      * @return String
82      */

83     public String JavaDoc getComputerName() {
84         return computerName;
85     }
86
87     /**
88      * Sets the computerName.
89      * @param computerName The computerName to set
90      */

91     public void setComputerName(String JavaDoc computerName) {
92         this.computerName = computerName;
93     }
94
95 }
96
Popular Tags