Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Activity.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Attic/Activity.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Activity.hbm.xml 7 Dec 2004 05:48:43 -0000 1.1 @@ -0,0 +1,206 @@ + + + + + + + + @hibernate.class table="lams_learning_activity" + true + public abstract + + + @hibernate.id generator-class="assigned" type="java.lang.Long" column="activity_id" + + + + + + @hibernate.property column="id" length="11" + true + + + @hibernate.property column="description" length="65535" + true + + + @hibernate.property column="title" length="255" + true + + + @hibernate.property column="xcoord" length="11" + true + + + @hibernate.property column="ycoord" length="11" + true + + + @hibernate.property column="order_id" length="11" + true + + + @hibernate.property column="define_later_flag" length="4" not-null="true" + true + + + @hibernate.property column="create_date_time" length="19" not-null="true" + true + + + @hibernate.property column="offline_instructions" length="65535" + true + + + + + + + @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_design_id" + + + + + + @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.domain.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.domain.Transition" + + + + + + + + @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.domain.Activity" + + + + + + + + @hibernate.many-to-one not-null="true" @hibernate.column name="parent_activity_id" + + + + + + + + + + + + + + + + + + @hibernate.class + public abstract + + @hibernate.class + + + @hibernate.class + + @hibernate.class + + + @hibernate.class + + + + @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 + + + @hibernate.class + + + + + + @hibernate.class + public abstract + + @hibernate.class + + @hibernate.property column="max_number_of_options" length="5" + true + + + @hibernate.property column="min_number_of_options" length="5" + true + + + + @hibernate.class + + + @hibernate.class + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Group.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Attic/Group.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Group.hbm.xml 7 Dec 2004 05:48:43 -0000 1.1 @@ -0,0 +1,72 @@ + + + + + + + + + @hibernate.class + table="lams_group" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Long" + column="group_id" + + + + + + + + + @hibernate.property + column="order_id" + length="6" + not-null="true" + + + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="grouping_id" + + + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Grouping.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Attic/Grouping.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Grouping.hbm.xml 7 Dec 2004 05:48:43 -0000 1.1 @@ -0,0 +1,133 @@ + + + + + + + + + @hibernate.class + table="lams_grouping" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Long" + column="grouping_id" + + + + + + + + + @hibernate.property + column="number_of_groups" + length="11" + + + + + @hibernate.property + column="learners_per_group" + length="11" + + + + + @hibernate.property + column="staff_group_id" + length="20" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="grouping_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.domain.Group" + + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="grouping_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.domain.Activity" + + + + + + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/LearningDesign.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Attic/LearningDesign.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/LearningDesign.hbm.xml 7 Dec 2004 05:48:43 -0000 1.1 @@ -0,0 +1,287 @@ + + + + + + + + @hibernate.class table="lams_learning_design" + true + + @hibernate.id generator-class="assigned" type="java.lang.Long" column="learning_design_id" + + + + + @hibernate.property column="id" length="11" + + + @hibernate.property column="description" length="65535" + + + + @hibernate.property + column="title" + length="255" + + + + + @hibernate.property + column="first_activity_id" + length="20" + + + + + @hibernate.property + column="max_id" + length="11" + + + + + @hibernate.property + column="valid_design_flag" + length="4" + not-null="true" + + + + + @hibernate.property + column="read_only_flag" + length="4" + not-null="true" + + + + + @hibernate.property + column="date_read_only" + length="19" + + + + + @hibernate.property + column="read_access" + length="20" + + + + + @hibernate.property + column="write_access" + length="20" + + + + + @hibernate.property + column="help_text" + length="65535" + + + + + @hibernate.property + column="lesson_copy_flag" + length="4" + not-null="true" + + + + + @hibernate.property + column="create_date_time" + length="19" + not-null="true" + + + + + @hibernate.property + column="version" + length="56" + not-null="true" + + + + + @hibernate.property + column="open_date_time" + length="19" + + + + + @hibernate.property + column="close_date_time" + length="19" + + + + + + + + @hibernate.set lazy="true" inverse="true" cascade="none" + @hibernate.collection-key column="parent_learning_design_id" + @hibernate.collection-one-to-many class="com.lamsinternational.lams.learningdesign.domain.LearningDesign" + + + + + + + @hibernate.many-to-one not-null="true" + @hibernate.column name="parent_learning_design_id" + + + + + + + @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.learningdesign.domain.Transition" + + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="learning_design_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.domain.Activity" + + + + + + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/LearningLibrary.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Attic/LearningLibrary.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/LearningLibrary.hbm.xml 7 Dec 2004 05:48:43 -0000 1.1 @@ -0,0 +1,109 @@ + + + + + + + + + @hibernate.class + table="lams_learning_library" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Long" + column="learning_library_id" + + + + + + + + + @hibernate.property + column="description" + length="65535" + + + + + @hibernate.property + column="title" + length="255" + + + + + @hibernate.property + column="create_date_time" + length="19" + not-null="true" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="learning_library_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.domain.Activity" + + + + + + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Transition.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Attic/Transition.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/domain/Transition.hbm.xml 7 Dec 2004 05:48:43 -0000 1.1 @@ -0,0 +1,134 @@ + + + + + + + + + @hibernate.class + table="lams_learning_transition" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Long" + column="transition_id" + + + + + + + + + @hibernate.property + column="id" + length="11" + + + + + @hibernate.property + column="description" + length="65535" + + + + + @hibernate.property + column="title" + length="255" + + + + + @hibernate.property + column="create_date_time" + length="19" + not-null="true" + + + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="learning_design_id" + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="to_activity_id" + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="from_activity_id" + + + + + +