001    package org.apache.maven.scm.provider.synergy.util;
002    
003    /*
004     * Licensed to the Apache Software Foundation (ASF) under one
005     * or more contributor license agreements.  See the NOTICE file
006     * distributed with this work for additional information
007     * regarding copyright ownership.  The ASF licenses this file
008     * to you under the Apache License, Version 2.0 (the
009     * "License"); you may not use this file except in compliance
010     * with the License.  You may obtain a copy of the License at
011     *
012     * http://www.apache.org/licenses/LICENSE-2.0
013     *
014     * Unless required by applicable law or agreed to in writing,
015     * software distributed under the License is distributed on an
016     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017     * KIND, either express or implied.  See the License for the
018     * specific language governing permissions and limitations
019     * under the License.
020     */
021    
022    import java.util.Date;
023    
024    /**
025     * This class contains the different Synergy roles available.
026     *
027     * @author <a href="mailto:julien.henry@capgemini.com">Julien Henry</a>
028     * @version $Id: SynergyTask.java 685548 2008-08-13 13:35:49Z vsiveton $
029     */
030    public class SynergyTask
031    {
032    
033        private int number;
034    
035        private String username;
036    
037        private Date modifiedTime;
038    
039        private String comment;
040    
041        public SynergyTask()
042        {
043        }
044    
045        /**
046         * @return the comment
047         */
048        public String getComment()
049        {
050            return comment;
051        }
052    
053        /**
054         * @param comment the comment to set
055         */
056        public void setComment( String comment )
057        {
058            this.comment = comment;
059        }
060    
061        /**
062         * @return the modifiedTime
063         */
064        public Date getModifiedTime()
065        {
066            return modifiedTime;
067        }
068    
069        /**
070         * @param modifiedTime the modifiedTime to set
071         */
072        public void setModifiedTime( Date modifiedTime )
073        {
074            this.modifiedTime = modifiedTime;
075        }
076    
077        /**
078         * @return the number
079         */
080        public int getNumber()
081        {
082            return number;
083        }
084    
085        /**
086         * @param number the number to set
087         */
088        public void setNumber( int number )
089        {
090            this.number = number;
091        }
092    
093        /**
094         * @return the username
095         */
096        public String getUsername()
097        {
098            return username;
099        }
100    
101        /**
102         * @param username the username to set
103         */
104        public void setUsername( String username )
105        {
106            this.username = username;
107        }
108    
109    }