org.olat.course.assessment
Class AssessedIdentityWrapper

java.lang.Object
  extended by org.olat.course.assessment.AssessedIdentityWrapper

public class AssessedIdentityWrapper
extends java.lang.Object

Initial Date: Jun 23, 2004

Author:
gnaegi Comment: Wrapper class that contains an identity and the associated score, attempts and oder variables that should be displayed in the user list table.

Constructor Summary
AssessedIdentityWrapper(UserCourseEnvironment userCourseEnvironment, java.lang.Integer nodeAttempts, java.lang.String detailsListView)
          Constructor for this identity wrapper object.
 
Method Summary
 java.lang.String getDetailsListView()
           
 Identity getIdentity()
          Shortcut to get the identity from the course environment
 java.lang.Integer getNodeAttempts()
           
 UserCourseEnvironment getUserCourseEnvironment()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssessedIdentityWrapper

public AssessedIdentityWrapper(UserCourseEnvironment userCourseEnvironment,
                               java.lang.Integer nodeAttempts,
                               java.lang.String detailsListView)
Constructor for this identity wrapper object. Wraps an identity with its score and passed values

Parameters:
userCourseEnvironment - the users course environment
nodeAttempts - the users node attempts for the current node
detailsListView - the users details for this node
Method Detail

getUserCourseEnvironment

public UserCourseEnvironment getUserCourseEnvironment()
Returns:
Returns the userCourseEnvironment.

getIdentity

public Identity getIdentity()
Shortcut to get the identity from the course environment

Returns:
the identity

getDetailsListView

public java.lang.String getDetailsListView()
Returns:
the users details for the current node

getNodeAttempts

public java.lang.Integer getNodeAttempts()
Returns:
the users node attempts for the current node