1 /***
2 * Copyright (C) 2008 Jeremy Thomerson (jthomerson@users.sourceforge.net)
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package net.sf.vcaperture.model;
18
19 import java.util.Date;
20
21 public class Revision {
22
23 private String mName;
24 private RepoFileRevision[] mFiles;
25 private String mCommitMessage;
26 private String mAuthor;
27 private Date mCommitDate;
28
29 public String getAuthor() {
30 return mAuthor;
31 }
32
33 public void setAuthor(String author) {
34 mAuthor = author;
35 }
36
37 public Date getCommitDate() {
38 return mCommitDate;
39 }
40
41 public void setCommitDate(Date commitDate) {
42 mCommitDate = commitDate;
43 }
44
45 public String getCommitMessage() {
46 return mCommitMessage;
47 }
48
49 public void setCommitMessage(String commitMessage) {
50 mCommitMessage = commitMessage;
51 }
52
53 public RepoFileRevision[] getFiles() {
54 return mFiles;
55 }
56
57 public void setFiles(RepoFileRevision[] files) {
58 mFiles = files;
59 }
60
61 public String getName() {
62 return mName;
63 }
64
65 public void setName(String name) {
66 mName = name;
67 }
68
69 }