Use super method in getters and setters
This commit is contained in:
@@ -4,6 +4,19 @@
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<!-- TODO -->
|
||||
<entity class="dst.ass1.jpa.model.impl.Trip" name="Trip">
|
||||
<entity-listeners>
|
||||
<entity-listener class="dst.ass1.jpa.listener.TripListener" />
|
||||
</entity-listeners>
|
||||
<attributes>
|
||||
<id name="id"><generated-value /></id>
|
||||
<many-to-one name="pickup" target-entity="dst.ass1.jpa.model.impl.Location" optional="false" />
|
||||
<many-to-one name="destination" target-entity="dst.ass1.jpa.model.impl.Location" optional="false" />
|
||||
<many-to-many name="stops" target-entity="dst.ass1.jpa.model.impl.Location" />
|
||||
<one-to-one name="tripInfo" target-entity="dst.ass1.jpa.model.impl.TripInfo" />
|
||||
<one-to-one name="match" target-entity="dst.ass1.jpa.model.impl.Match" mapped-by="trip" />
|
||||
<one-to-one name="rider" target-entity="dst.ass1.jpa.model.impl.Rider" />
|
||||
</attributes>
|
||||
</entity>
|
||||
|
||||
</entity-mappings>
|
||||
|
||||
Reference in New Issue
Block a user