blob: 4867b46c793e5602dd2d634dd68d47bad742354b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimImpl" entity-name="Claim" abstract="false" lazy="false" table="`PCLM_NPRC_CLM`">
<meta attribute="eclassName" inherit="false">Claim</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta>
<composite-id name="claimCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimCompositeKeyImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler">
<meta attribute="eclassName" inherit="false">ClaimCompositeKey</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta>
<key-property name="claimNumber" type="java.lang.String">
<column not-null="false" unique="false" name="`CLM_NBR`"/>
</key-property>
<key-property name="claimExtensionNumber" type="java.lang.String">
<column not-null="false" unique="false" name="`CLM_EXT_NBR`"/>
</key-property>
</composite-id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="billingName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`BILLING_NAME`" length="50"/>
</property>
<property name="claimGroupVSPId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`CLM_GRP_VSP_ID`" length="3"/>
</property>
<property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`CLM_STATUS`" length="2"/>
</property>
<bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan">
<key foreign-key="CLAIM_CLAIMLINE_KEY" update="true">
<column name="`CLM_NBR`" unique="false"/>
<column name="`CLM_EXT_NBR`" unique="false"/>
</key>
<one-to-many entity-name="ClaimLine"/>
</bag>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineImpl" entity-name="ClaimLine" abstract="false" lazy="false" table="`PCLM_NPRC_CLMLN`">
<meta attribute="eclassName" inherit="false">ClaimLine</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta>
<composite-id name="claimLineCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineCompositeKeyImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler">
<meta attribute="eclassName" inherit="false">ClaimLineCompositeKey</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta>
<key-many-to-one name="claim" entity-name="Claim" foreign-key="CLAIMLINECOMPOSITEKEY_CLAIM" lazy="false">
<column not-null="false" unique="false" name="`CLM_NBR`"/>
<column not-null="false" unique="false" name="`CLM_EXT_NBR`"/>
</key-many-to-one>
<key-property name="claimLineNumber" type="java.lang.String">
<column not-null="false" unique="false" name="`CLMLN_NBR`"/>
</key-property>
</composite-id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="claimLineBilledAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
<column not-null="false" unique="false" name="`CLMLN_BILL_AMT`"/>
</property>
<property name="serviceCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SVC_CD`"/>
</property>
<property name="claimLineStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`CLMLN_STATUS`" length="2"/>
</property>
</class>
</hibernate-mapping>