org.sakaiproject.tool.assessment.ui.bean.author
Class SectionBean

java.lang.Object
  extended by org.sakaiproject.tool.assessment.ui.bean.author.SectionBean
All Implemented Interfaces:
Serializable

public class SectionBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SectionBean()
           
 
Method Summary
 String addAttachmentsRedirect()
           
 String getAssessmentId()
           
 ArrayList getAssessmentSectionIdents()
           
 String getAssessmentTitle()
           
 List getAttachmentList()
           
 ArrayList getAuthorTypeList()
           
 String getDestSectionId()
           
 boolean getDiscountValueHasOverrided()
           
 boolean getHasAttachment()
           
 boolean getHideOneByOne()
           
 boolean getHideRandom()
           
 ArrayList getItemNumberList()
          Get a numerical sequence for all questions.
 ArrayList getItems()
           
 String getKeyword()
          get keyword metadata
 String getNoOfItems()
           
 String getNumberSelected()
           
 String getObjective()
          get objective metadata
 String getOutcome()
          get outcome
 boolean getPointValueHasOverrided()
           
 ArrayList getPoolsAvailable()
          List of available question pools for random draw.
 String getQuestionOrdering()
          get questionOrdering
 boolean getRandom()
          randomize?
 String getRandomizationType()
           
 ArrayList getRandomizationTypeList()
           
 String getRandomPartDiscount()
           
 String getRandomPartScore()
           
 String getRemoveAllQuestions()
          If removing part, do questions go with it?
 HashMap getResourceHash()
           
 String getRubric()
          get rubric metadata
 SectionFacade getSection()
           
 String getSectionDescription()
           
 String getSectionId()
           
 String getSectionIdent()
           
 ArrayList getSectionNumberList()
          Get a numerical sequence for all parts.
 String getSectionTitle()
           
 String getSelectedPool()
          String value of selected pool id
 String getSelectedSection()
          Ordinal number of current section.
 String getShowMetadata()
           
 int getTotalSections()
           
 String getType()
          get type
 void setAssessmentId(String string)
           
 void setAssessmentSectionIdents(ArrayList list)
           
 void setAssessmentTitle(String string)
           
 void setAttachmentList(List attachmentList)
           
 void setDestSectionId(String destSectionId)
           
 void setDiscountValueHasOverrided(boolean discountValueHasOverrided)
           
 void setHasAttachment(boolean hasAttachment)
           
 void setHideOneByOne(boolean param)
           
 void setHideRandom(boolean param)
           
 void setItems(ArrayList items)
           
 void setKeyword(String param)
          set metadata
 void setNoOfItems(String string)
           
 void setNumberSelected(String string)
           
 void setObjective(String param)
          set metadata
 void setOutcome(String param)
          set outcome
 void setPartAttachment()
           
 void setPointValueHasOverrided(boolean pointValueHasOverrided)
           
 void setPoolsAvailable(ArrayList list)
          List of available question pools.
 void setQuestionOrdering(String param)
          set questionOrdering
 void setRandom(boolean bool)
          randomize?
 void setRandomizationType(String randomizationType)
           
 void setRandomPartDiscount(String discount)
           
 void setRandomPartScore(String score)
           
 void setRemoveAllQuestions(String removeAllQuestions)
          If removing part, do questions go with it?
 void setResourceHash(HashMap resourceHash)
           
 void setRubric(String param)
          set metadata
 void setSection(SectionFacade section)
           
 void setSectionDescription(String string)
           
 void setSectionId(String string)
           
 void setSectionIdent(String string)
           
 void setSectionTitle(String string)
           
 void setSelectedPool(String selectedPool)
          set the String value of selected pool id
 void setShowMetadata(String string)
           
 void setType(String param)
          set type
 void toggleAuthorType(javax.faces.event.ValueChangeEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionBean

public SectionBean()
Method Detail

setSection

public void setSection(SectionFacade section)

getSection

public SectionFacade getSection()

getHideRandom

public boolean getHideRandom()

setHideRandom

public void setHideRandom(boolean param)

getHideOneByOne

public boolean getHideOneByOne()

setHideOneByOne

public void setHideOneByOne(boolean param)

getAssessmentId

public String getAssessmentId()
Returns:

getAssessmentTitle

public String getAssessmentTitle()
Returns:

setAssessmentId

public void setAssessmentId(String string)
Parameters:
string -

setAssessmentTitle

public void setAssessmentTitle(String string)
Parameters:
string -

getShowMetadata

public String getShowMetadata()
Returns:

setShowMetadata

public void setShowMetadata(String string)
Parameters:
string -

getSectionId

public String getSectionId()
Returns:

getSectionIdent

public String getSectionIdent()

setSectionId

public void setSectionId(String string)
Parameters:
string -

setSectionIdent

public void setSectionIdent(String string)

getAssessmentSectionIdents

public ArrayList getAssessmentSectionIdents()
Returns:

setAssessmentSectionIdents

public void setAssessmentSectionIdents(ArrayList list)
Parameters:
list -

getSectionNumberList

public ArrayList getSectionNumberList()
Get a numerical sequence for all parts. Derived property.

Returns:
String[] in format "1", "2", "3"... up to the number of parts

getAuthorTypeList

public ArrayList getAuthorTypeList()

getSelectedSection

public String getSelectedSection()
Ordinal number of current section. Derived property.

Returns:
String the number as a String, e.g. "3"

getTotalSections

public int getTotalSections()

getPoolsAvailable

public ArrayList getPoolsAvailable()
List of available question pools for random draw. returns a list of pools that have not been used by other random drawn parts

Returns:
ArrayList of QuestionPoolFacade objects

setPoolsAvailable

public void setPoolsAvailable(ArrayList list)
List of available question pools.

Parameters:
list - ArrayList of selectItems

getNoOfItems

public String getNoOfItems()
Returns:

setNoOfItems

public void setNoOfItems(String string)
Parameters:
string -

getItemNumberList

public ArrayList getItemNumberList()
Get a numerical sequence for all questions. Derived property.

Returns:
String[] in format "1", "2", "3"... up to the number of questions

getSectionTitle

public String getSectionTitle()
Returns:
the title

setSectionTitle

public void setSectionTitle(String string)
Parameters:
string - the title

getSectionDescription

public String getSectionDescription()
Returns:
the info

setSectionDescription

public void setSectionDescription(String string)
Parameters:
string - the info

getNumberSelected

public String getNumberSelected()
Returns:
the number selected

setNumberSelected

public void setNumberSelected(String string)
Parameters:
string - the number selected

getRandom

public boolean getRandom()
randomize?

Returns:
boolean

getItems

public ArrayList getItems()

setRandom

public void setRandom(boolean bool)
randomize?

Parameters:
bool - boolean

setItems

public void setItems(ArrayList items)

getRandomPartScore

public String getRandomPartScore()

setRandomPartScore

public void setRandomPartScore(String score)

getRandomPartDiscount

public String getRandomPartDiscount()

setRandomPartDiscount

public void setRandomPartDiscount(String discount)

getRemoveAllQuestions

public String getRemoveAllQuestions()
If removing part, do questions go with it?

Returns:
true if questions are deleted too.

setRemoveAllQuestions

public void setRemoveAllQuestions(String removeAllQuestions)
If removing part, do questions go with it?

Parameters:
removeAllQuestions -

getDestSectionId

public String getDestSectionId()

setDestSectionId

public void setDestSectionId(String destSectionId)
Parameters:
string - the title

getSelectedPool

public String getSelectedPool()
String value of selected pool id

Returns:
String value of selected pool id

setSelectedPool

public void setSelectedPool(String selectedPool)
set the String value of selected pool id

Parameters:
selectedPool - String value of selected pool id

getKeyword

public String getKeyword()
get keyword metadata


setKeyword

public void setKeyword(String param)
set metadata

Parameters:
param -

getObjective

public String getObjective()
get objective metadata


setObjective

public void setObjective(String param)
set metadata

Parameters:
param -

getRubric

public String getRubric()
get rubric metadata


setRubric

public void setRubric(String param)
set metadata

Parameters:
param -

getType

public String getType()
get type


setType

public void setType(String param)
set type

Parameters:
param -

getQuestionOrdering

public String getQuestionOrdering()
get questionOrdering


setQuestionOrdering

public void setQuestionOrdering(String param)
set questionOrdering

Parameters:
param -

toggleAuthorType

public void toggleAuthorType(javax.faces.event.ValueChangeEvent event)

getOutcome

public String getOutcome()
get outcome


setOutcome

public void setOutcome(String param)
set outcome

Parameters:
param -

getAttachmentList

public List getAttachmentList()

setAttachmentList

public void setAttachmentList(List attachmentList)

getHasAttachment

public boolean getHasAttachment()

setHasAttachment

public void setHasAttachment(boolean hasAttachment)

addAttachmentsRedirect

public String addAttachmentsRedirect()

setPartAttachment

public void setPartAttachment()

getResourceHash

public HashMap getResourceHash()

setResourceHash

public void setResourceHash(HashMap resourceHash)

getRandomizationTypeList

public ArrayList getRandomizationTypeList()

getRandomizationType

public String getRandomizationType()

setRandomizationType

public void setRandomizationType(String randomizationType)

getPointValueHasOverrided

public boolean getPointValueHasOverrided()

setPointValueHasOverrided

public void setPointValueHasOverrided(boolean pointValueHasOverrided)

getDiscountValueHasOverrided

public boolean getDiscountValueHasOverrided()

setDiscountValueHasOverrided

public void setDiscountValueHasOverrided(boolean discountValueHasOverrided)


Copyright © 2005-2012 Sakai Project. All Rights Reserved.