@hibernate.class table="lams_learning_activity" @hibernate.id generator-class="assigned" type="java.lang.Long" column="activity_id" @hibernate.property column="id" length="11" @hibernate.property column="description" length="65535" @hibernate.property column="title" length="255" @hibernate.property column="xcoord" length="11" @hibernate.property column="ycoord" length="11" @hibernate.property column="order_id" length="11" @hibernate.property column="define_later_flag" length="4" not-null="true" @hibernate.property column="create_date_time" length="19" not-null="true" @hibernate.property column="offline_instructions" length="65535" @hibernate.many-to-one not-null="true" @hibernate.column name="learning_grouping_id" @hibernate.many-to-one not-null="true" @hibernate.column name="learning_library_id" @hibernate.one-to-one outer-join="auto" @hibernate.one-to-one outer-join="auto" @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.LamsLearningTransition" @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.LamsLearningTransition" @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.LamsLearningActivity" @hibernate.many-to-one not-null="true" @hibernate.column name="parent_activity_id" @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"