Skip to content

Commit e918d4c

Browse files
committed
add csdl module
- add doc pdf - add xsd files - add ecore generate modules Signed-off-by: Stefan Bischof <[email protected]>
1 parent 872ddab commit e918d4c

32 files changed

+11890
-0
lines changed

csdl/model/[MC-CSDL].pdf

3.03 MB
Binary file not shown.

csdl/model/[MS-CSDLBI].pdf

3.04 MB
Binary file not shown.

csdl/model/pom.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.eclipse.daanse</groupId>
7+
<artifactId>org.eclipse.daanse.xmla.csdl</artifactId>
8+
<version>${revision}</version>
9+
</parent>
10+
<artifactId>org.eclipse.daanse.xmla.csdl.model</artifactId>
11+
<packaging>pom</packaging>
12+
13+
<modules>
14+
<module>v2</module>
15+
</modules>
16+
17+
<build>
18+
<plugins>
19+
20+
<plugin>
21+
<groupId>org.apache.maven.plugins</groupId>
22+
<artifactId>maven-javadoc-plugin</artifactId>
23+
<configuration>
24+
<skip>true</skip>
25+
</configuration>
26+
</plugin>
27+
</plugins>
28+
</build>
29+
<pluginRepositories>
30+
<pluginRepository>
31+
<releases>
32+
<enabled>false</enabled>
33+
</releases>
34+
<snapshots>
35+
<enabled>true</enabled>
36+
</snapshots>
37+
<id>ossrhp</id>
38+
<name>Sonatype Nexus Snapshots</name>
39+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
40+
</pluginRepository>
41+
</pluginRepositories>
42+
</project>

csdl/model/v2/an/model/an.ecore

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="annotation" nsURI="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
4+
nsPrefix="an">
5+
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
6+
<details key="oSGiCompatible" value="true"/>
7+
<details key="basePackage" value="org.eclipse.daanse.xmla.csdl.model.v2"/>
8+
<details key="prefix" value="Annotation"/>
9+
<details key="fileExtensions" value="an"/>
10+
</eAnnotations>
11+
<eClassifiers xsi:type="ecore:EEnum" name="TStoreGeneratedPattern">
12+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
13+
<details key="name" value="TStoreGeneratedPattern"/>
14+
</eAnnotations>
15+
<eLiterals name="None"/>
16+
<eLiterals name="Identity" value="1"/>
17+
<eLiterals name="Computed" value="2"/>
18+
</eClassifiers>
19+
<eClassifiers xsi:type="ecore:EDataType" name="TStoreGeneratedPatternObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
20+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
21+
<details key="name" value="TStoreGeneratedPattern:Object"/>
22+
<details key="baseType" value="TStoreGeneratedPattern"/>
23+
</eAnnotations>
24+
</eClassifiers>
25+
<eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
26+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
27+
<details key="name" value=""/>
28+
<details key="kind" value="mixed"/>
29+
</eAnnotations>
30+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
31+
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
32+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
33+
<details key="kind" value="elementWildcard"/>
34+
<details key="name" value=":mixed"/>
35+
</eAnnotations>
36+
</eStructuralFeatures>
37+
<eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
38+
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
39+
transient="true" containment="true" resolveProxies="false">
40+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
41+
<details key="kind" value="attribute"/>
42+
<details key="name" value="xmlns:prefix"/>
43+
</eAnnotations>
44+
</eStructuralFeatures>
45+
<eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
46+
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
47+
transient="true" containment="true" resolveProxies="false">
48+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
49+
<details key="kind" value="attribute"/>
50+
<details key="name" value="xsi:schemaLocation"/>
51+
</eAnnotations>
52+
</eStructuralFeatures>
53+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lazyLoadingEnabled" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
54+
unsettable="true">
55+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
56+
<details key="kind" value="attribute"/>
57+
<details key="name" value="LazyLoadingEnabled"/>
58+
<details key="namespace" value="##targetNamespace"/>
59+
</eAnnotations>
60+
</eStructuralFeatures>
61+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="storeGeneratedPattern"
62+
eType="#//TStoreGeneratedPattern" unsettable="true">
63+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
64+
<details key="kind" value="attribute"/>
65+
<details key="name" value="StoreGeneratedPattern"/>
66+
<details key="namespace" value="##targetNamespace"/>
67+
</eAnnotations>
68+
</eStructuralFeatures>
69+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="useStrongSpatialTypes"
70+
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
71+
defaultValueLiteral="true" unsettable="true">
72+
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
73+
<details key="kind" value="attribute"/>
74+
<details key="name" value="UseStrongSpatialTypes"/>
75+
<details key="namespace" value="##targetNamespace"/>
76+
</eAnnotations>
77+
</eStructuralFeatures>
78+
</eClassifiers>
79+
</ecore:EPackage>

csdl/model/v2/an/pom.xml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.eclipse.daanse</groupId>
7+
<artifactId>org.eclipse.daanse.xmla.csdl.model.v2</artifactId>
8+
<version>${revision}</version>
9+
</parent>
10+
<artifactId>org.eclipse.daanse.xmla.csdl.model.v2.an</artifactId>
11+
12+
<dependencies>
13+
<dependency>
14+
<groupId>org.eclipse.emf</groupId>
15+
<artifactId>org.eclipse.emf.common</artifactId>
16+
</dependency>
17+
<dependency>
18+
<groupId>org.eclipse.emf</groupId>
19+
<artifactId>org.eclipse.emf.ecore</artifactId>
20+
</dependency>
21+
<dependency>
22+
<groupId>org.eclipse.emf</groupId>
23+
<artifactId>org.eclipse.emf.ecore.xmi</artifactId>
24+
</dependency>
25+
<dependency>
26+
<groupId>org.eclipse.fennec.emf</groupId>
27+
<artifactId>org.eclipse.fennec.emf.osgi.api</artifactId>
28+
</dependency>
29+
</dependencies>
30+
31+
<build>
32+
<resources>
33+
<resource>
34+
<directory>model</directory>
35+
<includes>
36+
<include>**/*.ecore</include>
37+
</includes>
38+
</resource>
39+
</resources>
40+
<plugins>
41+
<plugin>
42+
<groupId>org.eclipse.daanse</groupId>
43+
<artifactId>org.eclipse.daanse.tooling.emf.codegen.maven</artifactId>
44+
<version>0.0.1-SNAPSHOT</version>
45+
<executions>
46+
<execution>
47+
<goals>
48+
<goal>generate</goal>
49+
</goals>
50+
<configuration>
51+
<ecoreFile>model/an.ecore</ecoreFile>
52+
<outputDirectory>target/generated-sources/emf</outputDirectory>
53+
</configuration>
54+
</execution>
55+
</executions>
56+
<dependencies>
57+
<dependency>
58+
<groupId>biz.aQute.bnd</groupId>
59+
<artifactId>biz.aQute.bndlib</artifactId>
60+
<version>7.1.0</version>
61+
</dependency>
62+
</dependencies>
63+
</plugin>
64+
<plugin>
65+
<groupId>org.codehaus.mojo</groupId>
66+
<artifactId>build-helper-maven-plugin</artifactId>
67+
<executions>
68+
<execution>
69+
<phase>generate-sources</phase>
70+
<goals>
71+
<goal>add-source</goal>
72+
</goals>
73+
<configuration>
74+
<sources>
75+
<source>target/generated-sources/emf</source>
76+
</sources>
77+
</configuration>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
</plugins>
82+
</build>
83+
84+
</project>

0 commit comments

Comments
 (0)