Rev 1547 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
110 | susana | 1 | <?xml version="1.0"?> |
2 | <!DOCTYPE hibernate-mapping |
||
3 | PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
||
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
||
5 | |||
6 | <hibernate-mapping> |
||
726 | jmachado | 7 | <class name="pt.estgp.estgweb.domain.ComunicationFolder" table="comunicationfolder" abstract="true"> |
8 | <meta attribute="extends">pt.estgp.estgweb.domain.OwnedDomainObject</meta> |
||
110 | susana | 9 | <meta attribute="scope-class">public abstract</meta> |
10 | <id name="id" type="long"> |
||
11 | <generator class="native"/> |
||
12 | </id> |
||
13 | <discriminator column="discrimitator"/> |
||
1549 | jmachado | 14 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
110 | susana | 15 | <property name="saveDate" type="timestamp"/> |
206 | jmachado | 16 | <property name="name" type="string" index="nameIndex"/> |
225 | jmachado | 17 | <property name="code" type="string" index="codeIndex"/> |
726 | jmachado | 18 | <property name="targetRoles" type="string"/> |
236 | jmachado | 19 | <many-to-one name="owner" class="pt.estgp.estgweb.domain.GenericUser" lazy="false" outer-join="true"/> |
726 | jmachado | 20 | <many-to-one name="blog" class="pt.estgp.estgweb.domain.Blog" lazy="false" outer-join="true"/> |
21 | <subclass name="pt.estgp.estgweb.domain.ComunicationFolderImpl" discriminator-value="ComunicationFolderImpl"/> |
||
203 | jmachado | 22 | </class> |
23 | |||
110 | susana | 24 | </hibernate-mapping> |