From 58efbefd4194e7b3b9da463964bd791a759702f2 Mon Sep 17 00:00:00 2001 From: Bruno Sinou Date: Wed, 16 Feb 2011 18:37:00 +0000 Subject: [PATCH] add some comments to help understanding the approach git-svn-id: https://svn.argeo.org/slc/trunk@4151 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../execution/ExecutionFlowDescriptor.java | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java index 187c36589..f43293099 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java @@ -21,23 +21,24 @@ import java.util.Map; /** * - * Implements both archetype and implementation of a given - * process. + * Implements both archetype and implementation of a given process. * - * At specification time, executionSpec represents the spec - * of the parameters accepted by the process, with, among others: type, - * default value and, optionally, possible values for each parameter. Thus - * ExecutionSpec might be a huge object. Note that when marshalling only - * a reference to a specific ExecutionSpec is stored in the XML to - * optimize performance and avoid redundancy between various - * ExecutionFlowDesciptor that might have the same ExecutionSpec. + * At specification time, executionSpec represents the spec of the + * parameters accepted by the process, with, among others: type, default value + * and, optionally, possible values for each parameter. Thus ExecutionSpec might + * be a huge object. Note that when marshalling only a reference to a specific + * ExecutionSpec is stored in the XML to optimize performance and avoid + * redundancy between various ExecutionFlowDesciptor that might have the same + * ExecutionSpec. * - * At runtime, we build a RealizedFlow which references an - * ExecutionFlowDescriptor. As it happens AFTER marshalling / - * unmarshalling process, the ExecutionSpec is null but we manage to - * retrieve the ExecutionSpec and store it in the RealizedFlow, whereas - * set values of the parameters are stored in the values - * map. + * At runtime, we build a RealizedFlow which references an + * ExecutionFlowDescriptor. As it happens AFTER marshalling / unmarshalling + * process, the ExecutionSpec is null but we manage to retrieve the + * ExecutionSpec and store it in the RealizedFlow, whereas set values of the + * parameters are stored in the values map. + * + * Generally, values object are either a PrimitiveAccessor or a + * RefValue but can be other objects. * * @author bsinou * -- 2.39.2