Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml =================================================================== diff -u -r8e71ee480dcaf1a2e4a6ec0cd58a25e41d70a938 -r98e4c9f22a6124646416be2a0194ba4d3d5c7a50 --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml (.../Activity.hbm.xml) (revision 8e71ee480dcaf1a2e4a6ec0cd58a25e41d70a938) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Activity.hbm.xml (.../Activity.hbm.xml) (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -11,324 +11,193 @@ http://www.hibernate.org/ --> - - - @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" - + + + + @hibernate.property column="id" length="11" + true - - - @hibernate.property - column="description" - length="65535" - + + @hibernate.property column="description" length="65535" + true - - - @hibernate.property - column="title" - length="255" - + + @hibernate.property column="title" length="255" + true - - - @hibernate.property - column="xcoord" - length="11" - + + @hibernate.property column="xcoord" length="11" + true - - - @hibernate.property - column="ycoord" - length="11" - + + @hibernate.property column="ycoord" length="11" + true - - - @hibernate.property - column="order_id" - length="11" - + + @hibernate.property column="order_id" length="11" + true - - - @hibernate.property - column="define_later_flag" - length="4" - not-null="true" - + + @hibernate.property column="define_later_flag" length="4" not-null="true" + true - - - @hibernate.property - column="create_date_time" - length="19" - not-null="true" - + + @hibernate.property column="create_date_time" length="19" not-null="true" + true - - - @hibernate.property - column="offline_instructions" - length="65535" - + + @hibernate.property column="offline_instructions" length="65535" + true - - - @hibernate.property - column="max_number_of_options" - length="5" - - - - - @hibernate.property - column="min_number_of_options" - length="5" - - - - - @hibernate.property - column="gate_start_date_time" - length="19" - - - - - @hibernate.property - column="gate_end_date_time" - length="19" - - - + - - - @hibernate.many-to-one - not-null="true" - @hibernate.column name="grouping_id" - + + @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="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.Transition" + + @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" - - - - + + + - - - @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.collection-key - column="parent_activity_id" - - @hibernate.collection-one-to-many - class="com.lamsinternational.lams.learningdesign.Activity" + + @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.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="gate_activity_level_id" + + + + + + @hibernate.many-to-one not-null="true" @hibernate.column name="tool_content_id" + + + + + + @hibernate.many-to-one not-null="true" @hibernate.column name="tool_id" + + + + + + @hibernate.class + public abstract + + @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 + + + + + @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/ActivityType.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ActivityType.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ActivityType.hbm.xml (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -0,0 +1,38 @@ + + + + + + + + @hibernate.class table="lams_learning_activity_type" + true + + @hibernate.id generator-class="assigned" type="java.lang.Integer" column="learning_activity_type_id" + + + + + @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" + + + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/GateActivityLevel.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/GateActivityLevel.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/GateActivityLevel.hbm.xml (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -0,0 +1,85 @@ + + + + + + + + + @hibernate.class + table="lams_gate_activity_level" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Integer" + column="gate_activity_level_id" + + + + + + + + + @hibernate.property + column="description" + length="128" + not-null="true" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="gate_activity_level_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 =================================================================== diff -u -r4b196cccfe15e110611808070d9387e0bb35a8d9 -r98e4c9f22a6124646416be2a0194ba4d3d5c7a50 --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml (.../Group.hbm.xml) (revision 4b196cccfe15e110611808070d9387e0bb35a8d9) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Group.hbm.xml (.../Group.hbm.xml) (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -19,6 +19,7 @@ @hibernate.class table="lams_group" + true + true + true + true + + + + + + + + @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.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/learningdesign/ToolContent.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ToolContent.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/ToolContent.hbm.xml (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -0,0 +1,85 @@ + + + + + + + + + @hibernate.class + table="lams_tool_content" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Long" + column="tool_content_id" + + + + + + + + + @hibernate.property + column="tool_content_key" + length="20" + not-null="true" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="tool_content_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.Activity" + + + + + + + + + Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Transition.hbm.xml =================================================================== diff -u -r8e71ee480dcaf1a2e4a6ec0cd58a25e41d70a938 -r98e4c9f22a6124646416be2a0194ba4d3d5c7a50 --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Transition.hbm.xml (.../Transition.hbm.xml) (revision 8e71ee480dcaf1a2e4a6ec0cd58a25e41d70a938) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/learningdesign/Transition.hbm.xml (.../Transition.hbm.xml) (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -19,6 +19,7 @@ @hibernate.class table="lams_learning_transition" + true + + + + + + + @hibernate.class table="lams_learning_activity_type" + true + + @hibernate.id generator-class="assigned" type="java.lang.Integer" column="learning_activity_type_id" + + + + + @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" + + + + + + Index: lams_common/conf/hibernate/mappings/learningdesign/GateActivityLevel.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/learningdesign/GateActivityLevel.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/learningdesign/GateActivityLevel.hbm.xml (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -0,0 +1,85 @@ + + + + + + + + + @hibernate.class + table="lams_gate_activity_level" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Integer" + column="gate_activity_level_id" + + + + + + + + + @hibernate.property + column="description" + length="128" + not-null="true" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="gate_activity_level_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.Activity" + + + + + + + + + Fisheye: Tag 4b196cccfe15e110611808070d9387e0bb35a8d9 refers to a dead (removed) revision in file `lams_common/conf/hibernate/mappings/learningdesign/Group.hbm.xml'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 4b196cccfe15e110611808070d9387e0bb35a8d9 refers to a dead (removed) revision in file `lams_common/conf/hibernate/mappings/learningdesign/Grouping.hbm.xml'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 4b196cccfe15e110611808070d9387e0bb35a8d9 refers to a dead (removed) revision in file `lams_common/conf/hibernate/mappings/learningdesign/LearningDesign.hbm.xml'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 4b196cccfe15e110611808070d9387e0bb35a8d9 refers to a dead (removed) revision in file `lams_common/conf/hibernate/mappings/learningdesign/LearningLibrary.hbm.xml'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_common/conf/hibernate/mappings/learningdesign/Tool.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/learningdesign/Tool.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/learningdesign/Tool.hbm.xml (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -0,0 +1,137 @@ + + + + + + + + + @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.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/learningdesign/ToolContent.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/learningdesign/ToolContent.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/learningdesign/ToolContent.hbm.xml (revision 98e4c9f22a6124646416be2a0194ba4d3d5c7a50) @@ -0,0 +1,85 @@ + + + + + + + + + @hibernate.class + table="lams_tool_content" + + true + + + + @hibernate.id + generator-class="assigned" + type="java.lang.Long" + column="tool_content_id" + + + + + + + + + @hibernate.property + column="tool_content_key" + length="20" + not-null="true" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="tool_content_id" + + @hibernate.collection-one-to-many + class="com.lamsinternational.lams.learningdesign.Activity" + + + + + + + + + Fisheye: Tag 4b196cccfe15e110611808070d9387e0bb35a8d9 refers to a dead (removed) revision in file `lams_common/conf/hibernate/mappings/learningdesign/Transition.hbm.xml'. Fisheye: No comparison available. Pass `N' to diff?