Class Assessment

  • All Implemented Interfaces:
    Serializable

    public class Assessment
    extends ASIBaseClass

    Copyright: Copyright (c) 2003-5

    Organization: Sakai Project

    Version:
    $Id$
    Author:
    casong, Ed Smiley esmiley@stanford.edu
    See Also:
    Serialized Form
    • Constructor Detail

      • Assessment

        protected Assessment()
        Creates a new Assessment object.
      • Assessment

        public Assessment​(Document document)
        Creates a new Assessment object.
        Parameters:
        document - the Document containing the assessment.
    • Method Detail

      • getFieldentry

        public String getFieldentry​(String fieldlabel)
        Method for meta data.
        Overrides:
        getFieldentry in class ASIBaseClass
        Parameters:
        fieldlabel - the fieldlabel
        Returns:
        the entry
      • setFieldentry

        public void setFieldentry​(String fieldlabel,
                                  String setValue)
        Description copied from class: ASIBaseClass
        Set field entry.
        Overrides:
        setFieldentry in class ASIBaseClass
        Parameters:
        fieldlabel -
        setValue -
        noEscapeXML -
      • setFieldentry

        public void setFieldentry​(String fieldlabel,
                                  String setValue,
                                  boolean noEscapeXML)
        Description copied from class: ASIBaseClass
        Set field entry.
        Overrides:
        setFieldentry in class ASIBaseClass
        Parameters:
        fieldlabel -
        setValue -
      • addSectionRef

        public void addSectionRef​(String sectionId)
        Add a section ref with section Id sectionId.
        Parameters:
        sectionId -
      • removeSectionRef

        public void removeSectionRef​(String sectionId)
        Remove a section ref with section Id sectionId.
        Parameters:
        sectionId -
      • removeSectionRefs

        public void removeSectionRefs()
        Remove all section refs.
      • getSectionRefs

        public List getSectionRefs()
        Get a collection of section refs.
        Returns:
      • getSections

        public Collection getSections()
        Get a collection of sections.
        Returns:
        the sections
      • getItems

        public Collection getItems()
        Get a collection of items.
        Returns:
        the items
      • getSectionRefIds

        public List getSectionRefIds()
        Returns:
      • getTitle

        public String getTitle()
        Assessment title.
        Returns:
        title
      • getIdent

        public String getIdent()
        Assessment id (ident attribute)
        Returns:
        ident
      • setIdent

        public void setIdent​(String ident)
        Assessment id (ident attribute)
        Parameters:
        ident - the ident
      • setTitle

        public void setTitle​(String title)
        Assessment title.
        Parameters:
        title -
      • getBasePath

        public String getBasePath()
        Base XPath for the assessment.
        Returns:
      • setBasePath

        public void setBasePath​(String basePath)
        Base XPath for the assessment.
        Parameters:
        basePath -