Index: lams_common/conf/hibernate/mappings/learningdesign/Activity.hbm.xml =================================================================== diff -u -r7be08bdc387f5f78514d44a89caab0ba1eea7655 -r75c68086ca1df84b98d4f53ca4e152071ceb8b06 --- lams_common/conf/hibernate/mappings/learningdesign/Activity.hbm.xml (.../Activity.hbm.xml) (revision 7be08bdc387f5f78514d44a89caab0ba1eea7655) +++ lams_common/conf/hibernate/mappings/learningdesign/Activity.hbm.xml (.../Activity.hbm.xml) (revision 75c68086ca1df84b98d4f53ca4e152071ceb8b06) @@ -11,162 +11,72 @@ 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.many-to-one not-null="true" - @hibernate.column name="learning_grouping_id" + @hibernate.column name="grouping_id" - + - + @@ -176,31 +86,22 @@ - - + - @hibernate.one-to-one - outer-join="auto" + @hibernate.many-to-one + not-null="true" + @hibernate.column name="learning_design_id" - - - - - @hibernate.one-to-one - outer-join="auto" - - - + + + - + - + - + @@ -289,54 +190,64 @@ - - - - @hibernate.one-to-one - outer-join="auto" - - - - - - @hibernate.one-to-one - outer-join="auto" - - - - - - @hibernate.many-to-one - not-null="true" - @hibernate.column name="learning_design_id" - - - - - - - @hibernate.many-to-one - not-null="true" - @hibernate.column name="learning_activity_type_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 + +