Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Attic/Activity.hbm.xml,v
diff -u -r1.3 -r1.4
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml 6 Dec 2004 03:15:06 -0000 1.3
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml 8 Dec 2004 23:32:01 -0000 1.4
@@ -12,76 +12,98 @@
-->
- @hibernate.class table="lams_learning_activity"
+ @hibernate.class table="lams_learning_activity"
true
- public abstract
- @hibernate.id generator-class="assigned" type="java.lang.Long" column="activity_id"
+ @hibernate.id generator-class="assigned" type="java.lang.Long" column="activity_id"
-
-
- @hibernate.property column="id" length="11"
- true
+
+
+
+ @hibernate.property column="id" length="11"
-
- @hibernate.property column="description" length="65535"
- true
+
+
+ @hibernate.property column="description" length="65535"
-
- @hibernate.property column="title" length="255"
- true
+
+
+ @hibernate.property column="title" length="255"
+
- @hibernate.property column="xcoord" length="11"
- true
+ @hibernate.property column="xcoord" length="11"
+
- @hibernate.property column="ycoord" length="11"
- true
+ @hibernate.property column="ycoord" length="11"
-
- @hibernate.property column="order_id" length="11"
- true
+
+
+ @hibernate.property column="order_id" length="11"
+
- @hibernate.property column="define_later_flag" length="4" not-null="true"
- true
+ @hibernate.property column="define_later_flag" length="4" not-null="true"
+
- @hibernate.property column="create_date_time" length="19" not-null="true"
- true
+ @hibernate.property column="create_date_time" length="19" not-null="true"
-
+
+
@hibernate.property column="offline_instructions" length="65535"
- true
+
+ @hibernate.property column="tool_content_id" length="20"
+
+
+
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="grouping_id"
-
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="learning_library_id"
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="learning_library_id"
+
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="learning_design_id"
-
+
+
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="gate_activity_level_id"
+
+
+
+
+ @hibernate.set lazy="true" inverse="true" cascade="none"
+ @hibernate.collection-key column="activity_id"
+ @hibernate.collection-one-to-many class="com.lamsinternational.lams.lesson.ProgressCurrent"
+
+
+
+
+
+
+
+ @hibernate.set lazy="true" inverse="true" cascade="none"
+ @hibernate.collection-key column="activity_id"
+ @hibernate.collection-one-to-many class="com.lamsinternational.lams.lesson.ProgressCompleted"
+
+
+
+
+
-
- @hibernate.set lazy="true" inverse="true" cascade="none"
+
+ @hibernate.set lazy="true" inverse="true" cascade="none"
@hibernate.collection-key column="to_activity_id"
@hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Transition"
@@ -90,57 +112,65 @@
-
- @hibernate.set lazy="true" inverse="true" cascade="none"
- @hibernate.collection-key column="from_activity_id"
- @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Transition"
+
+ @hibernate.set lazy="true" inverse="true" cascade="none"
+ @hibernate.collection-key column="from_activity_id"
+ @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Transition"
-
- @hibernate.set lazy="true" inverse="true" cascade="none"
+
+ @hibernate.set lazy="true" inverse="true" cascade="none"
@hibernate.collection-key column="parent_activity_id"
- @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Activity"
+ @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Activity"
- @hibernate.many-to-one not-null="true" @hibernate.column name="parent_activity_id"
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="parent_activity_id"
+
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="learning_activity_type_id"
-
+
+
+ @hibernate.many-to-one not-null="true" @hibernate.column name="tool_id"
+
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="gate_activity_level_id"
-
+
+
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="learning_design_id"
+
+
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="tool_content_id"
-
+
+
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="grouping_id"
+
+
-
-
- @hibernate.many-to-one not-null="true" @hibernate.column name="tool_id"
-
-
+
+
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="learning_activity_type_id"
+
+
+
-
-
+
+
@hibernate.class
public abstract
@@ -157,17 +187,16 @@
@hibernate.class
-
-
- @hibernate.property column="gate_start_date_time" length="19"
- true
-
-
- @hibernate.property column="gate_end_date_time" length="19"
- true
-
- @hibernate.class
+ @hibernate.class
+
+ @hibernate.property column="gate_start_date_time" length="19"
+ true
+
+
+ @hibernate.property column="gate_end_date_time" length="19"
+ true
+
@hibernate.class
@@ -199,5 +228,6 @@
@hibernate.class
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ActivityType.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Attic/ActivityType.hbm.xml,v
diff -u -r1.1 -r1.2
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ActivityType.hbm.xml 6 Dec 2004 03:16:21 -0000 1.1
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ActivityType.hbm.xml 8 Dec 2004 23:32:01 -0000 1.2
@@ -11,28 +11,75 @@
http://www.hibernate.org/
-->
-
- @hibernate.class table="lams_learning_activity_type"
+
+
+ @hibernate.class
+ table="lams_learning_activity_type"
+
true
-
- @hibernate.id generator-class="assigned" type="java.lang.Integer" column="learning_activity_type_id"
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Integer"
+ column="learning_activity_type_id"
+
+
+
-
- @hibernate.property column="description" length="255" not-null="true"
+
+
+ @hibernate.property
+ column="description"
+ length="255"
+ not-null="true"
+
-
- @hibernate.set lazy="true" inverse="true" cascade="none"
- @hibernate.collection-key column="learning_activity_type_id"
- @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Activity"
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="learning_activity_type_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.learningdesign.Activity"
-
-
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Attic/Group.hbm.xml,v
diff -u -r1.2 -r1.3
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml 6 Dec 2004 03:15:21 -0000 1.2
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml 8 Dec 2004 23:32:01 -0000 1.3
@@ -54,6 +54,58 @@
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="group_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.UserGroup"
+
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="group_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.tool.ToolSession"
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="grouping_type_id"
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="class_grouping_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.Lesson"
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_grouping_type"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Integer"
+ column="grouping_type_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="description"
+ length="128"
+ not-null="true"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="grouping_type_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.learningdesign.Grouping"
+
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/LearningDesign.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Attic/LearningDesign.hbm.xml,v
diff -u -r1.3 -r1.4
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/LearningDesign.hbm.xml 6 Dec 2004 03:15:21 -0000 1.3
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/LearningDesign.hbm.xml 8 Dec 2004 23:32:01 -0000 1.4
@@ -118,6 +118,7 @@
not-null="true"
length="4"
>
+ true
@hibernate.property
column="read_only_flag"
@@ -242,6 +243,19 @@
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="user_id"
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="learning_design_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.Lesson"
+
+
+
+
+
+
-
-
-
- @hibernate.many-to-one
- not-null="true"
- @hibernate.column name="learning_design_id"
-
-
-
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="learning_design_id"
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LearnerProgress.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/LearnerProgress.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LearnerProgress.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_learner_progress"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="learner_progress_id"
+
+
+
+
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="learner_progress_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.ProgressCurrent"
+
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="learner_progress_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.ProgressCompleted"
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="user_id"
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="lesson_id"
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Lesson.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/Lesson.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Lesson.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_lesson"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="lesson_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="create_date_time"
+ length="19"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="start_date_time"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="end_date_time"
+ length="19"
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="user_id"
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="lams_lesson_state_id"
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="learning_design_id"
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="lesson_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.LearnerProgress"
+
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="lesson_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.LessonLearner"
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="class_grouping_id"
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="organisation_id"
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LessonLearner.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/LessonLearner.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LessonLearner.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_lesson_learner"
+
+ true
+
+
+ @hibernate.id generator-class="assigned"
+
+
+ @hibernate.property column="lesson_id" length="20">
+
+
+
+ @hibernate.property column="user_id" length="20">
+
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one not-null="true" update="false" insert="false"
+ @hibernate.column name="user_id"
+
+
+
+
+
+ @hibernate.many-to-one not-null="true" update="false" insert="false"
+ @hibernate.column name="lesson_id"
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LessonState.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/LessonState.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LessonState.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_lesson_state"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Integer"
+ column="lams_lesson_state_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="description"
+ length="255"
+ not-null="true"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="lams_lesson_state_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.Lesson"
+
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/ProgressCompleted.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/ProgressCompleted.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/ProgressCompleted.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_progress_completed"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+
+
+
+ @hibernate.property
+ column="learner_progress_id"
+ length="20"
+
+
+
+
+
+ @hibernate.property
+ column="activity_id"
+ length="20"
+
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ update="false"
+ insert="false"
+
+
+ @hibernate.column
+ name="learner_progress_id"
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ update="false"
+ insert="false"
+
+
+ @hibernate.column
+ name="activity_id"
+
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/ProgressCurrent.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/ProgressCurrent.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/ProgressCurrent.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_progress_current"
+
+ true
+
+
+ @hibernate.id generator-class="assigned"
+
+ @hibernate.property column="learner_progress_id" length="20"
+
+
+ @hibernate.property column="activity_id" length="20"
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one update="false" insert="false"
+ @hibernate.column name="learner_progress_id"
+
+
+
+
+
+ @hibernate.many-to-one update="false" insert="false"
+ @hibernate.column name="activity_id"
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/UserGroup.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/UserGroup.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/UserGroup.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_user_group"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+
+
+
+ @hibernate.property
+ column="user_id"
+ length="20"
+
+
+
+
+ @hibernate.property
+ column="group_id"
+ length="20"
+
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ update="false"
+ insert="false"
+
+
+ @hibernate.column
+ name="user_id"
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ update="false"
+ insert="false"
+
+
+ @hibernate.column
+ name="group_id"
+
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/UserToolSession.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/UserToolSession.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/UserToolSession.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_user_tool_session"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+
+
+
+ @hibernate.property
+ column="tool_session_id"
+ length="20"
+
+
+
+
+ @hibernate.property
+ column="user_id"
+ length="20"
+
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ update="false"
+ insert="false"
+
+
+ @hibernate.column
+ name="user_id"
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ update="false"
+ insert="false"
+
+
+ @hibernate.column
+ name="tool_session_id"
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="user_tool_session_state_id"
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/UserToolSessionState.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/Attic/UserToolSessionState.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/UserToolSessionState.hbm.xml 8 Dec 2004 23:34:28 -0000 1.1
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_user_tool_session_state"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Integer"
+ column="user_tool_session_state_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="description"
+ length="255"
+ not-null="true"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="user_tool_session_state_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.UserToolSession"
+
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/Tool.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/Attic/Tool.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/Tool.hbm.xml 8 Dec 2004 23:37:28 -0000 1.1
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_tool"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="tool_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="learner_url"
+ length="65535"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="supports_grouping_flag"
+ length="1"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="author_url"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="supports_define_later_flag"
+ length="1"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="define_later_url"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="default_tool_content_id"
+ length="20"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="tool_signature"
+ length="64"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="tool_display_name"
+ length="255"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="description"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="class_name"
+ length="65535"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="export_portfolio_url"
+ length="65535"
+ not-null="true"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="tool_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.learningdesign.Activity"
+
+
+
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolSession.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/Attic/ToolSession.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolSession.hbm.xml 8 Dec 2004 23:37:28 -0000 1.1
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_tool_session"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="tool_session_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="activity_id"
+ length="20"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="tool_session_key"
+ length="20"
+ not-null="true"
+
+
+
+
+ @hibernate.property
+ column="create_date_time"
+ length="19"
+ not-null="true"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="tool_session_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.lesson.UserToolSession"
+
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="group_id"
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="tool_session_state_id"
+
+
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolSessionState.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/Attic/ToolSessionState.hbm.xml,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolSessionState.hbm.xml 8 Dec 2004 23:37:28 -0000 1.1
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="lams_tool_session_state"
+
+ true
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Integer"
+ column="tool_session_state_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="description"
+ length="255"
+ not-null="true"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="tool_session_state_id"
+
+ @hibernate.collection-one-to-many
+ class="com.lamsinternational.lams.tool.ToolSession"
+
+
+
+
+
+
+
+
+