summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-05-30 08:37:45 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-05-30 08:37:45 +0200
commitb086f57f56bf0eb9dab9cf321a0f69aaaae84347 (patch)
tree8e6e26e8b7eed6abad7a17b093bdbb55c5e6b1ba /src/main/resources
parent22088ae8d2d5ff390518dbe1c4372325ffb3a647 (diff)
Initial Maven Conversion
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/boot/CA/NoWorkflow.xml22
-rw-r--r--src/main/resources/boot/CA/ServerItemWorkflow.xml217
-rw-r--r--src/main/resources/boot/EA/CreateNewAgent.xml19
-rw-r--r--src/main/resources/boot/EA/CreateNewItem.xml19
-rw-r--r--src/main/resources/boot/OD/CompositeActivityDef.xsd186
-rw-r--r--src/main/resources/boot/OD/ElementaryActivityDef.xsd29
-rw-r--r--src/main/resources/boot/OD/Module.xsd142
-rw-r--r--src/main/resources/boot/OD/NewAgent.xsd20
-rw-r--r--src/main/resources/boot/OD/NewItem.xsd73
-rw-r--r--src/main/resources/boot/OD/PredefinedStepOutcome.xsd13
-rw-r--r--src/main/resources/boot/OD/PropertyDescription.xsd36
-rw-r--r--src/main/resources/boot/OD/Schema.xsd4
-rw-r--r--src/main/resources/boot/OD/Script.xsd38
-rw-r--r--src/main/resources/boot/SC/ServerNewEntity.xml11
-rw-r--r--src/main/resources/boot/property/CAProp.xml5
-rw-r--r--src/main/resources/boot/property/EAProp.xml5
-rw-r--r--src/main/resources/boot/property/ODProp.xml5
-rw-r--r--src/main/resources/boot/property/SCProp.xml4
-rw-r--r--src/main/resources/images/Thumbs.dbbin0 -> 58368 bytes
-rw-r--r--src/main/resources/images/about.pngbin0 -> 1906 bytes
-rw-r--r--src/main/resources/images/compositeMember.gifbin0 -> 916 bytes
-rw-r--r--src/main/resources/images/elementaryMember.gifbin0 -> 872 bytes
-rw-r--r--src/main/resources/images/find.pngbin0 -> 795 bytes
-rw-r--r--src/main/resources/images/folder.pngbin0 -> 559 bytes
-rw-r--r--src/main/resources/images/graph/autolayout.pngbin0 -> 909 bytes
-rw-r--r--src/main/resources/images/graph/copy.pngbin0 -> 805 bytes
-rw-r--r--src/main/resources/images/graph/delete.pngbin0 -> 858 bytes
-rw-r--r--src/main/resources/images/graph/edge.pngbin0 -> 565 bytes
-rw-r--r--src/main/resources/images/graph/history.pngbin0 -> 991 bytes
-rw-r--r--src/main/resources/images/graph/load.pngbin0 -> 559 bytes
-rw-r--r--src/main/resources/images/graph/newvertex.pngbin0 -> 703 bytes
-rw-r--r--src/main/resources/images/graph/newvertex_large.pngbin0 -> 1221 bytes
-rw-r--r--src/main/resources/images/graph/print.pngbin0 -> 870 bytes
-rw-r--r--src/main/resources/images/graph/resizepad.gifbin0 -> 842 bytes
-rw-r--r--src/main/resources/images/graph/save.pngbin0 -> 892 bytes
-rw-r--r--src/main/resources/images/graph/selection.gifbin0 -> 132 bytes
-rw-r--r--src/main/resources/images/graph/start.pngbin0 -> 732 bytes
-rw-r--r--src/main/resources/images/graph/zoomout.pngbin0 -> 927 bytes
-rw-r--r--src/main/resources/images/info.pngbin0 -> 866 bytes
-rw-r--r--src/main/resources/images/leaf.pngbin0 -> 626 bytes
-rw-r--r--src/main/resources/images/loading.gifbin0 -> 1245 bytes
-rw-r--r--src/main/resources/images/next.pngbin0 -> 921 bytes
-rw-r--r--src/main/resources/images/reload.gifbin0 -> 1005 bytes
-rw-r--r--src/main/resources/images/typeicons/agent_16.pngbin0 -> 810 bytes
-rw-r--r--src/main/resources/images/typeicons/agent_32.pngbin0 -> 1803 bytes
-rw-r--r--src/main/resources/images/typeicons/compositeactivitydesc_16.pngbin0 -> 788 bytes
-rw-r--r--src/main/resources/images/typeicons/compositeactivitydesc_32.pngbin0 -> 2102 bytes
-rw-r--r--src/main/resources/images/typeicons/elementaryactivitydesc_16.pngbin0 -> 724 bytes
-rw-r--r--src/main/resources/images/typeicons/elementaryactivitydesc_32.pngbin0 -> 1871 bytes
-rw-r--r--src/main/resources/images/typeicons/outcome_desc_32.pngbin0 -> 1881 bytes
-rw-r--r--src/main/resources/images/typeicons/outcomedesc_16.pngbin0 -> 840 bytes
-rw-r--r--src/main/resources/images/typeicons/outcomedesc_32.pngbin0 -> 1881 bytes
-rw-r--r--src/main/resources/images/typeicons/script_16.pngbin0 -> 894 bytes
-rw-r--r--src/main/resources/images/typeicons/script_32.pngbin0 -> 2056 bytes
-rw-r--r--src/main/resources/images/typeicons/server_16.pngbin0 -> 875 bytes
-rw-r--r--src/main/resources/images/typeicons/server_32.pngbin0 -> 1882 bytes
-rw-r--r--src/main/resources/mapFiles/CastorHashMapMap.xml41
-rw-r--r--src/main/resources/mapFiles/CollectionMap.xml116
-rw-r--r--src/main/resources/mapFiles/HistoryMap.xml43
-rw-r--r--src/main/resources/mapFiles/JobListMap.xml48
-rw-r--r--src/main/resources/mapFiles/KeyValuePairMap.xml30
-rw-r--r--src/main/resources/mapFiles/LifeCycleMap.xml121
-rw-r--r--src/main/resources/mapFiles/ModuleMap.xml27
-rw-r--r--src/main/resources/mapFiles/NewEntityMap.xml102
-rw-r--r--src/main/resources/mapFiles/PropertiesMap.xml46
-rw-r--r--src/main/resources/mapFiles/TransferMap.xml19
-rw-r--r--src/main/resources/mapFiles/ViewpointMap.xml21
-rw-r--r--src/main/resources/mapFiles/graphModelMap.xml126
-rw-r--r--src/main/resources/mapFiles/index10
-rw-r--r--src/main/resources/openldap/README5
-rw-r--r--src/main/resources/openldap/cristal2.schema49
-rw-r--r--src/main/resources/openldap/slapd.conf20
-rw-r--r--src/main/resources/textFiles/defaultConf.properties5
-rw-r--r--src/main/resources/textFiles/license.html38
74 files changed, 1715 insertions, 0 deletions
diff --git a/src/main/resources/boot/CA/NoWorkflow.xml b/src/main/resources/boot/CA/NoWorkflow.xml
new file mode 100644
index 0000000..c0e2d6f
--- /dev/null
+++ b/src/main/resources/boot/CA/NoWorkflow.xml
@@ -0,0 +1,22 @@
+<CompositeActivityDef ID="-1" Name="NoWorkflow" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="-1" NextId="0"/>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ </Properties>
+</CompositeActivityDef>
diff --git a/src/main/resources/boot/CA/ServerItemWorkflow.xml b/src/main/resources/boot/CA/ServerItemWorkflow.xml
new file mode 100644
index 0000000..e480b07
--- /dev/null
+++ b/src/main/resources/boot/CA/ServerItemWorkflow.xml
@@ -0,0 +1,217 @@
+<CompositeActivityDef ID="-1" Name="ServerItemWorkflow" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="4" NextId="21">
+ <JoinDef ID="9" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="244" y="378"/>
+ <OutlinePoint x="214" y="366"/>
+ <OutlinePoint x="274" y="366"/>
+ <OutlinePoint x="274" y="390"/>
+ <OutlinePoint x="214" y="390"/>
+ <InEdgeId>16</InEdgeId>
+ <InEdgeId>17</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="8" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="448" y="271"/>
+ <OutlinePoint x="418" y="259"/>
+ <OutlinePoint x="478" y="259"/>
+ <OutlinePoint x="478" y="283"/>
+ <OutlinePoint x="418" y="283"/>
+ <InEdgeId>15</InEdgeId>
+ <OutEdgeId>16</OutEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <LoopDef ID="7" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="36" y="284"/>
+ <OutlinePoint x="6" y="272"/>
+ <OutlinePoint x="66" y="272"/>
+ <OutlinePoint x="66" y="296"/>
+ <OutlinePoint x="6" y="296"/>
+ <InEdgeId>14</InEdgeId>
+ <OutEdgeId>17</OutEdgeId>
+ <OutEdgeId>18</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="431" y="73"/>
+ <OutlinePoint x="401" y="61"/>
+ <OutlinePoint x="461" y="61"/>
+ <OutlinePoint x="461" y="85"/>
+ <OutlinePoint x="401" y="85"/>
+ <InEdgeId>11</InEdgeId>
+ <InEdgeId>19</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="51" y="78"/>
+ <OutlinePoint x="21" y="66"/>
+ <OutlinePoint x="81" y="66"/>
+ <OutlinePoint x="81" y="90"/>
+ <OutlinePoint x="21" y="90"/>
+ <InEdgeId>10</InEdgeId>
+ <InEdgeId>18</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="4" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="239" y="23"/>
+ <OutlinePoint x="209" y="11"/>
+ <OutlinePoint x="269" y="11"/>
+ <OutlinePoint x="269" y="35"/>
+ <OutlinePoint x="209" y="35"/>
+ <OutEdgeId>10</OutEdgeId>
+ <OutEdgeId>11</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ </Properties>
+ </AndSplitDef>
+ <ActivitySlotDef ID="2" Name="CreateNewAgent_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="339" y="189"/>
+ <OutlinePoint x="274" y="159"/>
+ <OutlinePoint x="404" y="159"/>
+ <OutlinePoint x="404" y="219"/>
+ <OutlinePoint x="274" y="219"/>
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>15</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewAgent"/>
+ </Properties>
+ <activityDef>CreateNewAgent</activityDef>
+ </ActivitySlotDef>
+ <ActivitySlotDef ID="0" Name="CreateNewItem_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="165" y="190"/>
+ <OutlinePoint x="100" y="160"/>
+ <OutlinePoint x="230" y="160"/>
+ <OutlinePoint x="230" y="220"/>
+ <OutlinePoint x="100" y="220"/>
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>14</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewItem"/>
+ </Properties>
+ <activityDef>CreateNewItem</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="19" OriginVertexId="8" TerminusVertexId="6">
+ <OriginPoint x="448" y="271"/>
+ <TerminusPoint x="431" y="73"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="18" OriginVertexId="7" TerminusVertexId="5">
+ <OriginPoint x="36" y="284"/>
+ <TerminusPoint x="51" y="78"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="17" OriginVertexId="7" TerminusVertexId="9">
+ <OriginPoint x="36" y="284"/>
+ <TerminusPoint x="244" y="378"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="16" OriginVertexId="8" TerminusVertexId="9">
+ <OriginPoint x="448" y="271"/>
+ <TerminusPoint x="244" y="378"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="15" OriginVertexId="2" TerminusVertexId="8">
+ <OriginPoint x="339" y="189"/>
+ <TerminusPoint x="448" y="271"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="14" OriginVertexId="0" TerminusVertexId="7">
+ <OriginPoint x="165" y="190"/>
+ <TerminusPoint x="36" y="284"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="13" OriginVertexId="6" TerminusVertexId="2">
+ <OriginPoint x="431" y="73"/>
+ <TerminusPoint x="339" y="189"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="0">
+ <OriginPoint x="51" y="78"/>
+ <TerminusPoint x="165" y="190"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="11" OriginVertexId="4" TerminusVertexId="6">
+ <OriginPoint x="239" y="23"/>
+ <TerminusPoint x="431" y="73"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="10" OriginVertexId="4" TerminusVertexId="5">
+ <OriginPoint x="239" y="23"/>
+ <TerminusPoint x="51" y="78"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Expected Time" Integer="0"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Has Timeout" Boolean="false"/>
+ <KeyValuePair Key="Time Out Action" Integer="2"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Expected Time Unit" Integer="3"/>
+ <KeyValuePair Key="Maximum Time" Integer="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Maximum Time Unit" Integer="3"/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Timeout Activated" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>CreateNewAgent</castorNonLayoutableChildren>
+ <castorNonLayoutableChildren>CreateNewItem</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/src/main/resources/boot/EA/CreateNewAgent.xml b/src/main/resources/boot/EA/CreateNewAgent.xml
new file mode 100644
index 0000000..49f1f32
--- /dev/null
+++ b/src/main/resources/boot/EA/CreateNewAgent.xml
@@ -0,0 +1,19 @@
+<ActivityDef ID="3" Name="CreateNewAgent" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Allows you to create a new Agent"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String="NewAgent"/>
+ <KeyValuePair Key="ScriptName" String="ServerNewEntity"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String="0"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/src/main/resources/boot/EA/CreateNewItem.xml b/src/main/resources/boot/EA/CreateNewItem.xml
new file mode 100644
index 0000000..8daaf74
--- /dev/null
+++ b/src/main/resources/boot/EA/CreateNewItem.xml
@@ -0,0 +1,19 @@
+<ActivityDef ID="1" Name="CreateNewItem" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Allows you to create a new item without a description"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String="NewItem"/>
+ <KeyValuePair Key="ScriptName" String="ServerNewEntity"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String="0"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/src/main/resources/boot/OD/CompositeActivityDef.xsd b/src/main/resources/boot/OD/CompositeActivityDef.xsd
new file mode 100644
index 0000000..e840734
--- /dev/null
+++ b/src/main/resources/boot/OD/CompositeActivityDef.xsd
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="CentrePoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="CompositeActivityDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="childrenGraphModel">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="GraphModelCastorData">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element name="ActivitySlotDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" minOccurs="0"/>
+ <xs:element ref="Properties"/>
+ <xs:element name="activityDef" type="xs:string"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="required"/>
+ <xs:attribute name="Width" type="xs:integer" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="JoinDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" maxOccurs="unbounded"/>
+ <xs:element ref="InEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="OutEdgeId" minOccurs="0"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LoopDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ <xs:attribute name="isNext" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="NextDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="OriginPoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="TerminusPoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="OriginVertexId" type="xs:byte" use="required"/>
+ <xs:attribute name="TerminusVertexId" type="xs:byte" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XOrSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="OrSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="AndSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="ClassNameOfVertexOutlineCreator" type="xs:string" use="required"/>
+ <xs:attribute name="StartVertexId" type="xs:byte" use="required"/>
+ <xs:attribute name="NextId" type="xs:byte" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="Properties"/>
+ <xs:element name="castorNonLayoutableChildren" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:integer" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="required"/>
+ <xs:attribute name="Width" type="xs:integer" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="InEdgeId" type="xs:byte"/>
+ <xs:element name="OutEdgeId" type="xs:byte"/>
+ <xs:element name="OutlinePoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="KeyValuePair" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Key" type="xs:string" use="required"/>
+ <xs:attribute name="String" type="xs:string" use="optional"/>
+ <xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
+ <xs:attribute name="Integer" type="xs:int" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/ElementaryActivityDef.xsd b/src/main/resources/boot/OD/ElementaryActivityDef.xsd
new file mode 100644
index 0000000..ea637e4
--- /dev/null
+++ b/src/main/resources/boot/OD/ElementaryActivityDef.xsd
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="ActivityDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="KeyValuePair" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Key" type="xs:string" use="optional"/>
+ <xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
+ <xs:attribute name="String" type="xs:string" use="optional"/>
+ <xs:attribute name="Integer" type="xs:int" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="optional"/>
+ <xs:attribute name="Width" type="xs:integer" use="optional"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required" fixed="false"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required" fixed="false"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/Module.xsd b/src/main/resources/boot/OD/Module.xsd
new file mode 100644
index 0000000..6cd84e0
--- /dev/null
+++ b/src/main/resources/boot/OD/Module.xsd
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2007 rel. 3 (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="CristalModule">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Info">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Description" type="xs:string"/>
+ <xs:element name="Version" type="xs:string"/>
+ <xs:element name="Dependency" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="ResourceURL" type="xs:string" minOccurs="0"/>
+ <xs:element name="Config" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>Configuration parameters to add to the Cristal VM on launch. May target either client or server processes.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute ref="target"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Script" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="event"/>
+ <xs:attribute ref="target"/>
+ <xs:attribute name="lang" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Imports" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>Items to import into or verify within the Cristal server upon launch.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Resource" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="EA"/>
+ <xs:enumeration value="CA"/>
+ <xs:enumeration value="OD"/>
+ <xs:enumeration value="SC"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Item" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Outcome" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="schema" type="xs:string" use="required"/>
+ <xs:attribute name="version" type="xs:string" use="required"/>
+ <xs:attribute name="viewname" type="xs:string" use="required"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Dependency" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="DependencyMember" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="isDescription" type="xs:boolean" use="optional" default="false"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="workflow" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Agent" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Role" type="xs:string" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="password" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="ns" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation>Prefix for module components</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ <xs:attribute name="target">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="client"/>
+ <xs:enumeration value="server"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="event">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="startup"/>
+ <xs:enumeration value="shutdown"/>
+ <xs:enumeration value="install"/>
+ <xs:enumeration value="uninstall"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/NewAgent.xsd b/src/main/resources/boot/OD/NewAgent.xsd
new file mode 100644
index 0000000..773f4fc
--- /dev/null
+++ b/src/main/resources/boot/OD/NewAgent.xsd
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="NewAgent">
+ <xs:annotation>
+ <xs:documentation>Complete Structure for new agent</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Role" type="xs:string" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>The initial roles that this Agent will hold</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="password" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/NewItem.xsd b/src/main/resources/boot/OD/NewItem.xsd
new file mode 100644
index 0000000..bcd5298
--- /dev/null
+++ b/src/main/resources/boot/OD/NewItem.xsd
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="NewItem">
+ <xs:annotation>
+ <xs:documentation>Complete Structure for new item</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>New Properties for the item</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="value" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Aggregation" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>A new collection with layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="AggregationMember" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Geometry">
+ <xs:annotation>
+ <xs:documentation>The position and size of this member slot on the layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:int" use="required"/>
+ <xs:attribute name="y" type="xs:int" use="required"/>
+ <xs:attribute name="width" type="xs:int" use="required"/>
+ <xs:attribute name="height" type="xs:int" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="slotNo" type="xs:int" use="required"/>
+ <xs:attribute name="itemDescriptionPath" type="xs:string" use="optional"/>
+ <xs:attribute name="itemPath" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="isDescription" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Dependency" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>A new collection without layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="DependencyMember" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="itemPath" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="isDescription" type="xs:boolean" use="required"/>
+ <xs:attribute name="itemDescriptionPath" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="initialPath" type="xs:string" use="required"/>
+ <xs:attribute name="workflow" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/PredefinedStepOutcome.xsd b/src/main/resources/boot/OD/PredefinedStepOutcome.xsd
new file mode 100644
index 0000000..bc0ac52
--- /dev/null
+++ b/src/main/resources/boot/OD/PredefinedStepOutcome.xsd
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="PredefinedStepOutcome">
+ <xs:annotation>
+ <xs:documentation>General holder for predefined step outcomes we can't be bothered to define a proper schema for</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="param" type="xs:string" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/PropertyDescription.xsd b/src/main/resources/boot/OD/PropertyDescription.xsd
new file mode 100644
index 0000000..886092a
--- /dev/null
+++ b/src/main/resources/boot/OD/PropertyDescription.xsd
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="AllProperties">
+ <xs:annotation>
+ <xs:documentation>Defines the properties that will exist in instances of this description when initially created.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="PropertyDescription" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation>The name of the new property.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="IsClassIdentifier" type="xs:boolean" use="required">
+ <xs:annotation>
+ <xs:documentation>Whether this property is used to identify the class of this item. Properties flagged as 'true' here are used to check type when these items are assigned to collections.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="DefaultValue" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>The initial value of the property when it is created.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="IsMutable" type="xs:boolean" use="optional">
+ <xs:annotation>
+ <xs:documentation>Whether or not the property can have its value changed once it has been created.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/OD/Schema.xsd b/src/main/resources/boot/OD/Schema.xsd
new file mode 100644
index 0000000..fed1949
--- /dev/null
+++ b/src/main/resources/boot/OD/Schema.xsd
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+<!-- empty schema as the real one is too complicated for our validator -->
+</xs:schema> \ No newline at end of file
diff --git a/src/main/resources/boot/OD/Script.xsd b/src/main/resources/boot/OD/Script.xsd
new file mode 100644
index 0000000..5726aca
--- /dev/null
+++ b/src/main/resources/boot/OD/Script.xsd
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="cristalscript">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="include" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="version" type="xs:integer" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="output" minOccurs="0">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="script">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="language" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/main/resources/boot/SC/ServerNewEntity.xml b/src/main/resources/boot/SC/ServerNewEntity.xml
new file mode 100644
index 0000000..71753bf
--- /dev/null
+++ b/src/main/resources/boot/SC/ServerNewEntity.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cristalscript>
+ <output name="errors" type="com.c2kernel.scripting.ErrorInfo"/>
+ <script language="javascript" name="LocalObjectDefCreator"><![CDATA[
+
+ var schema = job.getActPropString("SchemaType");
+ var predef = schema.equals("NewItem")?"CreateNewItem":"CreateNewAgent";
+ item.requestAction(agent.getSystemKey(), "workflow/predefined/"+predef, Packages.com.c2kernel.lifecycle.instance.stateMachine.Transitions.DONE, job.getOutcomeString());
+
+ ]]></script>
+</cristalscript>
diff --git a/src/main/resources/boot/property/CAProp.xml b/src/main/resources/boot/property/CAProp.xml
new file mode 100644
index 0000000..d5b2bea
--- /dev/null
+++ b/src/main/resources/boot/property/CAProp.xml
@@ -0,0 +1,5 @@
+<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Complexity" IsClassIdentifier="true" DefaultValue="Composite" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="ActivityDesc" IsMutable="false"/>
+</AllProperties>
diff --git a/src/main/resources/boot/property/EAProp.xml b/src/main/resources/boot/property/EAProp.xml
new file mode 100644
index 0000000..ddf07c1
--- /dev/null
+++ b/src/main/resources/boot/property/EAProp.xml
@@ -0,0 +1,5 @@
+<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Complexity" IsClassIdentifier="true" DefaultValue="Elementary" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="ActivityDesc" IsMutable="false"/>
+</AllProperties>
diff --git a/src/main/resources/boot/property/ODProp.xml b/src/main/resources/boot/property/ODProp.xml
new file mode 100644
index 0000000..0c85444
--- /dev/null
+++ b/src/main/resources/boot/property/ODProp.xml
@@ -0,0 +1,5 @@
+<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="OutcomeDesc" IsMutable="false"/>
+ <PropertyDescription Name="Breakapart" IsClassIdentifier="false" DefaultValue="0" IsMutable="false"/>
+</AllProperties>
diff --git a/src/main/resources/boot/property/SCProp.xml b/src/main/resources/boot/property/SCProp.xml
new file mode 100644
index 0000000..356f2f9
--- /dev/null
+++ b/src/main/resources/boot/property/SCProp.xml
@@ -0,0 +1,4 @@
+<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="Script" IsMutable="false"/>
+</AllProperties>
diff --git a/src/main/resources/images/Thumbs.db b/src/main/resources/images/Thumbs.db
new file mode 100644
index 0000000..551f7e5
--- /dev/null
+++ b/src/main/resources/images/Thumbs.db
Binary files differ
diff --git a/src/main/resources/images/about.png b/src/main/resources/images/about.png
new file mode 100644
index 0000000..3f34032
--- /dev/null
+++ b/src/main/resources/images/about.png
Binary files differ
diff --git a/src/main/resources/images/compositeMember.gif b/src/main/resources/images/compositeMember.gif
new file mode 100644
index 0000000..9e267fc
--- /dev/null
+++ b/src/main/resources/images/compositeMember.gif
Binary files differ
diff --git a/src/main/resources/images/elementaryMember.gif b/src/main/resources/images/elementaryMember.gif
new file mode 100644
index 0000000..9aa677e
--- /dev/null
+++ b/src/main/resources/images/elementaryMember.gif
Binary files differ
diff --git a/src/main/resources/images/find.png b/src/main/resources/images/find.png
new file mode 100644
index 0000000..54d2a6f
--- /dev/null
+++ b/src/main/resources/images/find.png
Binary files differ
diff --git a/src/main/resources/images/folder.png b/src/main/resources/images/folder.png
new file mode 100644
index 0000000..c969ff4
--- /dev/null
+++ b/src/main/resources/images/folder.png
Binary files differ
diff --git a/src/main/resources/images/graph/autolayout.png b/src/main/resources/images/graph/autolayout.png
new file mode 100644
index 0000000..4470ace
--- /dev/null
+++ b/src/main/resources/images/graph/autolayout.png
Binary files differ
diff --git a/src/main/resources/images/graph/copy.png b/src/main/resources/images/graph/copy.png
new file mode 100644
index 0000000..77b67a3
--- /dev/null
+++ b/src/main/resources/images/graph/copy.png
Binary files differ
diff --git a/src/main/resources/images/graph/delete.png b/src/main/resources/images/graph/delete.png
new file mode 100644
index 0000000..180fc21
--- /dev/null
+++ b/src/main/resources/images/graph/delete.png
Binary files differ
diff --git a/src/main/resources/images/graph/edge.png b/src/main/resources/images/graph/edge.png
new file mode 100644
index 0000000..12593ae
--- /dev/null
+++ b/src/main/resources/images/graph/edge.png
Binary files differ
diff --git a/src/main/resources/images/graph/history.png b/src/main/resources/images/graph/history.png
new file mode 100644
index 0000000..f7defb1
--- /dev/null
+++ b/src/main/resources/images/graph/history.png
Binary files differ
diff --git a/src/main/resources/images/graph/load.png b/src/main/resources/images/graph/load.png
new file mode 100644
index 0000000..c969ff4
--- /dev/null
+++ b/src/main/resources/images/graph/load.png
Binary files differ
diff --git a/src/main/resources/images/graph/newvertex.png b/src/main/resources/images/graph/newvertex.png
new file mode 100644
index 0000000..324b65a
--- /dev/null
+++ b/src/main/resources/images/graph/newvertex.png
Binary files differ
diff --git a/src/main/resources/images/graph/newvertex_large.png b/src/main/resources/images/graph/newvertex_large.png
new file mode 100644
index 0000000..aade756
--- /dev/null
+++ b/src/main/resources/images/graph/newvertex_large.png
Binary files differ
diff --git a/src/main/resources/images/graph/print.png b/src/main/resources/images/graph/print.png
new file mode 100644
index 0000000..f417d83
--- /dev/null
+++ b/src/main/resources/images/graph/print.png
Binary files differ
diff --git a/src/main/resources/images/graph/resizepad.gif b/src/main/resources/images/graph/resizepad.gif
new file mode 100644
index 0000000..0f1b5d6
--- /dev/null
+++ b/src/main/resources/images/graph/resizepad.gif
Binary files differ
diff --git a/src/main/resources/images/graph/save.png b/src/main/resources/images/graph/save.png
new file mode 100644
index 0000000..1c4f461
--- /dev/null
+++ b/src/main/resources/images/graph/save.png
Binary files differ
diff --git a/src/main/resources/images/graph/selection.gif b/src/main/resources/images/graph/selection.gif
new file mode 100644
index 0000000..92595c7
--- /dev/null
+++ b/src/main/resources/images/graph/selection.gif
Binary files differ
diff --git a/src/main/resources/images/graph/start.png b/src/main/resources/images/graph/start.png
new file mode 100644
index 0000000..b1212e2
--- /dev/null
+++ b/src/main/resources/images/graph/start.png
Binary files differ
diff --git a/src/main/resources/images/graph/zoomout.png b/src/main/resources/images/graph/zoomout.png
new file mode 100644
index 0000000..b65dcc1
--- /dev/null
+++ b/src/main/resources/images/graph/zoomout.png
Binary files differ
diff --git a/src/main/resources/images/info.png b/src/main/resources/images/info.png
new file mode 100644
index 0000000..7c98fba
--- /dev/null
+++ b/src/main/resources/images/info.png
Binary files differ
diff --git a/src/main/resources/images/leaf.png b/src/main/resources/images/leaf.png
new file mode 100644
index 0000000..acbdea8
--- /dev/null
+++ b/src/main/resources/images/leaf.png
Binary files differ
diff --git a/src/main/resources/images/loading.gif b/src/main/resources/images/loading.gif
new file mode 100644
index 0000000..24f86d4
--- /dev/null
+++ b/src/main/resources/images/loading.gif
Binary files differ
diff --git a/src/main/resources/images/next.png b/src/main/resources/images/next.png
new file mode 100644
index 0000000..4be5f63
--- /dev/null
+++ b/src/main/resources/images/next.png
Binary files differ
diff --git a/src/main/resources/images/reload.gif b/src/main/resources/images/reload.gif
new file mode 100644
index 0000000..2739941
--- /dev/null
+++ b/src/main/resources/images/reload.gif
Binary files differ
diff --git a/src/main/resources/images/typeicons/agent_16.png b/src/main/resources/images/typeicons/agent_16.png
new file mode 100644
index 0000000..1820787
--- /dev/null
+++ b/src/main/resources/images/typeicons/agent_16.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/agent_32.png b/src/main/resources/images/typeicons/agent_32.png
new file mode 100644
index 0000000..b69c918
--- /dev/null
+++ b/src/main/resources/images/typeicons/agent_32.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/compositeactivitydesc_16.png b/src/main/resources/images/typeicons/compositeactivitydesc_16.png
new file mode 100644
index 0000000..14e0c55
--- /dev/null
+++ b/src/main/resources/images/typeicons/compositeactivitydesc_16.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/compositeactivitydesc_32.png b/src/main/resources/images/typeicons/compositeactivitydesc_32.png
new file mode 100644
index 0000000..dec52db
--- /dev/null
+++ b/src/main/resources/images/typeicons/compositeactivitydesc_32.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/elementaryactivitydesc_16.png b/src/main/resources/images/typeicons/elementaryactivitydesc_16.png
new file mode 100644
index 0000000..4db99b3
--- /dev/null
+++ b/src/main/resources/images/typeicons/elementaryactivitydesc_16.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/elementaryactivitydesc_32.png b/src/main/resources/images/typeicons/elementaryactivitydesc_32.png
new file mode 100644
index 0000000..def8c90
--- /dev/null
+++ b/src/main/resources/images/typeicons/elementaryactivitydesc_32.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/outcome_desc_32.png b/src/main/resources/images/typeicons/outcome_desc_32.png
new file mode 100644
index 0000000..0139f7e
--- /dev/null
+++ b/src/main/resources/images/typeicons/outcome_desc_32.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/outcomedesc_16.png b/src/main/resources/images/typeicons/outcomedesc_16.png
new file mode 100644
index 0000000..b5829ba
--- /dev/null
+++ b/src/main/resources/images/typeicons/outcomedesc_16.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/outcomedesc_32.png b/src/main/resources/images/typeicons/outcomedesc_32.png
new file mode 100644
index 0000000..0139f7e
--- /dev/null
+++ b/src/main/resources/images/typeicons/outcomedesc_32.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/script_16.png b/src/main/resources/images/typeicons/script_16.png
new file mode 100644
index 0000000..203e519
--- /dev/null
+++ b/src/main/resources/images/typeicons/script_16.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/script_32.png b/src/main/resources/images/typeicons/script_32.png
new file mode 100644
index 0000000..a1e8d3a
--- /dev/null
+++ b/src/main/resources/images/typeicons/script_32.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/server_16.png b/src/main/resources/images/typeicons/server_16.png
new file mode 100644
index 0000000..b3ff15b
--- /dev/null
+++ b/src/main/resources/images/typeicons/server_16.png
Binary files differ
diff --git a/src/main/resources/images/typeicons/server_32.png b/src/main/resources/images/typeicons/server_32.png
new file mode 100644
index 0000000..d7bf297
--- /dev/null
+++ b/src/main/resources/images/typeicons/server_32.png
Binary files differ
diff --git a/src/main/resources/mapFiles/CastorHashMapMap.xml b/src/main/resources/mapFiles/CastorHashMapMap.xml
new file mode 100644
index 0000000..601cf06
--- /dev/null
+++ b/src/main/resources/mapFiles/CastorHashMapMap.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+
+<mapping>
+ <class name="com.c2kernel.utils.KeyValuePair">
+ <map-to xml="KeyValuePair"/>
+ <field name="mKey"
+ type="string"
+ direct="false"
+ get-method="getKey"
+ set-method="setKey">
+ <bind-xml name="Key" node="attribute"/>
+ </field>
+ <field name="IntegerValue"
+ type="java.lang.Integer"
+ direct="false">
+ <bind-xml name="Integer" node="attribute"/>
+ </field>
+ <field name="StringValue"
+ type="java.lang.String"
+ direct="false">
+ <bind-xml name="String" node="attribute"/>
+ </field>
+ <field name="BooleanValue"
+ type="java.lang.Boolean"
+ direct="false">
+ <bind-xml name="Boolean" node="attribute"/>
+ </field>
+ <field name="FloatValue"
+ type="java.lang.Float"
+ direct="false">
+ <bind-xml name="Float" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.utils.CastorArrayList">
+ <map-to xml="ArrayList"/>
+ <field name="list" collection="arraylist" direct="true" container="false">
+ <bind-xml name="ArrayListMember" node="element"/>
+ </field>
+ </class>
+</mapping>
+
diff --git a/src/main/resources/mapFiles/CollectionMap.xml b/src/main/resources/mapFiles/CollectionMap.xml
new file mode 100644
index 0000000..8c6408c
--- /dev/null
+++ b/src/main/resources/mapFiles/CollectionMap.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0"?>
+<!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Sebastian Gaspard (Agilium) -->
+<mapping>
+ <class name="com.c2kernel.collection.CollectionMemberList">
+ <map-to xml="CollectionMemberList"/>
+ <field name="list"
+ collection="arraylist"
+ direct="true"
+ type="com.c2kernel.collection.CollectionMember">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.collection.DependencyMember">
+ <map-to xml="DependencyMember"/>
+ <field name="ID" type="integer" direct="false">
+ <bind-xml name="ID" node="attribute"/>
+ </field>
+ <field name="mEntityKey"
+ type="integer"
+ direct="false"
+ get-method="getEntityKey"
+ set-method="setEntityKey">
+ <bind-xml name="EntityKey" node="attribute"/>
+ </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>
+
+ <class name="com.c2kernel.collection.AggregationMember"
+ extends="com.c2kernel.graph.model.GraphableVertex">
+ <map-to xml="AggregationMember"/>
+ <field name="mEntityKey"
+ type="integer"
+ direct="false"
+ get-method="getEntityKey"
+ set-method="setEntityKey">
+ <bind-xml name="EntityKey" node="attribute"/>
+ </field>
+ <field name="mClassProps"
+ type="string"
+ direct="false"
+ get-method="getClassProps"
+ set-method="setClassProps">
+ <bind-xml name="ClassProps" node="attribute"/>
+ </field>
+ </class>
+
+
+ <class name="com.c2kernel.collection.Parent2ChildCollection">
+ <map-to xml="Parent2ChildCollection"/>
+ <field name="mMembers"
+ type="com.c2kernel.collection.CollectionMemberList"
+ direct="false"
+ get-method="getMembers"
+ set-method="setMembers">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ <field name="mURLInfo"
+ type="string"
+ direct="false"
+ get-method="getURLInfo"
+ set-method="setURLInfo">
+ <bind-xml name="URLInfo" node="attribute"/>
+ </field>
+ <field name="mName"
+ type="string"
+ direct="false"
+ get-method="getName"
+ set-method="setName">
+ <bind-xml name="CollectionName" node="attribute"/>
+ </field>
+
+ </class>
+ <class name="com.c2kernel.collection.Dependency" extends="com.c2kernel.collection.Parent2ChildCollection">
+ <map-to xml="Dependency"/>
+ <field name="mClassProps"
+ type="string"
+ direct="false"
+ get-method="getClassProps"
+ set-method="setClassProps">
+ <bind-xml name="ClassProps" node="attribute"/>
+ </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>
+ <class name="com.c2kernel.collection.DependencyDescription" extends="com.c2kernel.collection.Dependency">
+ <map-to xml="DependencyDescription"/>
+ </class>
+ <class name="com.c2kernel.collection.Aggregation" extends="com.c2kernel.collection.Parent2ChildCollection">
+ <map-to xml="Aggregation"/>
+ <field name="mLayout" type="com.c2kernel.graph.model.GraphModel" direct="false" get-method="getLayout" set-method="setLayout">
+ <bind-xml name="Layout" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.collection.AggregationDescription" extends="com.c2kernel.collection.Aggregation">
+ <map-to xml="AggregationDescription"/>
+ </class>
+ <class name="com.c2kernel.collection.AggregationInstance" extends="com.c2kernel.collection.Aggregation">
+ <map-to xml="AggregationInstance"/>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/HistoryMap.xml b/src/main/resources/mapFiles/HistoryMap.xml
new file mode 100644
index 0000000..803bf64
--- /dev/null
+++ b/src/main/resources/mapFiles/HistoryMap.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<mapping>
+
+ <class name="com.c2kernel.events.Event">
+ <map-to xml="Event"/>
+ <field name="mID" type="integer" direct="false" get-method="getID" set-method="setID">
+ <bind-xml name="ID" node="attribute"/>
+ </field>
+ <field name="mEntitySystemKey" type="integer" direct="false" get-method="getEntitySystemKey" set-method="setEntitySystemKey">
+ <bind-xml name="EntitySystemKey" node="attribute"/>
+ </field>
+ <field name="mStepName" type="string" direct="false" get-method="getStepName" set-method="setStepName">
+ <bind-xml name="StepName" node="attribute"/>
+ </field>
+ <field name="mStepPath" type="string" direct="false" get-method="getStepPath" set-method="setStepPath">
+ <bind-xml name="StepPath" node="attribute"/>
+ </field>
+ <field name="mStepType" type="string" direct="false" get-method="getStepType" set-method="setStepType">
+ <bind-xml name="StepType" node="attribute"/>
+ </field>
+ <field name="mCurrentState" type="integer" direct="false" get-method="getCurrentState" set-method="setCurrentState">
+ <bind-xml name="CurrentState" node="attribute"/>
+ </field>
+ <field name="mTransition" type="integer" direct="false" get-method="getTransition" set-method="setTransition">
+ <bind-xml name="Transition" node="attribute"/>
+ </field>
+
+ <field name="mAgentName" type="string" direct="false"
+ get-method="getAgentName"
+ set-method="setAgentName">
+ <bind-xml name="AgentId" node="attribute"/>
+ </field>
+ <field name="mAgentRole" type="string" direct="false"
+ get-method="getAgentRole"
+ set-method="setAgentRole">
+ <bind-xml name="AgentRole" node="attribute"/>
+ </field>
+
+ <field name="mTimeStamp" type="com.c2kernel.common.GTimeStamp" direct="false" get-method="getTimeStamp" set-method="setTimeStamp">
+ <bind-xml name="TimeStamp" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/JobListMap.xml b/src/main/resources/mapFiles/JobListMap.xml
new file mode 100644
index 0000000..7352248
--- /dev/null
+++ b/src/main/resources/mapFiles/JobListMap.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.entity.agent.Job">
+ <map-to xml="Job"/>
+ <field name="mItemSysKey" type="integer" direct="false" get-method="getItemSysKey" set-method="setItemSysKey">
+ <bind-xml name="ItemSysKey" node="attribute"/>
+ </field>
+ <field name="mID" type="integer" direct="false" get-method="getID" set-method="setID">
+ <bind-xml name="ID" node="attribute"/>
+ </field>
+ <field name="mStepPath" type="string" direct="false" get-method="getStepPath" set-method="setStepPath">
+ <bind-xml name="StepPath" node="attribute"/>
+ </field>
+ <field name="mPossibleTransition" type="integer" direct="false" get-method="getPossibleTransition" set-method="setPossibleTransition">
+ <bind-xml name="PossibleTransition" node="attribute"/>
+ </field>
+ <field name="mCurrentState" type="integer" direct="false" get-method="getCurrentState" set-method="setCurrentState">
+ <bind-xml name="CurrentState" node="attribute"/>
+ </field>
+ <field name="mTargetState" type="integer" direct="false" get-method="getTargetState" set-method="setTargetState">
+ <bind-xml name="TargetState" node="attribute"/>
+ </field>
+ <field name="mStepName" type="string" direct="false" get-method="getStepName" set-method="setStepName">
+ <bind-xml name="StepName" node="attribute"/>
+ </field>
+ <field name="mAgentId" type="integer" direct="false" get-method="getAgentId" set-method="setAgentId">
+ <bind-xml name="AgentId" node="attribute"/>
+ </field>
+ <field name="mAgentName" type="string" direct="false" get-method="getAgentName" set-method="setAgentName">
+ <bind-xml name="AgentName" node="attribute"/>
+ </field>
+ <field name="mAgentRole" type="string" direct="false" get-method="getAgentRole" set-method="setAgentRole">
+ <bind-xml name="AgentRole" node="attribute"/>
+ </field>
+ <field name="mStepType" type="string" direct="false" get-method="getStepType" set-method="setStepType">
+ <bind-xml name="StepType" node="attribute"/>
+ </field>
+ <field name="mActProps" type="com.c2kernel.utils.KeyValuePair" collection="array" container="false" direct="false" get-method="getKeyValuePairs" set-method="setKeyValuePairs">
+ <bind-xml name="ActProps" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.entity.agent.JobArrayList">
+ <map-to xml="JobArrayList"/>
+ <field name="list" collection="arraylist" direct="true" type="com.c2kernel.entity.agent.Job">
+ <bind-xml name="JobArrayList" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/KeyValuePairMap.xml b/src/main/resources/mapFiles/KeyValuePairMap.xml
new file mode 100644
index 0000000..8175151
--- /dev/null
+++ b/src/main/resources/mapFiles/KeyValuePairMap.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<mapping>
+ <class name="com.c2kernel.utils.KeyValuePair">
+ <map-to xml="KeyValuePair"/>
+ <field name="mKey"
+ type="string"
+ direct="false"
+ get-method="getKey"
+ set-method="setKey">
+ <bind-xml name="Key" node="attribute"/>
+ </field>
+ <field name="IntegerValue"
+ type="java.lang.Integer"
+ direct="false">
+ <bind-xml name="Integer" node="attribute"/>
+ </field>
+ <field name="StringValue"
+ type="java.lang.String"
+ direct="false">
+ <bind-xml name="String" node="attribute"/>
+ </field>
+ <field name="BooleanValue"
+ type="java.lang.Boolean"
+ direct="false">
+ <bind-xml name="Boolean" node="attribute"/>
+ </field>
+ </class>
+</mapping>
+
diff --git a/src/main/resources/mapFiles/LifeCycleMap.xml b/src/main/resources/mapFiles/LifeCycleMap.xml
new file mode 100644
index 0000000..8291dee
--- /dev/null
+++ b/src/main/resources/mapFiles/LifeCycleMap.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.lifecycle.NextDef" extends="com.c2kernel.graph.model.GraphableEdge">
+ <map-to xml="NextDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.WfVertexDef" extends="com.c2kernel.graph.model.GraphableVertex">
+ <map-to xml="WfVertexDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.ActivityDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="ActivityDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.CompositeActivityDef" extends="com.c2kernel.lifecycle.ActivityDef">
+ <map-to xml="CompositeActivityDef"/>
+ <field name="castorNonLayoutableChildren" type="string" direct="false" collection="array">
+ <bind-xml name="castorNonLayoutableChildren" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.ActivitySlotDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="ActivitySlotDef"/>
+ <field name="activityDef" type="string" direct="false">
+ <bind-xml name="activityDef" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.JoinDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="JoinDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.AndSplitDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="AndSplitDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.OrSplitDef" extends="com.c2kernel.lifecycle.AndSplitDef">
+ <map-to xml="OrSplitDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.XOrSplitDef" extends="com.c2kernel.lifecycle.AndSplitDef">
+ <map-to xml="XOrSplitDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.LoopDef" extends="com.c2kernel.lifecycle.XOrSplitDef">
+ <map-to xml="LoopDef"/>
+ <field name="isNext" type="integer" direct="true">
+ <bind-xml name="isNext" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Next" extends="com.c2kernel.graph.model.GraphableEdge">
+ <map-to xml="Next"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.WfVertex" extends="com.c2kernel.graph.model.GraphableVertex"/>
+ <class name="com.c2kernel.lifecycle.instance.Activity" extends="com.c2kernel.lifecycle.instance.WfVertex">
+ <map-to xml="AtomicActivity"/>
+ <field name="active" type="boolean" direct="false">
+ <bind-xml name="active" node="attribute"/>
+ </field>
+ <field name="state" type="integer" direct="false">
+ <bind-xml name="state" node="attribute"/>
+ </field>
+ <field name="type" type="string" direct="false">
+ <bind-xml name="Type" node="attribute"/>
+ </field>
+ <field name="eventIds" type="com.c2kernel.lifecycle.instance.EventStorage" direct="true">
+ <bind-xml name="eventIds" node="element"/>
+ </field>
+ <field name="startDate" type="com.c2kernel.common.GTimeStamp" direct="false">
+ <bind-xml name="startDate" node="element"/>
+ </field>
+ <field name="activeDate" type="com.c2kernel.common.GTimeStamp" direct="false">
+ <bind-xml name="activeDate" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.CompositeActivity" extends="com.c2kernel.lifecycle.instance.Activity">
+ <map-to xml="CompositeActivity"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Workflow" extends="com.c2kernel.lifecycle.instance.CompositeActivity">
+ <map-to xml="Workflow"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Join" extends="com.c2kernel.lifecycle.instance.WfVertex">
+ <map-to xml="Join"/>
+ <field name="counter" type="integer" direct="true">
+ <bind-xml name="counter" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Split" extends="com.c2kernel.lifecycle.instance.WfVertex">
+ <map-to xml="Split"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.AndSplit" extends="com.c2kernel.lifecycle.instance.Split">
+ <map-to xml="AndSplit"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.OrSplit" extends="com.c2kernel.lifecycle.instance.Split">
+ <map-to xml="OrSplit"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.XOrSplit" extends="com.c2kernel.lifecycle.instance.Split">
+ <map-to xml="XOrSplit"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Loop" extends="com.c2kernel.lifecycle.instance.XOrSplit">
+ <map-to xml="Loop"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.PredefinedStepContainer">
+ <map-to xml="PredefinedStepContainer"/>
+ <field name="ID" type="integer" direct="false">
+ <bind-xml name="id" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.ServerPredefinedStepContainer" extends="com.c2kernel.lifecycle.instance.predefined.PredefinedStepContainer">
+ <map-to xml="ServerPredefinedStepContainer"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.EventStorage">
+ <map-to xml="EventStorage"/>
+ <field name="lastTransitionStored" type="integer" direct="true">
+ <bind-xml name="lastTransitionStored" node="attribute"/>
+ </field>
+ <field name="lists" type="com.c2kernel.lifecycle.instance.EventList" collection="array" direct="false">
+ <bind-xml name="lists" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.EventList">
+ <map-to xml="EventList"/>
+ <field name="transition" type="integer" direct="true">
+ <bind-xml name="transition" node="attribute"/>
+ </field>
+ <field name="nums" type="integer" collection="array" direct="false">
+ <bind-xml name="nums" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/ModuleMap.xml b/src/main/resources/mapFiles/ModuleMap.xml
new file mode 100644
index 0000000..4bc4db1
--- /dev/null
+++ b/src/main/resources/mapFiles/ModuleMap.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.process.Module">
+ <map-to xml="CristalModule"/>
+ <field name="ns" direct="false" type="string">
+ <bind-xml name="ns" node="attribute"/>
+ </field>
+ <field name="name" direct="false" type="string">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="desc" direct="false" type="string">
+ <bind-xml name="Description" node="element"/>
+ </field>
+ <field name="version" direct="false" type="string">
+ <bind-xml name="Version" node="element"/>
+ </field>
+ <field name="dependency" collection="array" direct="false" type="string">
+ <bind-xml name="Dependency" node="element"/>
+ </field>
+ <field name="resURL" direct="false" type="string">
+ <bind-xml name="ResourceURL" node="element"/>
+ </field>
+ <field name="dependency" collection="arraylist" direct="false" type="string">
+ <bind-xml name="Config" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/NewEntityMap.xml b/src/main/resources/mapFiles/NewEntityMap.xml
new file mode 100644
index 0000000..5d9d7ca
--- /dev/null
+++ b/src/main/resources/mapFiles/NewEntityMap.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.NewItem">
+ <map-to xml="NewItem"/>
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="initialPath" type="string" direct="true">
+ <bind-xml name="initialPath" node="attribute"/>
+ </field>
+ <field name="workflow" type="string" direct="true">
+ <bind-xml name="workflow" node="attribute"/>
+ </field>
+ <field name="propertyList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Property">
+ <bind-xml name="Property" node="element"/>
+ </field>
+ <field name="aggregationList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Aggregation">
+ <bind-xml name="Aggregation" node="element"/>
+ </field>
+ <field name="dependencyList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Dependency">
+ <bind-xml name="Dependency" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Property">
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="value" type="string" direct="true">
+ <bind-xml name="value" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Aggregation">
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="isDescription" type="boolean" direct="true">
+ <bind-xml name="isDescription" node="attribute"/>
+ </field>
+ <field name="aggregationMemberList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.AggregationMember">
+ <bind-xml name="AggregationMember" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.AggregationMember">
+ <field name="slotNo" type="int" direct="true">
+ <bind-xml name="slotNo" node="attribute"/>
+ </field>
+ <field name="itemDescriptionPath" type="string" direct="true">
+ <bind-xml name="itemDescriptionPath" node="attribute"/>
+ </field>
+ <field name="itemPath" type="string" direct="true">
+ <bind-xml name="itemPath" node="attribute"/>
+ </field>
+ <field name="geometry" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Geometry">
+ <bind-xml name="Geometry" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Geometry">
+ <field name="x" type="int" direct="true">
+ <bind-xml name="x" node="attribute"/>
+ </field>
+ <field name="y" type="int" direct="true">
+ <bind-xml name="y" node="attribute"/>
+ </field>
+ <field name="width" type="int" direct="true">
+ <bind-xml name="width" node="attribute"/>
+ </field>
+ <field name="height" type="int" direct="true">
+ <bind-xml name="height" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Dependency">
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="isDescription" type="boolean" direct="true">
+ <bind-xml name="isDescription" node="attribute"/>
+ </field>
+ <field name="itemDescriptionPath" type="string" direct="true">
+ <bind-xml name="itemDescriptionPath" node="attribute"/>
+ </field>
+ <field name="dependencyMemberList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.DependencyMember">
+ <bind-xml name="DependencyMember" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.DependencyMember">
+ <field name="itemPath" type="string" direct="true">
+ <bind-xml name="itemPath" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.NewAgent">
+ <map-to xml="NewAgent"/>
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="password" type="string" direct="true">
+ <bind-xml name="password" node="attribute"/>
+ </field>
+ <field name="roles" collection="arraylist" direct="true" type="string">
+ <bind-xml name="Role" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/PropertiesMap.xml b/src/main/resources/mapFiles/PropertiesMap.xml
new file mode 100644
index 0000000..7936a75
--- /dev/null
+++ b/src/main/resources/mapFiles/PropertiesMap.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.property.Property">
+ <map-to xml="Property"/>
+ <field name="mName" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="mValue" type="string" direct="false" get-method="getValue" set-method="setValue">
+ <bind-xml name="Value" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.property.PropertyDescription">
+ <map-to xml="PropertyDescription"/>
+ <field name="mName" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="mIsClassIdentifier" type="boolean" direct="false" get-method="getIsClassIdentifier" set-method="setIsClassIdentifier">
+ <bind-xml name="IsClassIdentifier" node="attribute"/>
+ </field>
+ <field name="mDefaultValue" type="string" direct="false" get-method="getDefaultValue" set-method="setDefaultValue">
+ <bind-xml name="DefaultValue" node="attribute"/>
+ </field>
+ <field name="mIsMutable" type="boolean" direct="false" get-method="getIsMutable" set-method="setIsMutable">
+ <bind-xml name="IsMutable" node="attribute"/>
+ </field>
+ </class>
+
+
+ <class name="com.c2kernel.property.PropertyDescriptionList">
+ <map-to xml="AllProperties"/>
+ <field name="list" collection="arraylist" direct="true" type="com.c2kernel.property.PropertyDescription">
+ <bind-xml name="PropertyDescription" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.property.PropertyArrayList">
+ <map-to xml="PropertyList"/>
+ <field name="list"
+ collection="arraylist"
+ direct="true"
+ type="com.c2kernel.property.Property">
+ <bind-xml name="Property" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/TransferMap.xml b/src/main/resources/mapFiles/TransferMap.xml
new file mode 100644
index 0000000..a280ef3
--- /dev/null
+++ b/src/main/resources/mapFiles/TransferMap.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.entity.transfer.TransferSet">
+ <map-to xml="TransferSet"/>
+ <field name="items" collection="arraylist" direct="true"
+ type="com.c2kernel.entity.transfer.TransferItem">
+ <bind-xml name="Item" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.entity.transfer.TransferItem">
+ <field name="sysKey" type="integer" direct="true">
+ <bind-xml name="sysKey" node="attribute"/>
+ </field>
+ <field name="domainPaths" collection="arraylist" direct="true"
+ type="string">
+ <bind-xml name="DomainPaths" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/ViewpointMap.xml b/src/main/resources/mapFiles/ViewpointMap.xml
new file mode 100644
index 0000000..6799418
--- /dev/null
+++ b/src/main/resources/mapFiles/ViewpointMap.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.persistency.outcome.Viewpoint">
+ <map-to xml="Viewpoint"/>
+ <field name="sysKey" type="integer" direct="false" get-method="getSysKey" set-method="setSysKey">
+ <bind-xml name="SysKey" node="attribute"/>
+ </field>
+ <field name="schemaName" type="string" direct="false" get-method="getSchemaName" set-method="setSchemaName">
+ <bind-xml name="SchemaName" node="attribute"/>
+ </field>
+ <field name="name" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="schemaVersion" type="integer" direct="false" get-method="getSchemaVersion" set-method="setSchemaVersion">
+ <bind-xml name="SchemaVersion" node="attribute"/>
+ </field>
+ <field name="eventId" type="integer" direct="false" get-method="getEventId" set-method="setEventId">
+ <bind-xml name="Last" node="attribute"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/graphModelMap.xml b/src/main/resources/mapFiles/graphModelMap.xml
new file mode 100644
index 0000000..cebb589
--- /dev/null
+++ b/src/main/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>
diff --git a/src/main/resources/mapFiles/index b/src/main/resources/mapFiles/index
new file mode 100644
index 0000000..03de6f2
--- /dev/null
+++ b/src/main/resources/mapFiles/index
@@ -0,0 +1,10 @@
+graphModelMap.xml
+KeyValuePairMap.xml
+HistoryMap.xml
+PropertiesMap.xml
+LifeCycleMap.xml
+CollectionMap.xml
+JobListMap.xml
+ViewpointMap.xml
+TransferMap.xml
+NewEntityMap.xml
diff --git a/src/main/resources/openldap/README b/src/main/resources/openldap/README
new file mode 100644
index 0000000..6bfdabc
--- /dev/null
+++ b/src/main/resources/openldap/README
@@ -0,0 +1,5 @@
+cristal2.schema goes in OpenLDAP/schemas, or change the include line to point to it here.
+
+edit your slapd.conf to include it, and replace the env vars with your local path.
+edit the suffix and rootdn and rootpass
+use this slapd to help you
diff --git a/src/main/resources/openldap/cristal2.schema b/src/main/resources/openldap/cristal2.schema
new file mode 100644
index 0000000..2370964
--- /dev/null
+++ b/src/main/resources/openldap/cristal2.schema
@@ -0,0 +1,49 @@
+attributetype ( 1.3.6.1.4.1.96.64.10.1 NAME 'intsyskey'
+ EQUALITY integerMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
+
+attributetype ( 1.3.6.1.4.1.96.64.10.6 NAME 'ior'
+ EQUALITY caseIgnoreMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
+ SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.96.64.10.7 NAME 'cristalprop'
+ EQUALITY caseIgnoreMatch
+ SUBSTR caseIgnoreSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.10 NAME 'cristalentity' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( intsyskey $ ior $ cristalprop ) )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.13 NAME 'cristalcontext' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( intsyskey ) )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.15 NAME 'aliasObject' SUP alias STRUCTURAL
+ MUST ( cn $ objectclass $ aliasedObjectName ) )
+
+# agent
+attributetype ( 1.3.6.1.4.1.96.64.10.8 NAME 'jobList'
+ EQUALITY booleanMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
+
+ # uid must store userName if agent (for authentication to work)
+objectclass ( 1.3.6.1.4.1.96.64.10.14 NAME 'cristalagent' SUP cristalentity STRUCTURAL
+ MUST ( userPassword $ uid ) )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.16 NAME 'cristalrole' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( jobList $ uniqueMember ) )
+
+# old
+
+attributetype ( 1.3.6.1.4.1.96.64.10.2 NAME 'propval'
+ EQUALITY caseIgnoreMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
+ SINGLE-VALUE )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.11 NAME 'cristalproperty' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( propval ) )
+
diff --git a/src/main/resources/openldap/slapd.conf b/src/main/resources/openldap/slapd.conf
new file mode 100644
index 0000000..65cebf1
--- /dev/null
+++ b/src/main/resources/openldap/slapd.conf
@@ -0,0 +1,20 @@
+# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 kurt Exp $
+#
+# See slapd.conf(5) for details on configuration options.
+# This file should NOT be world readable.
+#
+include D:/openldap-2_0_19_debug/schema/core.schema
+include D:/openldap-2_0_19_debug/schema/cristal2.schema
+pidfile D:/openldap-2_0_19_debug/slapd.pid
+argsfile D:/openldap-2_0_19_debug/slapd.args
+
+
+# if no access controls are present, the default is:
+# Allow read by all
+# rootdn can always write!
+
+database ldbm
+suffix "o=cern,c=ch"
+rootdn "cn=Directory Manager,o=cern,c=ch"
+rootpw estrella
+index objectClass eq
diff --git a/src/main/resources/textFiles/defaultConf.properties b/src/main/resources/textFiles/defaultConf.properties
new file mode 100644
index 0000000..dbc58de
--- /dev/null
+++ b/src/main/resources/textFiles/defaultConf.properties
@@ -0,0 +1,5 @@
+OutcomeHandler.CompositeActivityDef.0=com.c2kernel.lifecycle.gui.view.CompActDefOutcomeHandler
+OutcomeHandler.ElementaryActivityDef.0=com.c2kernel.lifecycle.gui.view.ElemActDefOutcomeHandler
+OutcomeHandler.Schema.0=com.c2kernel.gui.tabs.outcome.BasicOutcomeEditor
+OutcomeHandler.Script.0=com.c2kernel.gui.tabs.outcome.BasicOutcomeEditor
+banner=about.png
diff --git a/src/main/resources/textFiles/license.html b/src/main/resources/textFiles/license.html
new file mode 100644
index 0000000..eede128
--- /dev/null
+++ b/src/main/resources/textFiles/license.html
@@ -0,0 +1,38 @@
+<h3>Cristal 2 Kernel</h3>
+<i>Copyright (c) 2001-2004 The European Centre For Particle Physics Research. All Rights Reserved.</i>
+<p>Cristal Kernel utilizes the following software products:
+<ul>
+ <li><b><a href="http://java.sun.com">Java 2 Programming Language and Runtime Enviroment</a></b>
+ <br><i>Copyright &copy; 2003, Sun Microsystems, Inc.</i>
+
+ <li><b><a href="http://www.openldap.org/">OpenLDAP</a></b>
+ <br><i>Copyright &copy; 2004, OpenLDAP Foundation</i>
+
+ <li><b><a href="http://xml.apache.org/xerces2-j/index.html">Xerces2 Java Parser</a></b>
+ <br><i>Copyright &copy; 2000-2005, The Apache Software Foundation. All rights reserved.</i>
+
+ <li><b><a href="http://jakarta.apache.org/bsf/">Jakarta Bean Scripting Framework</a></b>
+ <br><i>Copyright &copy; 2000-2005, The Apache Software Foundation. All rights reserved.</i>
+
+ <li><b><a href="http://www.castor.org/">Castor XML</a></b>
+ <br><i>Copyright &copy;, 1999-2005 Intalio Inc., and others. All Rights Reserved.</i>
+
+ <li><b><a href="http://www.mozilla.org/rhino/">Mozilla Rhino</b></a>
+ <br><i>Copyright &copy; 1998-2005 The Mozilla Organization</i>
+
+ <li><b><a href="http://developer.novell.com/ndk/jldap.htm">Novell LDAP Classes for Java</a></b>
+ <br><i>Copyright &copy; 2004 Novell, Inc. </i>
+
+ <li><b><a href="http://wrapper.tanukisoftware.org/">Java Service Wrapper</a></b>
+ <br><i>Copyright &copy; 1999, 2003 TanukiSoftware.org</i>
+</ul>
+<h3>Third Party Licenses</h3>
+<ul>
+ <li>Java 2 License: <a href="http://java.com/en/download/license.jsp">http://java.com/en/download/license.jsp</a>
+ <li>Apache Software License: <a href="http://www.apache.org/LICENSE.txt">http://www.apache.org/LICENSE.txt</a>
+ <li>DOM License: <a href="http://www.w3.org/Consortium/Legal/copyright-software-19980720">http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
+ <li>SAX License: <a href="http://www.saxproject.org/?selected=pd">http://www.saxproject.org/?selected=pd</a>
+ <li>Castor License: <a href="http://www.castor.org/license.html">http://www.castor.org/license.html</a>
+ <li>Mozilla License: <a href="http://www.mozilla.org/MPL/">http://www.mozilla.org/MPL/</a>
+ <li>JSW License: <a href="http://wrapper.tanukisoftware.org/doc/english/license.html">http://wrapper.tanukisoftware.org/doc/english/license.html</a>
+</ul> \ No newline at end of file