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: * @author ads
032: */
033: public interface CompositeActivity extends Activity {
034:
035: /**
036: * Gets the value of the activity property. Objects of the
037: * ExtendableActivity type could appear in this list.
038: *
039: * @return array of activities.
040: */
041: ExtendableActivity[] getActivities();
042:
043: /**
044: * @param i
045: * index in array.
046: * @return child activity on i-th position.
047: */
048: ExtendableActivity getActivity(int i);
049:
050: /**
051: * Set activity on ith place.
052: *
053: * @param activity
054: * object for set.
055: * @param i
056: * position for set.
057: */
058: void setActivity(ExtendableActivity activity, int i);
059:
060: /**
061: * Removes child activity.
062: *
063: * @param i
064: * position for remove.
065: */
066: void removeActivity(int i);
067:
068: /**
069: * Insert child activtity on the ith place.
070: *
071: * @param activity
072: * object for insert.
073: * @param i
074: * position for insert.
075: */
076: void insertActivity(ExtendableActivity activity, int i);
077:
078: /**
079: * Add activity to the end of list.
080: *
081: * @param activity
082: * add object to this parent.
083: */
084: void addActivity(ExtendableActivity activity);
085:
086: /**
087: * Size of child activities.
088: *
089: * @return size of children.
090: */
091: int sizeOfActivities();
092:
093: /**
094: * Set array of activities as new list of activities children.
095: *
096: * @param activities
097: * array of activitty objects.
098: */
099: void setActivtities(ExtendableActivity[] activities);
100:
101: }
|