Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • using hibernate to persist
    • the properties in SeqActivityTree are as follows:
      Code Block
           private SeqActivity mRoot = null;
      
      mRoot: mapped to column ROOT (and is a foreign key)
    • this would have to be persisted in some form so we have to have another table for SeqActivity classes
      Code Block
         /**
          * The set of valid navigation requests for the current state of the activity
          * tree.
          *
          */
             private ADLValidRequests mValidReq = null;
      
      mValidReq: may be possible to determine this at runtime, or at first instatiation for use
      Code Block
      
         /**
          * This is the identifier for the last leaf in the activity tree
          *@hibernate.property
          */
             private String mLastLeaf = null; 
      
      mLastLeaf: mapped to column LASTLEAF
      Code Block
         /**
          * This is the scope of this activity tree's objectives
          *@hibernate.property
          */
             private String mScopeID = null;
      
      mScopeID: mapped to column SCOPE
      Code Block
         /**
          * This is the course (really a content package) identifier for the current activity tree
          *@hibernate.property
          */
             private String mCourseID = null; 
      
      mCourseID: mapped to column PACKAGEID
      Code Block
         /**
          * This is the student identifier for the student utilizing this activity
          * tree
          *@hibernate.property
          */
             private String mLearnerID = null;
      
      mLearnerID: mapped to column LEARNERID
      Code Block
      
         // Internal state of the activity tree
         /**
          * This is the current activity<br><br>
          * Defined in IMS SS AM
          * WRT hibernate: thisdoes not hashave to be a persisted value...
          *    ... this reflects the 'current' progress infomation
          *    ... andexitAll couldrequests haveassume beensubsequent recordedrequests instart anotherfrom sessionROOT
          *@hibernate.property  
          */
             private SeqActivity mCurActivity = null;
      
      mLearnerID mCurActivity: mapped to column LEARNERID not mapped (see code comments)
      Code Block
         /**
         * This is the first candidate activity to for sequencing requests.
         *@hibernate.property
         */
            private SeqActivity mFirstCandidate = null;
      
      mFirstCandidate: not mapped, use mSeqTree.setFirstCandidate(mSeqTree.getRoot()) after instantiation

NOTE: this page is currently under construction

Code Block


   /**
    * This is last activity experienced by the student prior to a SuspendAll
    * sequencing request.<br><br>
    * Defined in IMS SS AM
    *@hibernate.property
    */
       private SeqActivity mSuspendAll = null;

   /**
    * This is an internal 'quick' reference map of the activity tree's nodes
    * WRT hibernate perisistence: use buildActivityMap() after retrieval
    */
       private Hashtable mActivityMap = null;

   /**
    * This is the set of global objective IDs used in this activity tree.
    *@hibernate.property
    */
       private Vector mObjSet = null;

   /**
    * This is a map of activities that read from each of the global shared
    * objectives.
    *@hibernate.property
    */
       private Hashtable mObjMap = null;

   /**
    * This indicates if the global objective IDs have been determined for this 
    * tree.
    *@hibernate.property
    */
       private boolean mObjScan = false;