]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModuleDescriptor.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 / ExecutionModuleDescriptor.java
index 62f6682b16d49eb682bed856f63f83a155774ec7..04f8f2d2690b39bb7697b8397945bc34b1333055 100644 (file)
@@ -1,13 +1,28 @@
+/*
+ * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.argeo.slc.execution;
 
-import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
 
-public class ExecutionModuleDescriptor implements Serializable {
-       private static final long serialVersionUID = 1L;
-       private String name;
-       private String version;
+import org.argeo.slc.deploy.ModuleDescriptor;
+
+public class ExecutionModuleDescriptor extends ModuleDescriptor {
+       private static final long serialVersionUID = -2394473464513029512L;
        private List<ExecutionSpec> executionSpecs = new ArrayList<ExecutionSpec>();
        private List<ExecutionFlowDescriptor> executionFlows = new ArrayList<ExecutionFlowDescriptor>();
 
@@ -26,21 +41,4 @@ public class ExecutionModuleDescriptor implements Serializable {
        public void setExecutionFlows(List<ExecutionFlowDescriptor> executionFlows) {
                this.executionFlows = executionFlows;
        }
-
-       public String getName() {
-               return name;
-       }
-
-       public void setName(String name) {
-               this.name = name;
-       }
-
-       public String getVersion() {
-               return version;
-       }
-
-       public void setVersion(String version) {
-               this.version = version;
-       }
-
 }