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.6 -r1.7
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml 20 Jan 2005 06:14:18 -0000 1.6
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml 21 Jan 2005 06:32:51 -0000 1.7
@@ -11,7 +11,7 @@
http://www.hibernate.org/
-->
-
+
@hibernate.class table="lams_learning_activity"
true
@@ -137,17 +137,10 @@
@hibernate.class
-
+
@hibernate.class
@@ -175,14 +168,18 @@
@hibernate.class
public abstract
+
-
-
+
+ @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.class
@hibernate.property column="max_number_of_options" length="5"
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.5 -r1.6
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml 20 Jan 2005 06:14:42 -0000 1.5
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml 21 Jan 2005 06:32:51 -0000 1.6
@@ -56,7 +56,7 @@
-
+
+
-
-
-
-
-
-
-
-
+
+
+ @hibernate.set lazy="true" inverse="true" cascade="none"
+ @hibernate.collection-key column="grouping_id"
+ @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.Group"
+
+
+
+
-
+
-
-
-
+
+
-
+
+
+
+
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="first_activity_id"
+
+
+
+
+
+
+
+ @hibernate.many-to-one not-null="true"
+ @hibernate.column name="parent_learning_design_id"
+
+
+
+
-
-
-
-
@@ -237,23 +241,10 @@
/>
-
-
-
-
-
-
-
-
+
+
+
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/LearningLibrary.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Attic/LearningLibrary.hbm.xml,v
diff -u -r1.5 -r1.6
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/LearningLibrary.hbm.xml 20 Jan 2005 06:14:42 -0000 1.5
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/LearningLibrary.hbm.xml 21 Jan 2005 06:32:51 -0000 1.6
@@ -56,9 +56,9 @@
-
@@ -69,8 +69,7 @@
-
-
+
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 -r1.2 -r1.3
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LearnerProgress.hbm.xml 5 Jan 2005 03:48:08 -0000 1.2
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/lesson/LearnerProgress.hbm.xml 21 Jan 2005 06:32:33 -0000 1.3
@@ -38,60 +38,7 @@
-
-
-
-
-
- @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.class
- table="lams_lesson"
-
+
true
-
- @hibernate.id
- generator-class="identity"
- type="java.lang.Long"
- column="lesson_id"
-
-
@@ -44,77 +29,69 @@
not-null="true"
length="19"
>
-
- @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"
-
+
@@ -124,36 +101,21 @@
inverse="true"
cascade="none"
>
-
- @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.many-to-one
- not-null="true"
- @hibernate.column name="class_grouping_id"
-
+
@@ -162,11 +124,7 @@
class="com.lamsinternational.lams.usermanagement.Organisation"
not-null="true"
>
-
- @hibernate.many-to-one
- not-null="true"
- @hibernate.column name="organisation_id"
-
+
Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolContent.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/Attic/ToolContent.hbm.xml,v
diff -u -r1.1 -r1.2
--- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolContent.hbm.xml 5 Jan 2005 03:57:43 -0000 1.1
+++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/tool/ToolContent.hbm.xml 21 Jan 2005 06:31:17 -0000 1.2
@@ -12,7 +12,7 @@
-->