KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > module > def > ModuleDefinition


1 package org.jbpm.module.def;
2
3 import java.io.*;
4
5 import org.jbpm.graph.def.*;
6 import org.jbpm.module.exe.*;
7
8 public abstract class ModuleDefinition implements Serializable {
9
10   long id = 0;
11   protected String JavaDoc name = null;
12   protected ProcessDefinition processDefinition = null;
13   
14   public ModuleDefinition() {
15   }
16   
17   public abstract ModuleInstance createInstance();
18
19   public long getId() {
20     return id;
21   }
22   public String JavaDoc getName() {
23     return name;
24   }
25   public ProcessDefinition getProcessDefinition() {
26     return processDefinition;
27   }
28   public void setProcessDefinition(ProcessDefinition processDefinition) {
29     this.processDefinition = processDefinition;
30   }
31 }
32
Popular Tags