001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB)
022: // Reference Implementation, v2.0-06/22/2005 01:29 PM(ryans)-EA2
023: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
024: // Any modifications to this file will be lost upon recompilation of the source
025: // schema.
026: // Generated on: 2005.09.05 at 07:05:33 PM MSD
027: //
028: package org.netbeans.modules.bpel.model.api;
029:
030: /**
031: * <p>
032: * Java class for tPick complex type.
033: * <p>
034: * The following schema fragment specifies the expected content contained within
035: * this class.
036: *
037: * <pre>
038: * <complexType name="tPick">
039: * <complexContent>
040: * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivity">
041: * <sequence>
042: * <element name="onMessage" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tOnMessage" maxOccurs="unbounded"/>
043: * <element name="onAlarm" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tOnAlarmPick" maxOccurs="unbounded" minOccurs="0"/>
044: * </sequence>
045: * <attribute name="createInstance" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tBoolean" default="no" />
046: * </extension>
047: * </complexContent>
048: * </complexType>
049: * </pre>
050: */
051: public interface Pick extends Activity, CreateInstanceActivity {
052:
053: /**
054: * @return Array of OnMessage children entities.
055: */
056: OnMessage[] getOnMessages();
057:
058: /**
059: * Set new list of OnMessage children entities.
060: *
061: * @param messages
062: * New array of children.
063: */
064: void setOnMessages(OnMessage[] messages);
065:
066: /**
067: * Getter for <code>i</code>-th OnMessage child.
068: *
069: * @param i
070: * Index in children array.
071: * @return <code>i</code>-th OnMessage child
072: */
073: OnMessage getOnMessage(int i);
074:
075: /**
076: * Setter for <code>i</code>-th OnMessage child.
077: *
078: * @param message
079: * OnMessage child entity.
080: * @param i
081: * index in children array.
082: */
083: void setOnMessage(OnMessage message, int i);
084:
085: /**
086: * Insert <code>i</code>-th OnMessage child.
087: *
088: * @param message
089: * OnMessage child entity.
090: * @param i
091: * index in children array.
092: */
093: void insertOnMessage(OnMessage message, int i);
094:
095: /**
096: * Add <code>i</code>-th OnMessage child.
097: *
098: * @param message
099: * OnMessage child entity.
100: */
101: void addOnMessage(OnMessage message);
102:
103: /**
104: * Removes <code>i</code>-th OnMessage child.
105: *
106: * @param i
107: * index in children array.
108: */
109: void removeOnMessage(int i);
110:
111: /**
112: * @return Array of OnAlarmPick children entities.
113: */
114: OnAlarmPick[] getOnAlarms();
115:
116: /**
117: * Set new list of OnAlarmPick children entities.
118: *
119: * @param alarms
120: * New array of children.
121: */
122: void setOnAlarms(OnAlarmPick[] alarms);
123:
124: /**
125: * Getter for <code>i</code>-th OnAlarmPick child.
126: *
127: * @param i
128: * index in children array.
129: * @return <code>i</code>-th OnMessage child
130: */
131: OnAlarmPick getOnAlarm(int i);
132:
133: /**
134: * Setter for <code>i</code>-th OnAlarmPick child.
135: *
136: * @param alarm
137: * New OnAlarmPick child entity.
138: * @param i
139: * index in children array.
140: */
141: void setOnAlarm(OnAlarmPick alarm, int i);
142:
143: /**
144: * Insert new OnAlarmPick on the <code>i</code>-th place.
145: *
146: * @param alarm
147: * New OnAlarmPick child entity.
148: * @param i
149: * index in children array.
150: */
151: void insertOnAlarm(OnAlarmPick alarm, int i);
152:
153: /**
154: * Add new OnAlarmPick in the end of children list.
155: *
156: * @param alarm
157: * New OnAlarmPick child entity.
158: */
159: void addOnAlarm(OnAlarmPick alarm);
160:
161: /**
162: * Removes <code>i</code>-th OnAlarmPick child.
163: *
164: * @param i
165: * index in children array.
166: */
167: void removeOnAlarm(int i);
168:
169: /**
170: * @return size of OnMessages array.
171: */
172: int sizeOfOnMessages();
173:
174: /**
175: * @return size of OnAlarmPicks array.
176: */
177: int sizeOfOnAlarms();
178: }
|