Ignore:
Timestamp:
05/27/13 15:52:39 (11 years ago)
Author:
pharms
Message:
  • improved java doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/TaskModel.java

    r1146 r1216  
    3030 
    3131/** 
    32  * TODO comment 
     32 * <p> 
     33 * this is the default implementation of the interface {@link ITaskModel}. It 
     34 * does not do anything fancy except implementing the interface. 
     35 * </p> 
    3336 *  
    34  * @version $Revision: $ $Date: 21.02.2012$ 
    35  * @author 2012, last modified by $Author: patrick$ 
     37 * @author Patrick Harms 
    3638 */ 
    3739class TaskModel implements ITaskModel { 
    3840     
    39     /**  */ 
     41    /** 
     42     * <p> 
     43     * default serial version UID 
     44     * </p> 
     45     */ 
    4046    private static final long serialVersionUID = 1L; 
    4147 
    42     /** the map of tasks */ 
     48    /** 
     49     * <p> 
     50     * the user sessions belonging to the model 
     51     * </p> 
     52     */ 
    4353    private List<IUserSession> userSessions; 
    4454 
    45     /** the map of tasks */ 
     55    /** 
     56     * <p> 
     57     * the tasks contained in the user session belonging to the model as well as statistical infos 
     58     * about them 
     59     * </p> 
     60     */ 
    4661    private Map<ITask, TaskInfo> taskMap = new HashMap<ITask, TaskInfo>(); 
    4762 
    4863    /** 
    49      * 
     64     * <p> 
     65     * initializes the task model with the user sessions out of which the tasks are extracted 
     66     * </p> 
     67     *  
     68     * @param userSessions as described 
    5069     */ 
    5170    TaskModel(List<IUserSession> userSessions) { 
     
    83102 
    84103    /* (non-Javadoc) 
    85      * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel#getTaskInfo(de.ugoe.cs.autoquest.tasktrees.treeifc.ITask) 
     104     * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel#getTaskInfo(ITask) 
    86105     */ 
    87106    @Override 
     
    90109    } 
    91110 
     111    /* (non-Javadoc) 
     112     * @see java.lang.Object#clone() 
     113     */ 
     114    @Override 
     115    public TaskModel clone() { 
     116        return new TaskModel(userSessions); 
     117    } 
     118 
    92119    /** 
    93      * 
     120     * <p> 
     121     * internal convenience method to build the task model during initialization 
     122     * </p> 
    94123     */ 
    95124    private void addTaskToMap(ITask task) { 
     
    111140    } 
    112141 
    113     /* 
    114      * (non-Javadoc) 
    115      *  
    116      * @see java.lang.Object#clone() 
    117      */ 
    118     @Override 
    119     public TaskModel clone() { 
    120         return new TaskModel(userSessions); 
    121     } 
    122  
    123142} 
Note: See TracChangeset for help on using the changeset viewer.