Class QuestionPoolData
- java.lang.Object
-
- org.sakaiproject.tool.assessment.data.dao.questionpool.QuestionPoolData
-
- All Implemented Interfaces:
Serializable,Cloneable,QuestionPoolDataIfc
public class QuestionPoolData extends Object implements Serializable, QuestionPoolDataIfc, Cloneable
DOCUMENTATION PENDING- Version:
- $Id$
- Author:
- $author$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LongACCESS_DENIEDstatic LongADMINstatic LongDEFAULT_INTELLECTUAL_PROPERTYIDstatic LongDEFAULT_TYPEIDstatic LongREAD_COPYstatic LongREAD_ONLYstatic LongREAD_WRITEstatic LongROOT_POOL
-
Constructor Summary
Constructors Constructor Description QuestionPoolData()QuestionPoolData(Long poolId, String title)This is a cheap object created for holding just the Id & title.QuestionPoolData(Long poolId, String title, Long parentPoolId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddQuestionPoolItem(QuestionPoolItemIfc questionPoolItem)Objectclone()TypeIfcgetAccessType()LonggetAccessTypeId()DOCUMENTATION PENDINGDategetDateCreated()DOCUMENTATION PENDINGStringgetDescription()LonggetIntellectualPropertyId()DOCUMENTATION PENDINGStringgetKeywords()DOCUMENTATION PENDINGDategetLastModified()DOCUMENTATION PENDINGAgentDataIfcgetLastModifiedBy()StringgetLastModifiedById()StringgetObjectives()DOCUMENTATION PENDINGStringgetOrganizationName()DOCUMENTATION PENDINGAgentDataIfcgetOwner()StringgetOwnerId()LonggetParentPoolId()LonggetQuestionPoolId()SetgetQuestionPoolItems()IntegergetQuestionPoolItemSize()CollectiongetQuestions()DOCUMENTATION PENDINGIntegergetQuestionSize()StringgetRubric()DOCUMENTATION PENDINGLonggetSubPoolSize()StringgetTitle()TypeIfcgetType()LonggetTypeId()voidsetAccessType(TypeIfc accessType)voidsetAccessTypeId(Long accessTypeId)voidsetDateCreated(Date dateCreated)DOCUMENTATION PENDINGvoidsetDescription(String description)voidsetIntellectualProperty(String intellectualProperty)voidsetIntellectualPropertyId(Long intellectualPropertyId)DOCUMENTATION PENDINGvoidsetKeywords(String keywords)DOCUMENTATION PENDINGvoidsetLastModified(Date lastModified)DOCUMENTATION PENDINGvoidsetLastModifiedBy(AgentDataIfc lastModifiedBy)voidsetLastModifiedById(String lastModifiedById)voidsetObjectives(String objectives)DOCUMENTATION PENDINGvoidsetOrganizationName(String organizationName)DOCUMENTATION PENDINGvoidsetOwner(AgentDataIfc owner)voidsetOwnerId(String ownerId)voidsetParentPoolId(Long parentPoolId)voidsetQuestionPoolId(Long questionPoolId)voidsetQuestionPoolItems(Set questionPoolItems)voidsetQuestions(Collection items)DOCUMENTATION PENDINGvoidsetRubric(String rubric)DOCUMENTATION PENDINGvoidsetSubPoolSize(Long subPoolSize)voidsetTitle(String title)voidsetType(TypeIfc type)voidsetTypeId(Long typeId)
-
-
-
Field Detail
-
ACCESS_DENIED
public static final Long ACCESS_DENIED
-
READ_ONLY
public static final Long READ_ONLY
-
READ_COPY
public static final Long READ_COPY
-
READ_WRITE
public static final Long READ_WRITE
-
ADMIN
public static final Long ADMIN
-
DEFAULT_TYPEID
public static final Long DEFAULT_TYPEID
-
DEFAULT_INTELLECTUAL_PROPERTYID
public static final Long DEFAULT_INTELLECTUAL_PROPERTYID
-
ROOT_POOL
public static final Long ROOT_POOL
-
-
Constructor Detail
-
QuestionPoolData
public QuestionPoolData()
-
QuestionPoolData
public QuestionPoolData(Long poolId, String title)
This is a cheap object created for holding just the Id & title. This is used by the pulldown list in authoring when we only need the Id & title and nothing else. This object is not used for persistence.- Parameters:
poolId-title-
-
-
Method Detail
-
getQuestionPoolId
public Long getQuestionPoolId()
- Specified by:
getQuestionPoolIdin interfaceQuestionPoolDataIfc
-
setQuestionPoolId
public void setQuestionPoolId(Long questionPoolId)
- Specified by:
setQuestionPoolIdin interfaceQuestionPoolDataIfc
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceQuestionPoolDataIfc
-
setTitle
public void setTitle(String title)
- Specified by:
setTitlein interfaceQuestionPoolDataIfc
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceQuestionPoolDataIfc
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceQuestionPoolDataIfc
-
getParentPoolId
public Long getParentPoolId()
- Specified by:
getParentPoolIdin interfaceQuestionPoolDataIfc
-
setParentPoolId
public void setParentPoolId(Long parentPoolId)
- Specified by:
setParentPoolIdin interfaceQuestionPoolDataIfc
-
getOwnerId
public String getOwnerId()
- Specified by:
getOwnerIdin interfaceQuestionPoolDataIfc
-
setOwnerId
public void setOwnerId(String ownerId)
- Specified by:
setOwnerIdin interfaceQuestionPoolDataIfc
-
getOwner
public AgentDataIfc getOwner()
- Specified by:
getOwnerin interfaceQuestionPoolDataIfc
-
setOwner
public void setOwner(AgentDataIfc owner)
- Specified by:
setOwnerin interfaceQuestionPoolDataIfc
-
getDateCreated
public Date getDateCreated()
DOCUMENTATION PENDING- Specified by:
getDateCreatedin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setDateCreated
public void setDateCreated(Date dateCreated)
DOCUMENTATION PENDING- Specified by:
setDateCreatedin interfaceQuestionPoolDataIfc- Parameters:
dateCreated- DOCUMENTATION PENDING
-
getLastModified
public Date getLastModified()
DOCUMENTATION PENDING- Specified by:
getLastModifiedin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setLastModified
public void setLastModified(Date lastModified)
DOCUMENTATION PENDING- Specified by:
setLastModifiedin interfaceQuestionPoolDataIfc- Parameters:
lastModified- DOCUMENTATION PENDING
-
getLastModifiedById
public String getLastModifiedById()
- Specified by:
getLastModifiedByIdin interfaceQuestionPoolDataIfc
-
setLastModifiedById
public void setLastModifiedById(String lastModifiedById)
- Specified by:
setLastModifiedByIdin interfaceQuestionPoolDataIfc
-
getLastModifiedBy
public AgentDataIfc getLastModifiedBy()
- Specified by:
getLastModifiedByin interfaceQuestionPoolDataIfc
-
setLastModifiedBy
public void setLastModifiedBy(AgentDataIfc lastModifiedBy)
- Specified by:
setLastModifiedByin interfaceQuestionPoolDataIfc
-
getAccessTypeId
public Long getAccessTypeId()
DOCUMENTATION PENDING- Specified by:
getAccessTypeIdin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setAccessTypeId
public void setAccessTypeId(Long accessTypeId)
- Specified by:
setAccessTypeIdin interfaceQuestionPoolDataIfc
-
getAccessType
public TypeIfc getAccessType()
- Specified by:
getAccessTypein interfaceQuestionPoolDataIfc
-
setAccessType
public void setAccessType(TypeIfc accessType)
- Specified by:
setAccessTypein interfaceQuestionPoolDataIfc
-
getObjectives
public String getObjectives()
DOCUMENTATION PENDING- Specified by:
getObjectivesin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setObjectives
public void setObjectives(String objectives)
DOCUMENTATION PENDING- Specified by:
setObjectivesin interfaceQuestionPoolDataIfc- Parameters:
objectives- DOCUMENTATION PENDING
-
getKeywords
public String getKeywords()
DOCUMENTATION PENDING- Specified by:
getKeywordsin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setKeywords
public void setKeywords(String keywords)
DOCUMENTATION PENDING- Specified by:
setKeywordsin interfaceQuestionPoolDataIfc- Parameters:
newKeywords- DOCUMENTATION PENDING
-
getRubric
public String getRubric()
DOCUMENTATION PENDING- Specified by:
getRubricin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setRubric
public void setRubric(String rubric)
DOCUMENTATION PENDING- Specified by:
setRubricin interfaceQuestionPoolDataIfc- Parameters:
rubric- DOCUMENTATION PENDING
-
getTypeId
public Long getTypeId()
- Specified by:
getTypeIdin interfaceQuestionPoolDataIfc
-
setTypeId
public void setTypeId(Long typeId)
- Specified by:
setTypeIdin interfaceQuestionPoolDataIfc
-
getType
public TypeIfc getType()
- Specified by:
getTypein interfaceQuestionPoolDataIfc
-
setType
public void setType(TypeIfc type)
- Specified by:
setTypein interfaceQuestionPoolDataIfc
-
getIntellectualPropertyId
public Long getIntellectualPropertyId()
DOCUMENTATION PENDING- Specified by:
getIntellectualPropertyIdin interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setIntellectualPropertyId
public void setIntellectualPropertyId(Long intellectualPropertyId)
DOCUMENTATION PENDING- Specified by:
setIntellectualPropertyIdin interfaceQuestionPoolDataIfc- Parameters:
intellectualProperty- DOCUMENTATION PENDING
-
setIntellectualProperty
public void setIntellectualProperty(String intellectualProperty)
-
getOrganizationName
public String getOrganizationName()
DOCUMENTATION PENDING- Specified by:
getOrganizationNamein interfaceQuestionPoolDataIfc- Returns:
- DOCUMENTATION PENDING
-
setOrganizationName
public void setOrganizationName(String organizationName)
DOCUMENTATION PENDING- Specified by:
setOrganizationNamein interfaceQuestionPoolDataIfc- Parameters:
organizationName- DOCUMENTATION PENDING
-
getQuestionPoolItems
public Set getQuestionPoolItems()
- Specified by:
getQuestionPoolItemsin interfaceQuestionPoolDataIfc
-
setQuestionPoolItems
public void setQuestionPoolItems(Set questionPoolItems)
- Specified by:
setQuestionPoolItemsin interfaceQuestionPoolDataIfc
-
addQuestionPoolItem
public void addQuestionPoolItem(QuestionPoolItemIfc questionPoolItem)
- Specified by:
addQuestionPoolItemin interfaceQuestionPoolDataIfc
-
getQuestions
public Collection getQuestions()
DOCUMENTATION PENDING- Specified by:
getQuestionsin interfaceQuestionPoolDataIfc- Returns:
- an ArrayList of org.sakaiproject.tool.assessment.data.dao.ItemData
-
setQuestions
public void setQuestions(Collection items)
DOCUMENTATION PENDING- Specified by:
setQuestionsin interfaceQuestionPoolDataIfc- Parameters:
newItems- DOCUMENTATION PENDING
-
getQuestionSize
public Integer getQuestionSize()
- Specified by:
getQuestionSizein interfaceQuestionPoolDataIfc
-
setSubPoolSize
public void setSubPoolSize(Long subPoolSize)
- Specified by:
setSubPoolSizein interfaceQuestionPoolDataIfc
-
getSubPoolSize
public Long getSubPoolSize()
- Specified by:
getSubPoolSizein interfaceQuestionPoolDataIfc
-
clone
public Object clone()
- Specified by:
clonein interfaceQuestionPoolDataIfc- Overrides:
clonein classObject
-
getQuestionPoolItemSize
public Integer getQuestionPoolItemSize()
-
-