public class Assessment extends ASIBaseClass
Copyright: Copyright (c) 2003-5
Organization: Sakai Project
| Modifier | Constructor and Description |
|---|---|
protected |
Assessment()
Creates a new Assessment object.
|
|
Assessment(Document document)
Creates a new Assessment object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSectionRef(String sectionId)
Add a section ref with section Id sectionId.
|
String |
getBasePath()
Base XPath for the assessment.
|
String |
getFieldentry(String fieldlabel)
Method for meta data.
|
String |
getIdent()
Assessment id (ident attribute)
|
Collection |
getItems()
Get a collection of items.
|
List |
getSectionRefIds() |
List |
getSectionRefs()
Get a collection of section refs.
|
Collection |
getSections()
Get a collection of sections.
|
String |
getTitle()
Assessment title.
|
void |
removeSectionRef(String sectionId)
Remove a section ref with section Id sectionId.
|
void |
removeSectionRefs()
Remove all section refs.
|
void |
setBasePath(String basePath)
Base XPath for the assessment.
|
void |
setFieldentry(String fieldlabel,
String setValue)
Set field entry.
|
void |
setFieldentry(String fieldlabel,
String setValue,
boolean noEscapeXML)
Set field entry.
|
void |
setIdent(String ident)
Assessment id (ident attribute)
|
void |
setTitle(String title)
Assessment title.
|
createFieldentry, escapeXml, extractString, getAllSections, getIdString, getNumOfSections, removeSections, setIdString, wrappingMattextadd, addAttribute, addElement, addJDOMElement, clear, createChildElement, getDocument, getValueOf, insertElement, isEmpty, removeElement, replace, selectNodes, selectSingleValue, stringValue, update, updateprotected Assessment()
public Assessment(Document document)
document - the Document containing the assessment.public String getFieldentry(String fieldlabel)
getFieldentry in class ASIBaseClassfieldlabel - the fieldlabelpublic void setFieldentry(String fieldlabel, String setValue)
ASIBaseClasssetFieldentry in class ASIBaseClassfieldlabel - setValue - noEscapeXML - public void setFieldentry(String fieldlabel, String setValue, boolean noEscapeXML)
ASIBaseClasssetFieldentry in class ASIBaseClassfieldlabel - setValue - public void addSectionRef(String sectionId)
sectionId - public void removeSectionRef(String sectionId)
sectionId - public void removeSectionRefs()
public List getSectionRefs()
public Collection getSections()
public Collection getItems()
public List getSectionRefIds()
public String getTitle()
public String getIdent()
public void setIdent(String ident)
ident - the identpublic void setTitle(String title)
title - public String getBasePath()
public void setBasePath(String basePath)
basePath - Copyright © 2005-2014 Sakai Project. All Rights Reserved.