KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openharmonise > rm > resources > workflow > properties > WorkflowPropertyGroup


1 /*
2  * The contents of this file are subject to the
3  * Mozilla Public License Version 1.1 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at http://www.mozilla.org/MPL/
6  *
7  * Software distributed under the License is distributed on an "AS IS"
8  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
9  * See the License for the specific language governing rights and
10  * limitations under the License.
11  *
12  * The Initial Developer of the Original Code is Simulacra Media Ltd.
13  * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14  *
15  * All Rights Reserved.
16  *
17  * Contributor(s):
18  */

19 package org.openharmonise.rm.resources.workflow.properties;
20
21 import java.util.*;
22
23 import org.openharmonise.commons.dsi.*;
24 import org.openharmonise.rm.resources.metadata.properties.*;
25
26
27 /**
28  * This class provides the functionality to manage groups of
29  * <code>WorkflowProperty</code> objects.
30  *
31  * @author Michael Bell
32  * @version $Revision: 1.2 $
33  *
34  */

35 public class WorkflowPropertyGroup extends PropertyGroup {
36
37     private static List WORKFLOW_CHILDREN = null;
38
39     static {
40         WORKFLOW_CHILDREN = new ArrayList();
41         WORKFLOW_CHILDREN.add(WorkflowProperty.class.getName());
42         WORKFLOW_CHILDREN.add(WorkflowPropertyGroup.class.getName());
43     }
44
45     /**
46      *
47      */

48     public WorkflowPropertyGroup() {
49         super();
50         
51     }
52
53     /**
54      * @param dbinterf
55      */

56     public WorkflowPropertyGroup(AbstractDataStoreInterface dbinterf) {
57         super(dbinterf);
58         
59     }
60
61     /**
62      * @param dbinterf
63      * @param bHist
64      */

65     public WorkflowPropertyGroup(
66         AbstractDataStoreInterface dbinterf,
67         boolean bHist) {
68         super(dbinterf, bHist);
69         
70     }
71
72     /**
73      * @param dbinterf
74      * @param nId
75      */

76     public WorkflowPropertyGroup(
77         AbstractDataStoreInterface dbinterf,
78         int nId) {
79         super(dbinterf, nId);
80         
81     }
82
83     /**
84      * @param dbinterf
85      * @param nId
86      * @param bHist
87      */

88     public WorkflowPropertyGroup(
89         AbstractDataStoreInterface dbinterf,
90         int nId,
91         int nKey,
92         boolean bHist) {
93         super(dbinterf, nId, nKey, bHist);
94         
95     }
96
97     /* (non-Javadoc)
98      * @see org.openharmonise.rm.resources.AbstractParentObject#getChildClassNames()
99      */

100     public List getChildClassNames() {
101         
102         return WORKFLOW_CHILDREN;
103     }
104
105 }
106
Popular Tags