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: import org.netbeans.modules.bpel.model.api.events.VetoException;
031: import org.netbeans.modules.bpel.model.api.references.ReferenceCollection;
032: import org.netbeans.modules.bpel.model.api.references.SchemaReference;
033: import org.netbeans.modules.bpel.model.api.references.WSDLReference;
034: import org.netbeans.modules.xml.schema.model.GlobalElement;
035: import org.netbeans.modules.xml.wsdl.model.Message;
036:
037: /**
038: * <p>
039: * Java class for tCatch complex type.
040: * <p>
041: * The following schema fragment specifies the expected content contained within
042: * this class.
043: *
044: * <pre>
045: * <complexType name="tCatch">
046: * <complexContent>
047: * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivityOrCompensateContainer">
048: * <attribute name="faultElement" type="{http://www.w3.org/2001/XMLSchema}QName" />
049: * <attribute name="faultMessageType" type="{http://www.w3.org/2001/XMLSchema}QName" />
050: * <attribute name="faultName" type="{http://www.w3.org/2001/XMLSchema}QName" />
051: * <attribute name="faultVariable" type="{http://www.w3.org/2001/XMLSchema}NCName" />
052: * </extension>
053: * </complexContent>
054: * </complexType>
055: * </pre>
056: */
057: public interface Catch extends FaultHandler,
058: CompensatableActivityHolder, FaultNameReference,
059: VariableDeclaration, VariableDeclarationScope,
060: ReferenceCollection {
061:
062: String FAULT_MESSAGE_TYPE = "faultMessageType"; // NOI18N
063:
064: String FAULT_ELEMENT = "faultElement"; // NOI18N
065:
066: /**
067: * faultVariable attribute name.
068: */
069: String FAULT_VARIABLE = "faultVariable"; // NOI18N
070:
071: /**
072: * Removes fault name atribute.
073: */
074: void removeFaultName();
075:
076: /**
077: * Getter for "faultMessageType" attribute value.
078: *
079: * @return reference to Message object in WSDL model.
080: */
081: WSDLReference<Message> getFaultMessageType();
082:
083: /**
084: * Setter for "faultMessageType" attribute value .
085: *
086: * @param message
087: * reference to Message object in WSDL model.
088: */
089: void setFaultMessageType(WSDLReference<Message> message);
090:
091: /**
092: * Removes "faultMessageType" attribute.
093: */
094: void removeFaultMessageType();
095:
096: /**
097: * Getter for "faultElement" attribute value. // *
098: *
099: * @return reference to GlobalElement object in schema model.
100: */
101: SchemaReference<GlobalElement> getFaultElement();
102:
103: /**
104: * Setter for "faultElement" attribute value.
105: *
106: * @param element
107: * reference to GlobalElement object in schema model.
108: */
109: void setFaultElement(SchemaReference<GlobalElement> element);
110:
111: /**
112: * Removes "faultElement" attribute.
113: */
114: void removeFaultElement();
115:
116: /**
117: * Gets the value of the faultVariable property.
118: * The faultVariable attribute defines local variable for catch.
119: *
120: * @return possible object is String.
121: */
122: String getFaultVariable();
123:
124: /**
125: * Sets the value of the faultVariable property.
126: *
127: * @param value
128: * allowed object is String.
129: * @throws VetoException {@link VetoException } will be thrown
130: * if <code>value</code> is not accaptable here.
131: */
132: void setFaultVariable(String value) throws VetoException;
133:
134: /**
135: * Removes faultVariable attribure.
136: */
137: void removeFaultVariable();
138: }
|