KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mc > formgenerator > bonita > DataActivity


1 /*
2  * Created on 04 mai. 2004 by the Message Center Team
3  *
4  */

5 package mc.formgenerator.bonita;
6
7 import java.util.HashMap JavaDoc;
8
9 /**
10  * @author sempereb
11  *
12  */

13 public class DataActivity extends DataProcess {
14
15     /**
16      * The name of the activity to which it belongs
17      */

18     private String JavaDoc activityName;
19     
20     
21     
22     
23     
24     /**
25      * Default class constructor
26      */

27     public DataActivity(){
28     }
29     
30     
31     
32     
33
34     /**
35      * Class constructor with the attributes setting.
36      * @param theProjectName the process name of the new instance.
37      * @param theActivityName the activity name of the new instance.
38      * @param table the activity properties of the new instance.
39      */

40     public DataActivity(String JavaDoc theProjectName, String JavaDoc theActivityName, HashMap JavaDoc table) {
41         
42         //Parent constructor
43
super(theProjectName, table);
44         
45         //set the project name
46
this.setActivityName(theActivityName);
47     }
48         
49         
50         
51         
52     /**
53      * Initializes the activityName attribute
54      * @param theActivityName the name of the activity to which it belongs
55      */

56     public void setActivityName(String JavaDoc theActivityName) {
57         
58         this.activityName = theActivityName;
59     }
60
61
62
63
64     /**
65      * Gets the activityName attribute
66      * @return the content of the activityName attribute
67      */

68     public String JavaDoc getActivityName() {
69         
70         return this.activityName;
71     }
72 }
73
Popular Tags