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: *
022: */package org.netbeans.modules.bpel.model.api;
023:
024: /**
025: * @author ads
026: * <p>
027: * Java class for tExtensions complex type.
028: * <p>
029: * The following schema fragment specifies the expected content
030: * contained within this class.
031: *
032: * <pre>
033: * <xsd:element name="extensions" type="tExtensions"/>
034: * <xsd:complexType name="tExtensions">
035: * <xsd:complexContent>
036: * <xsd:extension base="tExtensibleElements">
037: * <xsd:sequence>
038: * <xsd:element ref="extension" minOccurs="1" maxOccurs="unbounded"/>
039: * </xsd:sequence>
040: * </xsd:extension>
041: * </xsd:complexContent>
042: * </xsd:complexType>
043: * </pre>
044: */
045: public interface ExtensionContainer extends ExtensibleElements {
046:
047: /**
048: * @return Children array of Extensions.
049: */
050: Extension[] getExtensions();
051:
052: /**
053: * Returns <code>i</code>-th Extension child element.
054: *
055: * @param i
056: * Index in Extensions children array.
057: * @return <code>i</code>-th child Extension.
058: */
059: Extension getExtension(int i);
060:
061: /**
062: * Removes <code>i</code>-th Extension child element.
063: *
064: * @param i
065: * Index in Extensions children array.
066: */
067: void removeExtension(int i);
068:
069: /**
070: * Add new Extension element to the end Extensions children array.
071: *
072: * @param extension New Extension element.
073: */
074: void addExtension(Extension extension);
075:
076: /**
077: * Set New Extension element to the <code>i</code>-th position.
078: *
079: * @param extension
080: * New Extension element.
081: * @param i
082: * Index in Extensions children array.
083: */
084: void setExtension(Extension extension, int i);
085:
086: /**
087: * Insert New Extension element to the <code>i</code>-th position.
088: *
089: * @param extension
090: * New Extension element.
091: * @param i
092: * Index in Extensions children array.
093: */
094: void insertExtension(Extension extension, int i);
095:
096: /**
097: * Set new children array of Extensions.
098: *
099: * @param extensions New array of extansions chldren.
100: */
101: void setExtensions(Extension[] extensions);
102:
103: /**
104: * @return size of children array of Extensions.
105: */
106: int sizeOfExtensions();
107: }
|