View Javadoc
1   package org.apache.maven.scm.provider.synergy.util;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   * http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import java.util.Date;
23  
24  /**
25   * This class contains the different Synergy roles available.
26   *
27   * @author <a href="mailto:julien.henry@capgemini.com">Julien Henry</a>
28   *
29   */
30  public class SynergyTask
31  {
32  
33      private int number;
34  
35      private String username;
36  
37      private Date modifiedTime;
38  
39      private String comment;
40  
41      public SynergyTask()
42      {
43      }
44  
45      /**
46       * @return the comment
47       */
48      public String getComment()
49      {
50          return comment;
51      }
52  
53      /**
54       * @param comment the comment to set
55       */
56      public void setComment( String comment )
57      {
58          this.comment = comment;
59      }
60  
61      /**
62       * @return the modifiedTime
63       */
64      public Date getModifiedTime()
65      {
66          return modifiedTime;
67      }
68  
69      /**
70       * @param modifiedTime the modifiedTime to set
71       */
72      public void setModifiedTime( Date modifiedTime )
73      {
74          this.modifiedTime = modifiedTime;
75      }
76  
77      /**
78       * @return the number
79       */
80      public int getNumber()
81      {
82          return number;
83      }
84  
85      /**
86       * @param number the number to set
87       */
88      public void setNumber( int number )
89      {
90          this.number = number;
91      }
92  
93      /**
94       * @return the username
95       */
96      public String getUsername()
97      {
98          return username;
99      }
100 
101     /**
102      * @param username the username to set
103      */
104     public void setUsername( String username )
105     {
106         this.username = username;
107     }
108 
109 }