|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.osid.questionpool.impl.QuestionPoolImpl
public class QuestionPoolImpl
This class implements common methods for accessing a question pool. A question pool is defined as a centralized repository where questions are stored. They allow one to use the same question on multiple tests without duplicating data, and provide an assessment-independent way to store questions.
| Constructor Summary | |
|---|---|
QuestionPoolImpl()
Creates a new QuestionPoolImpl object. |
|
QuestionPoolImpl(org.osid.shared.Id newId,
org.osid.shared.Id newParentId)
Constructor. |
|
| Method Summary | |
|---|---|
Serializable |
getData()
DOCUMENTATION PENDING |
String |
getDescription()
DOCUMENTATION PENDING |
String |
getDisplayName()
DOCUMENTATION PENDING |
org.osid.shared.Id |
getId()
DOCUMENTATION PENDING |
org.osid.shared.Id |
getParentId()
DOCUMENTATION PENDING |
QuestionPool |
getParentPool()
DOCUMENTATION PENDING |
org.osid.shared.Type |
getQuestionPoolType()
DOCUMENTATION PENDING |
void |
setDisplayName(String pdisplayName)
|
void |
setParentId(org.osid.shared.Id parentId)
Sets the parent id object for the question pool |
void |
setParentPool(QuestionPool parentPool)
|
void |
updateData(Serializable pdata)
DOCUMENTATION PENDING |
void |
updateDescription(String pdescription)
DOCUMENTATION PENDING |
void |
updateDisplayName(String pdisplayName)
DOCUMENTATION PENDING |
void |
updateQuestionPoolType(org.osid.shared.Type questionPoolType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuestionPoolImpl()
public QuestionPoolImpl(org.osid.shared.Id newId,
org.osid.shared.Id newParentId)
newId - the idnewParentId - the id of its parent| Method Detail |
|---|
public void updateDisplayName(String pdisplayName)
throws QuestionPoolException
QuestionPool
updateDisplayName in interface QuestionPoolpdisplayName - the display name for the question pool
QuestionPoolException
public void setDisplayName(String pdisplayName)
throws QuestionPoolException
QuestionPoolException
public void updateDescription(String pdescription)
throws QuestionPoolException
QuestionPool
updateDescription in interface QuestionPoolpdescription - the description for the question pool
QuestionPoolException
public void updateData(Serializable pdata)
throws QuestionPoolException
QuestionPool
updateData in interface QuestionPoolpdata - the extra data member for the question pool
QuestionPoolException
public String getDisplayName()
throws QuestionPoolException
QuestionPool
getDisplayName in interface QuestionPoolQuestionPoolException
public String getDescription()
throws QuestionPoolException
QuestionPool
getDescription in interface QuestionPoolQuestionPoolException
public org.osid.shared.Id getId()
throws QuestionPoolException
getId in interface QuestionPoolQuestionPoolException - DOCUMENTATION PENDING
public org.osid.shared.Type getQuestionPoolType()
throws QuestionPoolException
QuestionPool
getQuestionPoolType in interface QuestionPoolQuestionPoolException
public void updateQuestionPoolType(org.osid.shared.Type questionPoolType)
throws QuestionPoolException
QuestionPoolException
public Serializable getData()
throws QuestionPoolException
QuestionPool
getData in interface QuestionPoolQuestionPoolException
public org.osid.shared.Id getParentId()
throws QuestionPoolException
QuestionPool
getParentId in interface QuestionPoolQuestionPoolException
public void setParentId(org.osid.shared.Id parentId)
throws QuestionPoolException
setParentId in interface QuestionPoolQuestionPoolException
public QuestionPool getParentPool()
throws QuestionPoolException
QuestionPool
getParentPool in interface QuestionPoolQuestionPoolExceptionpublic void setParentPool(QuestionPool parentPool)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||