diff options
| author | Andrew Branson <andrew@andrewbranson.net> | 2011-06-21 15:46:02 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew@andrewbranson.net> | 2011-06-21 15:46:02 +0200 |
| commit | 254ee6f47eebfc00462c10756a92066e82cc1a96 (patch) | |
| tree | 8273ff95c704e6faa3f92b4711253427b9ba0481 /resources/mapFiles/graphModelMap.xml | |
Initial commit2.2
Diffstat (limited to 'resources/mapFiles/graphModelMap.xml')
| -rwxr-xr-x | resources/mapFiles/graphModelMap.xml | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/resources/mapFiles/graphModelMap.xml b/resources/mapFiles/graphModelMap.xml new file mode 100755 index 0000000..cebb589 --- /dev/null +++ b/resources/mapFiles/graphModelMap.xml @@ -0,0 +1,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>
|
