openmeetings-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

[openmeetings-dev] [openmeetings commit] r2119 - Adds the missing XDoclet Annotation to the Appointment Object codesite-noreply Fri Jun 26 07:00:19 2009

Author: seba.wagner
Date: Fri Jun 26 06:01:24 2009
New Revision: 2119

Modified:
     
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.hbm.xml
     
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.java

Log:
Adds the missing XDoclet Annotation to the Appointment Object

Modified:  
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.hbm.xml
==============================================================================
---  
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.hbm.xml
   
(original)
+++  
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.hbm.xml
   
Fri Jun 26 06:01:24 2009
@@ -14,7 +14,6 @@
      <property name="appointmentDescription" type="string"  
column="description"/>
      <many-to-one outer-join="true" not-null="false" column="category_id"  
lazy="false" cascade="none" name="appointmentCategory"  
class="org.openmeetings.app.hibernate.beans.calendar.AppointmentCategory"/>
      <many-to-one outer-join="true" not-null="false" column="remind_id"  
lazy="false" cascade="none" name="remind"  
class="org.openmeetings.app.hibernate.beans.calendar.AppointmentReminderTyps"/>
-    <many-to-one outer-join="true" not-null="true" column="room_id"  
lazy="false" cascade="none" name="room"  
class="org.openmeetings.app.hibernate.beans.rooms.Rooms"/>
      <property name="starttime" type="java.util.Date" column="starttime"/>
      <property name="updatetime" type="java.util.Date" column="updatetime"/>
      <property name="deleted" type="string" column="deleted"/>
@@ -23,6 +22,7 @@
      <property name="isMonthly" type="boolean" column="ismonthly"/>
      <property name="isYearly" type="boolean" column="isyearly"/>
      <property name="isDaily" type="boolean" column="isdaily"/>
+    <many-to-one outer-join="true" not-null="false" column="room_id"  
lazy="false" cascade="none" name="room"  
class="org.openmeetings.app.hibernate.beans.rooms.Rooms"/>
      <property name="icalId" type="string" column="icalId"/>
    </class>
  </hibernate-mapping>

Modified:  
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.java
==============================================================================
---  
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.java
      
(original)
+++  
trunk/webapp/src/app/org/openmeetings/app/hibernate/beans/calendar/Appointment.java
      
Fri Jun 26 06:01:24 2009
@@ -297,6 +297,16 @@
        public void setMeetingMember(List<MeetingMember> meetingMember) {
                this.meetingMember = meetingMember;
        }
+       
+       /**
+     * @hibernate.many-to-one
+     *  cascade="none"
+     *  column="room_id"
+     *  lazy="false"
+     *  class="org.openmeetings.app.hibernate.beans.rooms.Rooms"
+     *  not-null="false"
+     *  outer-join="true"
+     */
        public Rooms getRoom() {
                return room;
        }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en
-~----------~----~----~----~------~----~------~--~---