Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 939bc023d5e68b08a06a0604c85731844d87b44f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/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" discriminator-value="Claim" 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`" unique-key="c0"/>
			</key-property>
			<key-property name="claimExtensionNumber" type="java.lang.String">
				<column not-null="false" unique="false" name="`CLM_EXT_NBR`" unique-key="c0"/>
			</key-property>
		</composite-id>
		<discriminator type="string">
			<column name="`DTYPE`" index="PCLM_NPRC_CLMDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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 update="true" foreign-key="CLAIM_CLAIMLINE">
				<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" discriminator-value="ClaimLine" 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`" unique-key="c0"/>
				<column not-null="false" unique="false" name="`CLM_EXT_NBR`" unique-key="c0"/>
			</key-many-to-one>
			<key-property name="claimLineNumber" type="java.lang.String">
				<column not-null="false" unique="false" name="`CLMLN_NBR`" unique-key="c0"/>
			</key-property>
		</composite-id>
		<discriminator type="string">
			<column name="`DTYPE`" index="PCLM_NPRC_CLMLNDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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>

Back to the top