awips2/edexOsgi/com.raytheon.edex.common/res/ihfs/Wfo.hbm.xml

156 lines
5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
This_software_product_contains_export-restricted_data_whose
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
an_export_license_or_other_authorization.
Contractor_Name:________Raytheon_Company
Contractor_Address:_____6825_Pine_Street,_Suite_340
________________________Mail_Stop_B8
________________________Omaha,_NE_68106
________________________402.291.0100
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
further_licensing_information.
-->
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping default-lazy="true">
<!--
Created by the Middlegen Hibernate plugin 2.1
http://boss.bekk.no/boss/middlegen/
http://www.hibernate.org/
-->
<class
name="com.raytheon.edex.db.objects.ihfs.Wfo"
table="wfo"
>
<id
name="wfo"
type="java.lang.String"
column="wfo"
>
<generator class="assigned" />
</id>
<!-- Associations -->
<!-- bi-directional one-to-many association to Location -->
<set
name="locations"
lazy="true"
inverse="true"
cascade="all-delete-orphan"
>
<meta attribute="field-description-get">Use add/remove instead.</meta>
<meta attribute="field-description-set">Use add/remove instead.</meta>
<meta attribute="field-description-add">Used to add children to this object.</meta>
<meta attribute="field-description-remove">Used to remove children from this object.</meta>
<key>
<column name="wfo" />
</key>
<one-to-many
class="com.raytheon.edex.db.objects.ihfs.Location"
/>
</set>
<!-- bi-directional one-to-many association to County -->
<set
name="countiesBySecondaryBack"
lazy="true"
inverse="true"
cascade="all-delete-orphan"
>
<meta attribute="field-description-get">Use add/remove instead.</meta>
<meta attribute="field-description-set">Use add/remove instead.</meta>
<meta attribute="field-description-add">Used to add children to this object.</meta>
<meta attribute="field-description-remove">Used to remove children from this object.</meta>
<key>
<column name="secondary_back" />
</key>
<one-to-many
class="com.raytheon.edex.db.objects.ihfs.County"
/>
</set>
<!-- bi-directional one-to-many association to County -->
<set
name="countiesByWfo"
lazy="true"
inverse="true"
cascade="all-delete-orphan"
>
<meta attribute="field-description-get">Use add/remove instead.</meta>
<meta attribute="field-description-set">Use add/remove instead.</meta>
<meta attribute="field-description-add">Used to add children to this object.</meta>
<meta attribute="field-description-remove">Used to remove children from this object.</meta>
<key>
<column name="wfo" />
</key>
<one-to-many
class="com.raytheon.edex.db.objects.ihfs.County"
/>
</set>
<!-- bi-directional one-to-many association to County -->
<set
name="countiesByPrimaryBack"
lazy="true"
inverse="true"
cascade="all-delete-orphan"
>
<meta attribute="field-description-get">Use add/remove instead.</meta>
<meta attribute="field-description-set">Use add/remove instead.</meta>
<meta attribute="field-description-add">Used to add children to this object.</meta>
<meta attribute="field-description-remove">Used to remove children from this object.</meta>
<key>
<column name="primary_back" />
</key>
<one-to-many
class="com.raytheon.edex.db.objects.ihfs.County"
/>
</set>
<!-- bi-directional one-to-many association to Nwrtransmitter -->
<set
name="nwrtransmitters"
lazy="true"
inverse="true"
cascade="all-delete-orphan"
>
<meta attribute="field-description-get">Use add/remove instead.</meta>
<meta attribute="field-description-set">Use add/remove instead.</meta>
<meta attribute="field-description-add">Used to add children to this object.</meta>
<meta attribute="field-description-remove">Used to remove children from this object.</meta>
<key>
<column name="wfo" />
</key>
<one-to-many
class="com.raytheon.edex.db.objects.ihfs.Nwrtransmitter"
/>
</set>
</class>
</hibernate-mapping>
<!--
-->