01: /*
02: * The contents of this file are subject to the
03: * Mozilla Public License Version 1.1 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
06: *
07: * Software distributed under the License is distributed on an "AS IS"
08: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
09: * 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: * This class provides the functionality to manage groups of
28: * <code>WorkflowProperty</code> objects.
29: *
30: * @author Michael Bell
31: * @version $Revision: 1.2 $
32: *
33: */
34: public class WorkflowPropertyGroup extends PropertyGroup {
35:
36: private static List WORKFLOW_CHILDREN = null;
37:
38: static {
39: WORKFLOW_CHILDREN = new ArrayList();
40: WORKFLOW_CHILDREN.add(WorkflowProperty.class.getName());
41: WORKFLOW_CHILDREN.add(WorkflowPropertyGroup.class.getName());
42: }
43:
44: /**
45: *
46: */
47: public WorkflowPropertyGroup() {
48: super ();
49:
50: }
51:
52: /**
53: * @param dbinterf
54: */
55: public WorkflowPropertyGroup(AbstractDataStoreInterface dbinterf) {
56: super (dbinterf);
57:
58: }
59:
60: /**
61: * @param dbinterf
62: * @param bHist
63: */
64: public WorkflowPropertyGroup(AbstractDataStoreInterface dbinterf,
65: boolean bHist) {
66: super (dbinterf, bHist);
67:
68: }
69:
70: /**
71: * @param dbinterf
72: * @param nId
73: */
74: public WorkflowPropertyGroup(AbstractDataStoreInterface dbinterf,
75: int nId) {
76: super (dbinterf, nId);
77:
78: }
79:
80: /**
81: * @param dbinterf
82: * @param nId
83: * @param bHist
84: */
85: public WorkflowPropertyGroup(AbstractDataStoreInterface dbinterf,
86: int nId, int nKey, boolean bHist) {
87: super (dbinterf, nId, nKey, bHist);
88:
89: }
90:
91: /* (non-Javadoc)
92: * @see org.openharmonise.rm.resources.AbstractParentObject#getChildClassNames()
93: */
94: public List getChildClassNames() {
95:
96: return WORKFLOW_CHILDREN;
97: }
98:
99: }
|