]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java
Implementation of a first draft of editorView for the process parameters.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionFlowDescriptor.java
index 5e191cd450d7dfc477db2697a64d2f5868ede22e..d9a3e66574903db85a9e2f93fab95756b42e76d3 100644 (file)
 
 package org.argeo.slc.execution;
 
+import java.io.Serializable;
 import java.util.Map;
 
-public class ExecutionFlowDescriptor {
+/**
+ * 
+ * @author bsinou
+ * 
+ *         This class implements the archetype of a given process.
+ * 
+ *         WARNING : for now both <code>values</code> and
+ *         <code>executionSpec</code> which are rundundant are used. Should be
+ *         improved in further version. Note also that a third redundant field,
+ *         <code>RealizedFlow.executionSpec</code> is also to be cleaned.
+ * 
+ */
+public class ExecutionFlowDescriptor implements Serializable {
+       private static final long serialVersionUID = 7101944857038041216L;
        private String name;
        private String description;
        private String path;
@@ -87,4 +101,10 @@ public class ExecutionFlowDescriptor {
                return name.hashCode();
        }
 
+       @Override
+       public String toString() {
+               return (path != null && !path.trim().equals("") ? path + "/" : "")
+                               + name;
+       }
+
 }