Ignore:
Timestamp:
04/25/13 16:59:20 (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/treeifc/IUserSession.java

    r1146 r1177  
    1919/** 
    2020 * <p> 
    21  * TODO comment 
     21 * A user session represents task executions, i.e. a task instances of a specific user that were 
     22 * executed in a coherent manner. Therefore, they are an ordered list of task instances where 
     23 * the order denotes the order of the task executions. 
    2224 * </p> 
    2325 *  
     
    2729 
    2830    /** 
    29      * 
     31     * <p> 
     32     * returns the list of task instances executed in the represented session. 
     33     * </p> 
     34     *  
     35     * @return as described 
    3036     */ 
    3137    public List<ITaskInstance> getExecutedTasks(); 
    3238     
    3339    /** 
    34      * 
     40     * <p> 
     41     * compares the user session with another one. Two user sessions are only equal, if they 
     42     * contain the same number of task instances and if each task instance at each position is 
     43     * equal to the respective other session.  
     44     * </p> 
     45     *  
     46     * @param userSession the session to compare the session to 
     47     *  
     48     * @return true if both sessions are equal, false else 
    3549     */ 
    3650    public boolean equals(IUserSession userSession); 
    3751 
    3852    /** 
    39      * 
     53     * <p> 
     54     * returns a hash code for the session to be able to store the session in a hash map. 
     55     * </p> 
     56     *  
     57     * @return as described 
    4058     */ 
    4159    public int hashCode(); 
    4260 
    4361    /** 
    44      * 
     62     * <p> 
     63     * clones a user session by creating exact clones of each contained instance in their order 
     64     * </p> 
     65     *  
     66     * @return a clone of the session 
    4567     */ 
    4668    public IUserSession clone(); 
Note: See TracChangeset for help on using the changeset viewer.