com.ibm.xtools.bpmn2
Interface Transaction

All Superinterfaces:
Activity, BaseElement, org.eclipse.emf.ecore.EObject, FlowElement, FlowNode, org.eclipse.emf.common.notify.Notifier, SubProcess

public interface Transaction
extends SubProcess

A representation of the model object 'Transaction'.

The following features are supported:

See Also:
Bpmn2Package.getTransaction()

Method Summary
 TransactionMethod getMethod()
          Returns the value of the 'Method' attribute.
 boolean isSetMethod()
          Returns whether the value of the 'Method' attribute is set.
 void setMethod(TransactionMethod value)
          Sets the value of the 'Method' attribute.
 void unsetMethod()
          Unsets the value of the 'Method' attribute.
 
Methods inherited from interface com.ibm.xtools.bpmn2.SubProcess
getArtifacts, getFlowElements, isSetTriggeredByEvent, isTriggeredByEvent, setTriggeredByEvent, unsetTriggeredByEvent
 
Methods inherited from interface com.ibm.xtools.bpmn2.Activity
getBoundaryEvents, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getResourceRoles, isIsForCompensation, isSetIsForCompensation, setDefault, setIoSpecification, setIsForCompensation, setLoopCharacteristics, unsetIsForCompensation
 
Methods inherited from interface com.ibm.xtools.bpmn2.FlowNode
getIncoming, getOutgoing
 
Methods inherited from interface com.ibm.xtools.bpmn2.BaseElement
getAny, getAnyAttribute, getDocumentations, getExtensionElements, getId, getName, setExtensionElements, setId, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getMethod

TransactionMethod getMethod()
Returns the value of the 'Method' attribute. The default value is "Compensate". The literals are from the enumeration TransactionMethod.

If the meaning of the 'Method' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Method' attribute.
See Also:
TransactionMethod, isSetMethod(), unsetMethod(), setMethod(TransactionMethod), Bpmn2Package.getTransaction_Method()

setMethod

void setMethod(TransactionMethod value)
Sets the value of the 'Method' attribute.

Parameters:
value - the new value of the 'Method' attribute.
See Also:
TransactionMethod, isSetMethod(), unsetMethod(), getMethod()

unsetMethod

void unsetMethod()
Unsets the value of the 'Method' attribute.

See Also:
isSetMethod(), getMethod(), setMethod(TransactionMethod)

isSetMethod

boolean isSetMethod()
Returns whether the value of the 'Method' attribute is set.

Returns:
whether the value of the 'Method' attribute is set.
See Also:
unsetMethod(), getMethod(), setMethod(TransactionMethod)