Index: lams_common/conf/hibernate/mappings/learningdesign/Activity.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/learningdesign/Attic/Activity.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/learningdesign/Activity.hbm.xml 1 Dec 2004 00:59:54 -0000 1.1 +++ lams_common/conf/hibernate/mappings/learningdesign/Activity.hbm.xml 2 Dec 2004 06:10:34 -0000 1.2 @@ -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 + +