Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 18:10:14 +0000
committerMartin Taal2011-11-01 18:10:14 +0000
commit709ec105b89258b5e6b27e57cb3deb177529c54c (patch)
tree436b7b45306590da29d24dfa9b6ad252c2a987d1 /examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd
parent0298896cf5731abb5e728ca6997fd2410d0a8f0f (diff)
downloadorg.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.gz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.xz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.zip
Remove everything for restructuring
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd56
1 files changed, 0 insertions, 56 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd
deleted file mode 100644
index 5b7f8120f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys">
- <xsd:complexType name="Book">
- <xsd:sequence>
- <xsd:element name="title" type="xsd:string" />
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="writersByName" type="StringToWriterMapEntry">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @HbMapKey(columns=@Column(name="THENAMEOFTHEWRITER"))
- @JoinColumn(name="JOIN_COLUMN_WRITER")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="cityByWriter" type="WriterToCityMapEntry">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @MapKeyManyToMany(targetEntity="Writer", joinColumns=@JoinColumn(name="THE_CITYWRITER_ID"))
- @JoinColumn(name="JOIN_COLUMN_CITY")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="Writer">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Column(name="THENAMEOFTHEWRITER")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="City">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="cityWriter" type="xsd:IDREF" ecore:reference="Writer">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @JoinColumn(name="THE_CITYWRITER_ID")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType ecore:instanceClass="java.util.Map$Entry" name="StringToWriterMapEntry">
- <xsd:attribute name="key" type="xsd:string" />
- <xsd:attribute name="value" type="xsd:IDREF" ecore:reference="Writer" />
- </xsd:complexType>
- <xsd:complexType ecore:instanceClass="java.util.Map$Entry" name="WriterToCityMapEntry">
- <xsd:attribute name="key" type="xsd:IDREF" ecore:reference="Writer" />
- <xsd:attribute name="value" type="xsd:IDREF" ecore:reference="City" />
- </xsd:complexType>
-</xsd:schema> \ No newline at end of file

Back to the top