public interface ProtocolTransition extends Transition
A ProtocolTransition specifies a legal Transition for an Operation. Transitions of ProtocolStateMachines have the following information: a pre-condition (guard), a Trigger, and a post-condition. Every ProtocolTransition is associated with at most one BehavioralFeature belonging to the context Classifier of the ProtocolStateMachine.
The following features are supported:
UMLPackage.getProtocolTransition()
Modifier and Type | Method and Description |
---|---|
Constraint |
getPostCondition()
Returns the value of the 'Post Condition' reference.
|
Constraint |
getPreCondition()
Returns the value of the 'Pre Condition' reference.
|
java.util.Collection<Operation> |
getReferred()
Returns the value of the 'Referred' reference list.
|
boolean |
hasReferred() |
void |
setPostCondition(Constraint value)
Sets the value of the '
Post Condition '
reference. |
void |
setPreCondition(Constraint value)
Sets the value of the '
Pre Condition '
reference. |
get_transitionOfRedefinedTransition, getContainer, getEffect, getGuard, getKind, getRedefinedTransition, getRedefinitionContext, getSource, getTarget, getTrigger, has_transitionOfRedefinedTransition, hasTrigger, setContainer, setEffect, setGuard, setKind, setRedefinedTransition, setSource, setTarget
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull Constraint getPostCondition()
Owning Transition
'.
Specifies the post condition of the Transition which is the Condition that should be obtained once the Transition is triggered. This post condition is part of
the post condition of the Operation connected to the Transition.
setPostCondition(Constraint)
,
UMLPackage.getProtocolTransition_PostCondition()
,
Constraint.getOwningTransition()
void setPostCondition(@CheckForNull Constraint value)
Post Condition
'
reference.
value
- the new value of the 'Post Condition' reference.getPostCondition()
java.util.Collection<Operation> getReferred()
Operation
.
It is bidirectional and its opposite is
'protocol Transition Of Referred
'.
This association refers to the associated Operation. It is derived from the Operation of the CallEvent Trigger when applicable.
UMLPackage.getProtocolTransition_Referred()
,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Operation#get_protocolTransitionOfReferred
@CheckForNull Constraint getPreCondition()
protocol Transition Of Pre Condition
'.
Specifies the precondition of the Transition. It specifies the Condition that should be verified before triggering the Transition. This guard condition added to
the source State will be evaluated as part of the precondition of the Operation referred by the Transition if any.
setPreCondition(Constraint)
,
UMLPackage.getProtocolTransition_PreCondition()
,
Constraint.get_protocolTransitionOfPreCondition()
void setPreCondition(@CheckForNull Constraint value)
Pre Condition
'
reference.
value
- the new value of the 'Pre Condition' reference.getPreCondition()
boolean hasReferred() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException