01: /*
02: * The contents of this file are subject to the terms of the Common Development
03: * and Distribution License (the License). You may not use this file except in
04: * compliance with the License.
05: *
06: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
07: * or http://www.netbeans.org/cddl.txt.
08: *
09: * When distributing Covered Code, include this CDDL Header Notice in each file
10: * and include the License file at http://www.netbeans.org/cddl.txt.
11: * If applicable, add the following below the CDDL Header, with the fields
12: * enclosed by brackets [] replaced by your own identifying information:
13: * "Portions Copyrighted [year] [name of copyright owner]"
14: *
15: * The Original Software is NetBeans. The Initial Developer of the Original
16: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17: * Microsystems, Inc. All Rights Reserved.
18: */
19:
20: package org.netbeans.modules.bpel.model.api;
21:
22: /**
23: * <p>
24: * Java class for tActivity complex type.
25: * <p>
26: * The following schema fragment specifies the expected content contained within
27: * this class.
28: *
29: * <pre>
30: * <complexType name="tActivity">
31: * <complexContent>
32: * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements">
33: * <sequence>
34: * <element name="targets" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tTargets" minOccurs="0"/>
35: * <element name="sources" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tSources" minOccurs="0"/>
36: * </sequence>
37: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
38: * <attribute name="suppressJoinFailure" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tBoolean" />
39: * </extension>
40: * </complexContent>
41: * </complexType>
42: * </pre>
43: *
44: * @author ads
45: */
46: public interface Activity extends ExtensibleElements,
47: JoinFailureSuppressor, NamedElement, ExtendableActivity {
48:
49: /**
50: * @return targets child entity.
51: */
52: TargetContainer getTargetContainer();
53:
54: /**
55: * Remove argets child entity.
56: */
57: void removeTargetContainer();
58:
59: /**
60: * Set <code>target</code> as "targets" child .
61: *
62: * @param target
63: * object for set.
64: */
65: void setTargetContainer(TargetContainer target);
66:
67: /**
68: * @return "sources" container.
69: */
70: SourceContainer getSourceContainer();
71:
72: /**
73: * Remove "sources" child entity.
74: */
75: void removeSourceContainer();
76:
77: /**
78: * Set <code>source</code> as child "sources" entity..
79: *
80: * @param source
81: * object for set.
82: */
83: void setSourceContainer(SourceContainer source);
84:
85: /**
86: * Removes "name" attribute.
87: */
88: void removeName();
89:
90: }
|