Rev 1310 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping
PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="pt.estgp.estgweb.domain.UrlStatDay" table="urlstatday" abstract="true">
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
<meta attribute="scope-class">public abstract</meta>
<composite-id name="id" class="pt.estgp.estgweb.domain.UrlStatDayId">
<meta attribute="scope-class">public</meta>
<key-property name="day" type="integer" column="day"/>
<key-many-to-one name="urlStatMonth" class="pt.estgp.estgweb.domain.UrlStatMonth">
<column name="month"/>
<column name="year"/>
<column name="relativePath"/>
</key-many-to-one>
</composite-id>
<discriminator column="discrimitator"/>
<timestamp name="updateDate" unsaved-value="null"/>
<property name="saveDate" type="timestamp"/>
<property name="date" type="date"/>
<property name="totalClicks" type="integer"/>
<subclass name="pt.estgp.estgweb.domain.UrlStatDayImpl" discriminator-value="UrlStatDayImpl"/>
</class>
</hibernate-mapping>