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 tFaultHandlers complex type.
033: * <p>
034: * The following schema fragment specifies the expected content contained within
035: * this class.
036: *
037: * <pre>
038: * <complexType name="tFaultHandlers">
039: * <complexContent>
040: * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements">
041: * <sequence>
042: * <element name="catch" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tCatch" maxOccurs="unbounded" minOccurs="0"/>
043: * <element name="catchAll" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivityOrCompensateContainer" minOccurs="0"/>
044: * </sequence>
045: * </extension>
046: * </complexContent>
047: * </complexType>
048: * </pre>
049: */
050: public interface BaseFaultHandlers extends ExtensibleElements,
051: BpelContainer {
052:
053: /**
054: * Returns array catch children.
055: *
056: * @return array of catch.
057: */
058: Catch[] getCatches();
059:
060: /**
061: * @param i
062: * index
063: * @return ith catch.
064: */
065: Catch getCatch(int i);
066:
067: /**
068: * Removes ith catch.
069: *
070: * @param i
071: * index for remove
072: */
073: void removeCatch(int i);
074:
075: /**
076: * Set new array of catches.
077: *
078: * @param catches
079: * array for set.
080: */
081: void setCatches(Catch[] catches);
082:
083: /**
084: * Set ith catch.
085: *
086: * @param catc
087: * object for set.
088: * @param i
089: * index for set.
090: */
091: void setCatch(Catch catc, int i);
092:
093: /**
094: * Add catch.
095: *
096: * @param catc
097: * object for add.
098: */
099: void addCatch(Catch catc);
100:
101: /**
102: * Insert <code>catc</code>.
103: *
104: * @param catc
105: * object for insert.
106: * @param i
107: * index for insert.
108: */
109: void insertCatch(Catch catc, int i);
110:
111: /**
112: * Gets the value of the catchAll property.
113: *
114: * @return possible object is {@link CompensatableActivityHolder }
115: */
116: /**
117: * @return activityOrCompenstateContainer.
118: */
119: CatchAll getCatchAll();
120:
121: /**
122: * Sets the value of the catchAll property.
123: *
124: * @param value
125: * allowed object is {@link CatchAll }
126: */
127: void setCatchAll(CatchAll value);
128:
129: /**
130: * Removes activityOrCompenstateContainer.
131: */
132: void removeCatchAll();
133:
134: /**
135: * @return size of catches.
136: */
137: int sizeOfCathes();
138:
139: }
|