org.netbeans.modules.bpel.model.api
Interface Catch

All Superinterfaces:
AbstractVariableDeclaration, ActivityHolder, BpelContainer, BpelEntity, BpelReferenceable, CompensatableActivityHolder, Component<BpelEntity>, DocumentComponent<BpelEntity>, ExtensibleElements, FaultHandler, FaultNameReference, Referenceable, ReferenceCollection, VariableDeclaration, VariableDeclarationScope
All Known Implementing Classes:
CatchImpl

public interface Catch
extends FaultHandler, CompensatableActivityHolder, FaultNameReference, VariableDeclaration, VariableDeclarationScope, ReferenceCollection

Java class for tCatch complex type.

The following schema fragment specifies the expected content contained within this class.

   <complexType name="tCatch">
     <complexContent>
       <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivityOrCompensateContainer">
         <attribute name="faultElement" type="{http://www.w3.org/2001/XMLSchema}QName" />
         <attribute name="faultMessageType" type="{http://www.w3.org/2001/XMLSchema}QName" />
         <attribute name="faultName" type="{http://www.w3.org/2001/XMLSchema}QName" />
         <attribute name="faultVariable" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       </extension>
     </complexContent>
   </complexType>
 


Field Summary
static java.lang.String FAULT_ELEMENT
           
static java.lang.String FAULT_MESSAGE_TYPE
           
static java.lang.String FAULT_VARIABLE
          faultVariable attribute name.
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.FaultNameReference
FAULT_NAME
 
Method Summary
 SchemaReference<org.netbeans.modules.xml.schema.model.GlobalElement> getFaultElement()
          Getter for "faultElement" attribute value.
 WSDLReference<Message> getFaultMessageType()
          Getter for "faultMessageType" attribute value.
 java.lang.String getFaultVariable()
          Gets the value of the faultVariable property.
 void removeFaultElement()
          Removes "faultElement" attribute.
 void removeFaultMessageType()
          Removes "faultMessageType" attribute.
 void removeFaultName()
          Removes fault name atribute.
 void removeFaultVariable()
          Removes faultVariable attribure.
 void setFaultElement(SchemaReference<org.netbeans.modules.xml.schema.model.GlobalElement> element)
          Setter for "faultElement" attribute value.
 void setFaultMessageType(WSDLReference<Message> message)
          Setter for "faultMessageType" attribute value .
 void setFaultVariable(java.lang.String value)
          Sets the value of the faultVariable property.
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.ActivityHolder
getActivity, removeActivity, setActivity
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.FaultNameReference
getFaultName, setFaultName
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.AbstractVariableDeclaration
getElement, getMessageType, getType, getVariableName
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference, getReferences
 

Field Detail

FAULT_MESSAGE_TYPE

static final java.lang.String FAULT_MESSAGE_TYPE
See Also:
Constant Field Values

FAULT_ELEMENT

static final java.lang.String FAULT_ELEMENT
See Also:
Constant Field Values

FAULT_VARIABLE

static final java.lang.String FAULT_VARIABLE
faultVariable attribute name.

See Also:
Constant Field Values
Method Detail

removeFaultName

void removeFaultName()
Removes fault name atribute.


getFaultMessageType

WSDLReference<Message> getFaultMessageType()
Getter for "faultMessageType" attribute value.

Returns:
reference to Message object in WSDL model.

setFaultMessageType

void setFaultMessageType(WSDLReference<Message> message)
Setter for "faultMessageType" attribute value .

Parameters:
message - reference to Message object in WSDL model.

removeFaultMessageType

void removeFaultMessageType()
Removes "faultMessageType" attribute.


getFaultElement

SchemaReference<org.netbeans.modules.xml.schema.model.GlobalElement> getFaultElement()
Getter for "faultElement" attribute value. // *

Returns:
reference to GlobalElement object in schema model.

setFaultElement

void setFaultElement(SchemaReference<org.netbeans.modules.xml.schema.model.GlobalElement> element)
Setter for "faultElement" attribute value.

Parameters:
element - reference to GlobalElement object in schema model.

removeFaultElement

void removeFaultElement()
Removes "faultElement" attribute.


getFaultVariable

java.lang.String getFaultVariable()
Gets the value of the faultVariable property. The faultVariable attribute defines local variable for catch.

Returns:
possible object is String.

setFaultVariable

void setFaultVariable(java.lang.String value)
                      throws VetoException
Sets the value of the faultVariable property.

Parameters:
value - allowed object is String.
Throws:
VetoException - VetoException will be thrown if value is not accaptable here.

removeFaultVariable

void removeFaultVariable()
Removes faultVariable attribure.