
org.cristalise.kernel.utils.resources.mapFiles.graphModelMap.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!-- This file is part of the CRISTAL-iSE kernel. Copyright (c) 2001-2015 The CRISTAL Consortium. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. http://www.fsf.org/licensing/licenses/lgpl.html --> <mapping> <class name="org.cristalise.kernel.graph.model.GraphModel"> <map-to xml="GraphModel"/> <field name="GraphModelCastorData" type="org.cristalise.kernel.graph.model.GraphModelCastorData" direct="false"> <bind-xml auto-naming="deriveByClass" node="element"/> </field> </class> <class name="org.cristalise.kernel.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="org.cristalise.kernel.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="org.cristalise.kernel.graph.model.Vertex" direct="true" collection="array"> <bind-xml auto-naming="deriveByClass" node="element"/> </field> <field name="mEdgeImpls" type="org.cristalise.kernel.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="org.cristalise.kernel.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="org.cristalise.kernel.graph.model.GraphPoint" direct="false"> <bind-xml name="CentrePoint" node="element"/> </field> <field name="OutlinePoints" type="org.cristalise.kernel.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="org.cristalise.kernel.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="org.cristalise.kernel.graph.model.GraphPoint" direct="false"> <bind-xml name="OriginPoint" node="element"/> </field> <field name="TerminusPoint" type="org.cristalise.kernel.graph.model.GraphPoint" direct="false"> <bind-xml name="TerminusPoint" node="element"/> </field> <field name="MultiPoints" direct="false" collection="map"> <bind-xml name="MultiPoint" node="element"> <class name="org.exolab.castor.mapping.MapItem"> <field name="key" type="java.lang.Integer"> <bind-xml name="id" node="attribute"/> </field> <field name="value" type="org.cristalise.kernel.graph.model.GraphPoint"> <bind-xml name="GraphPoint"/> </field> </class> </bind-xml> </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="org.cristalise.kernel.graph.model.GraphableEdge" extends="org.cristalise.kernel.graph.model.DirectedEdge"> <map-to xml="GraphableEdge"/> <field name="mProperties" type="org.cristalise.kernel.utils.KeyValuePair" collection="array" container="false" direct="false" get-method="getKeyValuePairs" set-method="setKeyValuePairs"> <bind-xml name="Properties" node="element"/> </field> </class> <class name="org.cristalise.kernel.graph.model.GraphableVertex" extends="org.cristalise.kernel.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="org.cristalise.kernel.graph.model.GraphModel" direct="false"> <bind-xml name="childrenGraphModel" node="element"/> </field> <field name="mProperties" type="org.cristalise.kernel.utils.KeyValuePair" collection="array" container="false" direct="false" get-method="getKeyValuePairs" set-method="setKeyValuePairs"> <bind-xml name="Properties" node="element"/> </field> </class> </mapping>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy