Rename MindmapUser to Collaboration.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-09 15:49:19 -03:00
parent 6f923656ee
commit 6c8664ada4
31 changed files with 301 additions and 251 deletions

View File

@@ -12,11 +12,11 @@
<property name="email"/>
<property name="creationDate" column="creation_date"/>
<set name="mindmapUsers"
<set name="collaborations"
cascade="all, delete-orphan"
inverse="true">
<key column="COLABORATOR_ID" not-null="true"/>
<one-to-many class="com.wisemapping.model.MindmapUser"/>
<one-to-many class="com.wisemapping.model.Collaboration"/>
</set>
<joined-subclass name="com.wisemapping.model.User" table="USER">

View File

@@ -22,18 +22,18 @@
<many-to-one name="owner" column="owner_id" unique="true" not-null="true"/>
<set name="mindmapUsers"
<set name="collaborations"
cascade="all, delete-orphan"
inverse="true">
<key column="MINDMAP_ID" not-null="true"/>
<one-to-many class="com.wisemapping.model.MindmapUser"/>
<one-to-many class="com.wisemapping.model.Collaboration"/>
</set>
<set name="collaboratorProperties"
cascade="all, delete-orphan"
inverse="true">
<key column="MINDMAP_ID" not-null="true"/>
<one-to-many class="com.wisemapping.model.CollaboratorProperties"/>
<one-to-many class="com.wisemapping.model.MindmapCollaborationProperties"/>
</set>
</class>

View File

@@ -5,7 +5,7 @@
<hibernate-mapping>
<class name="com.wisemapping.model.MindmapUser" table="MINDMAP_COLABORATOR">
<class name="com.wisemapping.model.Collaboration" table="MINDMAP_COLABORATOR">
<id name="id">
<generator class="increment"/>
</id>

View File

@@ -5,7 +5,7 @@
<hibernate-mapping>
<class name="com.wisemapping.model.CollaboratorProperties" table="MINDMAP_COLLABORATOR_PROPERTIES">
<class name="com.wisemapping.model.MindmapCollaborationProperties" table="MINDMAP_COLLABORATION_PROPERTIES">
<id name="id">
<generator class="increment"/>
</id>