Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6420f25e3189b9144f01c4dcc8e44242ad2112b8 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="model6" nsURI="http://www.eclipse.org/emf/CDO/tests/model6/1.0.0"
    nsPrefix="model6">
  <eClassifiers xsi:type="ecore:EClass" name="Root">
    <eStructuralFeatures xsi:type="ecore:EReference" name="listA" upperBound="-1"
        eType="#//BaseObject" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="listB" upperBound="-1"
        eType="#//BaseObject" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="listC" upperBound="-1"
        eType="#//BaseObject" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="listD" upperBound="-1"
        eType="#//BaseObject" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="BaseObject">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attributeOptional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attributeRequired" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attributeList" upperBound="-1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ReferenceObject" eSuperTypes="#//BaseObject">
    <eStructuralFeatures xsi:type="ecore:EReference" name="referenceOptional" eType="#//BaseObject"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="referenceList" upperBound="-1"
        eType="#//BaseObject"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ContainmentObject" eSuperTypes="#//BaseObject">
    <eStructuralFeatures xsi:type="ecore:EReference" name="containmentOptional" eType="#//BaseObject"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="containmentList" upperBound="-1"
        eType="#//BaseObject" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="UnorderedList">
    <eStructuralFeatures xsi:type="ecore:EReference" name="contained" ordered="false"
        upperBound="-1" eType="#//UnorderedList" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="referenced" ordered="false"
        upperBound="-1" eType="#//UnorderedList"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PropertiesMap">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="persistentMap" upperBound="-1"
        eType="#//PropertiesMapEntry" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="transientMap" upperBound="-1"
        eType="#//PropertiesMapEntry" transient="true" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PropertiesMapEntry" instanceClassName="java.util.Map$Entry">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//PropertiesMapEntryValue"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PropertiesMapEntryValue">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="A">
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedDs" upperBound="-1"
        eType="#//D" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedBs" upperBound="-1"
        eType="#//B" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="B">
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedC" eType="#//C" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="The style of the node."/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="C"/>
  <eClassifiers xsi:type="ecore:EClass" name="D">
    <eStructuralFeatures xsi:type="ecore:EReference" name="data" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"
        containment="true" resolveProxies="false"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="E">
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedAs" upperBound="-1"
        eType="#//A" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="F">
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedEs" upperBound="-1"
        eType="#//E" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="G">
    <eOperations name="isAttributeModified" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    <eOperations name="isReferenceModified" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    <eOperations name="isListModified" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="dummy" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="reference" lowerBound="1"
        eType="#//BaseObject"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="list" upperBound="-1" eType="#//BaseObject"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="MyEnum">
    <eLiterals name="ZERO"/>
    <eLiterals name="ONE" value="1"/>
    <eLiterals name="TWO" value="2"/>
    <eLiterals name="THREE" value="3"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="MyEnumList">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="myEnum" upperBound="-1"
        eType="#//MyEnum"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="MyEnumListUnsettable">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="myEnum" upperBound="-1"
        eType="#//MyEnum" unsettable="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Holder" eSuperTypes="#//Holdable">
    <eStructuralFeatures xsi:type="ecore:EReference" name="held" upperBound="-1" eType="#//Holdable"
        transient="true" derived="true">
      <eAnnotations source="http://www.eclipse.org/emf/CDO">
        <details key="persistent" value="true"/>
        <details key="filter" value="owned"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="owned" upperBound="-1"
        eType="#//Holdable" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Thing" eSuperTypes="#//Holdable"/>
  <eClassifiers xsi:type="ecore:EClass" name="Holdable" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="HasNillableAttribute">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="nillable" eType="#//MyString"
        unsettable="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="MyString" instanceClassName="java.lang.String"/>
  <eClassifiers xsi:type="ecore:EClass" name="EmptyStringDefault">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attribute" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral=""/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="EmptyStringDefaultUnsettable">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attribute" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral="" unsettable="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="UnsettableAttributes">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBigDecimal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigDecimal"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBigInteger" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBoolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBooleanObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrByte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrByteArray" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteArray"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrByteObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrChar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrCharacterObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ECharacterObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrDouble" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrDoubleObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrFloat" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrFloatObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrInt" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrIntegerObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrJavaClass" unsettable="true">
      <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaClass">
        <eTypeArguments/>
      </eGenericType>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrJavaObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrLong" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrLongObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrShort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShort"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrShortObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShortObject"
        unsettable="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        unsettable="true"/>
  </eClassifiers>
</ecore:EPackage>

Back to the top