blob: eda771a1d0e918968b18dc292f2368e5022ea463 [file] [log] [blame]
<?xml version="1.0" encoding="ASCII"?>
<entity:LEntityModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:entity="http://osbp.eclipse.org/dsl/entity/v1" xmlns:types="http://osbp.eclipse.org/dsl/common/types/v1">
<packages name="org.eclipse.osbp.dsl.tests.carstore.entities">
<imports importedNamespace="org.osbp.mysmartshop.datatypes.*"/>
<types xsi:type="entity:LEntity" name="Base" mappedSuperclass="true" subTypes="//@packages.0/@types.1 //@packages.0/@types.2 //@packages.0/@types.3 //@packages.0/@types.4 //@packages.0/@types.5">
<annotationInfo xsi:type="types:LClass"/>
<features xsi:type="entity:LEntityAttribute" name="uuid" uuid="true">
<annotationInfo xsi:type="entity:LEntityFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
</types>
<types xsi:type="entity:LEntity" name="Car" superType="//@packages.0/@types.0">
<annotationInfo xsi:type="types:LClass"/>
<persistenceInfo/>
<features xsi:type="entity:LEntityAttribute" name="number">
<annotationInfo xsi:type="entity:LEntityFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
<features xsi:type="entity:LEntityAttribute" name="finishingDate">
<annotationInfo xsi:type="entity:LEntityFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.22"/>
</features>
<features xsi:type="entity:LEntityReference" name="addons" cascading="true" type="//@packages.0/@types.2" opposite="//@packages.0/@types.2/@features.1">
<multiplicity lower="MANY"/>
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
<features xsi:type="entity:LEntityReference" name="owner" type="//@packages.0/@types.5" opposite="//@packages.0/@types.5/@features.2">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
<features xsi:type="entity:LEntityReference" name="cycles1" cascading="true" type="//@packages.0/@types.3" opposite="//@packages.0/@types.3/@features.0">
<multiplicity lower="MANY"/>
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
</types>
<types xsi:type="entity:LEntity" name="Addon" superType="//@packages.0/@types.0">
<annotationInfo xsi:type="types:LClass"/>
<persistenceInfo/>
<features xsi:type="entity:LEntityAttribute" name="description">
<annotationInfo xsi:type="entity:LEntityFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
<features xsi:type="entity:LEntityReference" name="car" type="//@packages.0/@types.1" opposite="//@packages.0/@types.1/@features.2">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
</types>
<types xsi:type="entity:LEntity" name="ToCycle1" superType="//@packages.0/@types.0">
<annotationInfo xsi:type="types:LClass"/>
<persistenceInfo/>
<features xsi:type="entity:LEntityReference" name="car" type="//@packages.0/@types.1" opposite="//@packages.0/@types.1/@features.4">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
<features xsi:type="entity:LEntityReference" name="cycles2" cascading="true" type="//@packages.0/@types.4" opposite="//@packages.0/@types.4/@features.0">
<multiplicity lower="MANY"/>
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
</types>
<types xsi:type="entity:LEntity" name="ToCycle2" superType="//@packages.0/@types.0">
<annotationInfo xsi:type="types:LClass"/>
<persistenceInfo/>
<features xsi:type="entity:LEntityReference" name="parent" type="//@packages.0/@types.3" opposite="//@packages.0/@types.3/@features.1">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
<features xsi:type="entity:LEntityReference" name="car" type="//@packages.0/@types.1">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
</types>
<types xsi:type="entity:LEntity" name="Person" superType="//@packages.0/@types.0">
<annotationInfo xsi:type="types:LClass"/>
<persistenceInfo/>
<features xsi:type="entity:LEntityAttribute" name="firstname">
<annotationInfo xsi:type="entity:LEntityFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
<features xsi:type="entity:LEntityAttribute" name="lastname">
<annotationInfo xsi:type="entity:LEntityFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
<features xsi:type="entity:LEntityReference" name="ownsCars" type="//@packages.0/@types.1" opposite="//@packages.0/@types.1/@features.3">
<multiplicity lower="MANY"/>
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
<features xsi:type="entity:LEntityAttribute" name="homeAddress" type="//@packages.0/@types.6">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
<features xsi:type="entity:LEntityAttribute" name="workAddress" type="//@packages.0/@types.6">
<annotationInfo xsi:type="entity:LEntityFeature"/>
</features>
</types>
<types xsi:type="entity:LBean" name="Address">
<annotationInfo xsi:type="types:LClass"/>
<features xsi:type="entity:LBeanAttribute" name="streetname">
<annotationInfo xsi:type="entity:LBeanFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
<features xsi:type="entity:LBeanAttribute" name="postalcode">
<annotationInfo xsi:type="entity:LBeanFeature"/>
<type href="platform:/resource/org.eclipse.osbp.dsl.tests.model/models/mysmartshop.datatype#/0/@packages.0/@types.19"/>
</features>
</types>
</packages>
</entity:LEntityModel>