blob: cebb589979f2d7bd0fe1e4e119dd5274110c9da8 (
plain)
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
|
<?xml version="1.0"?>
<!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Sebastian Gaspard (Agilium) -->
<mapping>
<class name="com.c2kernel.graph.model.GraphModel">
<map-to xml="GraphModel"/>
<field name="GraphModelCastorData" type="com.c2kernel.graph.model.GraphModelCastorData" direct="false">
<bind-xml auto-naming="deriveByClass" node="element"/>
</field>
</class>
<class name="com.c2kernel.graph.model.GraphPoint">
<map-to xml="GraphPoint"/>
<field name="x" type="integer" direct="true">
<bind-xml name="x" node="attribute"/>
</field>
<field name="y" type="integer" direct="true">
<bind-xml name="y" node="attribute"/>
</field>
</class>
<class name="com.c2kernel.graph.model.GraphModelCastorData">
<map-to xml="GraphModelCastorData"/>
<field name="mClassNameOfVertexOutlineCreator" type="string" direct="true">
<bind-xml name="ClassNameOfVertexOutlineCreator" node="attribute"/>
</field>
<field name="mVertexImpls" type="com.c2kernel.graph.model.Vertex" direct="true" collection="array">
<bind-xml auto-naming="deriveByClass" node="element"/>
</field>
<field name="mEdgeImpls" type="com.c2kernel.graph.model.DirectedEdge" direct="true" collection="array">
<bind-xml auto-naming="deriveByClass" node="element"/>
</field>
<field name="mStartVertexId" type="integer" direct="true">
<bind-xml name="StartVertexId" node="attribute"/>
</field>
<field name="mNextId" type="integer" direct="true">
<bind-xml name="NextId" node="attribute"/>
</field>
</class>
<class name="com.c2kernel.graph.model.Vertex">
<map-to xml="Vertex"/>
<field name="ID" type="integer" direct="false">
<bind-xml name="ID" node="attribute"/>
</field>
<field name="Name" type="string" direct="false">
<bind-xml name="Name" node="attribute"/>
</field>
<field name="Height" type="integer" direct="false">
<bind-xml name="Height" node="attribute"/>
</field>
<field name="Width" type="integer" direct="false">
<bind-xml name="Width" node="attribute"/>
</field>
<field name="CentrePoint" type="com.c2kernel.graph.model.GraphPoint" direct="false">
<bind-xml name="CentrePoint" node="element"/>
</field>
<field name="OutlinePoints" type="com.c2kernel.graph.model.GraphPoint" direct="false" collection="array">
<bind-xml name="OutlinePoint" node="element"/>
</field>
<field name="InEdgeIds" type="integer" direct="false" collection="array">
<bind-xml name="InEdgeId" node="element"/>
</field>
<field name="OutEdgeIds" type="integer" direct="false" collection="array">
<bind-xml name="OutEdgeId" node="element"/>
</field>
</class>
<class name="com.c2kernel.graph.model.DirectedEdge">
<map-to xml="DirectedEdge"/>
<field name="ID" type="integer" direct="false">
<bind-xml name="ID" node="attribute"/>
</field>
<field name="OriginPoint" type="com.c2kernel.graph.model.GraphPoint" direct="false">
<bind-xml name="OriginPoint" node="element"/>
</field>
<field name="TerminusPoint" type="com.c2kernel.graph.model.GraphPoint" direct="false">
<bind-xml name="TerminusPoint" node="element"/>
</field>
<field name="OriginVertexId" type="integer" direct="false">
<bind-xml name="OriginVertexId" node="attribute"/>
</field>
<field name="TerminusVertexId" type="integer" direct="false">
<bind-xml name="TerminusVertexId" node="attribute"/>
</field>
</class>
<class name="com.c2kernel.graph.model.GraphableEdge" extends="com.c2kernel.graph.model.DirectedEdge">
<map-to xml="GraphableEdge"/>
<field name="mProperties"
type="com.c2kernel.utils.KeyValuePair"
collection="array"
container="false"
direct="false"
get-method="getKeyValuePairs"
set-method="setKeyValuePairs">
<bind-xml name="Properties" node="element"/>
</field>
</class>
<class name="com.c2kernel.graph.model.GraphableVertex" extends="com.c2kernel.graph.model.Vertex">
<map-to xml="GraphableVertex"/>
<field name="mIsLayoutable"
type="boolean"
direct="false"
get-method="getIsLayoutable"
set-method="setIsLayoutable">
<bind-xml name="IsLayoutable" node="attribute"/>
</field>
<field name="mIsComposite"
type="boolean"
direct="false"
get-method="getIsComposite"
set-method="setIsComposite">
<bind-xml name="IsComposite" node="attribute"/>
</field>
<field name="childrenGraphModel" type="com.c2kernel.graph.model.GraphModel" direct="false">
<bind-xml name="childrenGraphModel" node="element"/>
</field>
<field name="cNonLayoutableChildren" type="com.c2kernel.graph.model.GraphableVertex" direct="false" collection="array">
<bind-xml auto-naming="deriveByClass" node="element"/>
</field>
<field name="mProperties"
type="com.c2kernel.utils.KeyValuePair"
collection="array"
container="false"
direct="false"
get-method="getKeyValuePairs"
set-method="setKeyValuePairs">
<bind-xml name="Properties" node="element"/>
</field>
</class>
</mapping>
|