| java.lang.Object org.sakaiproject.tool.assessment.qti.helper.MetaDataList
MetaDataList | public class MetaDataList (Code) | | Contract: use List of special "|" delimited "KEY|VALUE" Strings!
author: Ed Smiley esmiley@stanford.edu |
MetaDataList | public MetaDataList(List metadataList)(Code) | | Contract: use List of special "|" delimited "KEY|VALUE" Strings!
Uses special "|" delimited "KEY|VALUE" strings
Parameters: metadataList - |
addTo | public void addTo(ItemFacade item)(Code) | | Adds extraction-created list of "|" key value pairs
to item metadata map, if there are any.
Example: TEXT_FORMAT| HTML
ITEM_OBJECTIVE| metadata >
Becomes:
TEXT_FORMAT=>HTML
Parameters: metadataList - extraction-created list of "|" key value pairs Parameters: item - the item |
addTo | public void addTo(AssessmentFacade assessment)(Code) | | Adds extraction-created list of "|" key value pairs to assessment metadata map, if there are any. Example:
FEEDBACK_SHOW_CORRECT_RESPONSE|True metadata >
FEEDBACK_SHOW_STUDENT_SCORE|True metadata >
Becomes:TEXT_FORMAT=>HTML etc.
Parameters: metadataList - extraction-created list of "|" key value pairs Parameters: assessment - the assessment |
getMetadataList | public List getMetadataList()(Code) | | |
getSubmissionMessage | public String getSubmissionMessage()(Code) | | |
setDefaults | public void setDefaults(AssessmentFacade assessment)(Code) | | Turns on editability for everything (ecept template info),
since we don't know if this metadata is in the assessment or not,
or may not want to follow it, even if it is.
The importer of the assesment may also be different than the
exporter, and may be on a different system or have different
templates, or policies, even if using this softwware.
Parameters: assessment - |
setMetadataList | public void setMetadataList(List metadataList)(Code) | | |
|
|