org.sakaiproject.component.section.sakai
Class EnrollmentRecordImpl

java.lang.Object
  extended by org.sakaiproject.component.section.sakai.ParticipationRecordImpl
      extended by org.sakaiproject.component.section.sakai.EnrollmentRecordImpl
All Implemented Interfaces:
Serializable, EnrollmentRecord, ParticipationRecord

public class EnrollmentRecordImpl
extends ParticipationRecordImpl
implements EnrollmentRecord, Serializable

A detachable EnrollmentRecord for persistent storage.

Author:
Josh Holtzman
See Also:
Serialized Form

Field Summary
protected  String status
           
 
Fields inherited from class org.sakaiproject.component.section.sakai.ParticipationRecordImpl
learningContext, user, userUid
 
Constructor Summary
EnrollmentRecordImpl()
          No-arg constructor needed for hibernate
EnrollmentRecordImpl(LearningContext learningContext, String status, User user)
           
 
Method Summary
 Role getRole()
          Returns null, since this is an unknown type of participant
 String getStatus()
          Gets the status of the enrollment.
 void setStatus(String status)
           
 
Methods inherited from class org.sakaiproject.component.section.sakai.ParticipationRecordImpl
equals, getLearningContext, getUser, getUserUid, hashCode, setLearningContext, setUserUid, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.section.api.coursemanagement.ParticipationRecord
getLearningContext, getUser
 

Field Detail

status

protected String status
Constructor Detail

EnrollmentRecordImpl

public EnrollmentRecordImpl()
No-arg constructor needed for hibernate


EnrollmentRecordImpl

public EnrollmentRecordImpl(LearningContext learningContext,
                            String status,
                            User user)
Method Detail

getRole

public Role getRole()
Description copied from class: ParticipationRecordImpl
Returns null, since this is an unknown type of participant

Specified by:
getRole in interface ParticipationRecord
Overrides:
getRole in class ParticipationRecordImpl
Returns:

getStatus

public String getStatus()
Description copied from interface: EnrollmentRecord
Gets the status of the enrollment.

Specified by:
getStatus in interface EnrollmentRecord
Returns:

setStatus

public void setStatus(String status)


Copyright © 2011 Sakai Project. All Rights Reserved.