Interface Trigger
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface Trigger extends NamedElement
A representation of the model object 'Trigger'.A Trigger specifies a specific point at which an Event occurrence may trigger an effect in a Behavior. A Trigger may be qualified by the Port on which the Event occurred.
The following features are supported:
- See Also:
UMLPackage.getTrigger()
- Model:
- annotation="MOF package='commonbehaviors.mdcommunications'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AcceptEventAction
get_acceptEventActionOfTrigger()
Returns the value of the 'accept Event Action Of Trigger' container reference.java.util.Collection<ReplyAction>
get_replyActionOfReplyToCall()
Returns the value of the 'reply Action Of Reply To Call' reference list.State
get_stateOfDeferrableTrigger()
Returns the value of the 'state Of Deferrable Trigger' container reference.Transition
get_transitionOfTrigger()
Returns the value of the 'transition Of Trigger' container reference.Event
getEvent()
Returns the value of the 'Event' reference.java.util.Collection<Port>
getPort()
Returns the value of the 'Port' reference list.boolean
has_replyActionOfReplyToCall()
boolean
hasPort()
void
set_acceptEventActionOfTrigger(AcceptEventAction value)
Sets the value of the 'accept Event Action Of Trigger
' container reference.void
set_stateOfDeferrableTrigger(State value)
Sets the value of the 'state Of Deferrable Trigger
' container reference.void
set_transitionOfTrigger(Transition value)
Sets the value of the 'transition Of Trigger
' container reference.void
setEvent(Event value)
Sets the value of the 'Event
' reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getPort
java.util.Collection<Port> getPort()
Returns the value of the 'Port' reference list. The list contents are of typePort
. It is bidirectional and its opposite is 'trigger Of Port
'. A optional Port of through which the given effect is detected.- Returns:
- the value of the 'Port' reference list.
- See Also:
UMLPackage.getTrigger_Port()
,Port.get_triggerOfPort()
- Model:
- opposite="_triggerOfPort" ordered="false"
- Generated:
-
get_acceptEventActionOfTrigger
@CheckForNull AcceptEventAction get_acceptEventActionOfTrigger()
Returns the value of the 'accept Event Action Of Trigger' container reference. It is bidirectional and its opposite is 'Trigger
'.If the meaning of the 'accept Event Action Of Trigger' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'accept Event Action Of Trigger' container reference.
- See Also:
set_acceptEventActionOfTrigger(AcceptEventAction)
,UMLPackage.getTrigger__acceptEventActionOfTrigger()
,AcceptEventAction.getTrigger()
- Model:
- opposite="trigger" transient="false" ordered="false"
- Generated:
-
set_acceptEventActionOfTrigger
void set_acceptEventActionOfTrigger(@CheckForNull AcceptEventAction value)
Sets the value of the 'accept Event Action Of Trigger
' container reference.- Parameters:
value
- the new value of the 'accept Event Action Of Trigger' container reference.- See Also:
get_acceptEventActionOfTrigger()
- Generated:
-
get_replyActionOfReplyToCall
java.util.Collection<ReplyAction> get_replyActionOfReplyToCall()
Returns the value of the 'reply Action Of Reply To Call' reference list. The list contents are of typeReplyAction
. It is bidirectional and its opposite is 'Reply To Call
'.If the meaning of the 'reply Action Of Reply To Call' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'reply Action Of Reply To Call' reference list.
- See Also:
UMLPackage.getTrigger__replyActionOfReplyToCall()
,ReplyAction.getReplyToCall()
- Model:
- opposite="replyToCall" ordered="false"
- Generated:
-
get_transitionOfTrigger
@CheckForNull Transition get_transitionOfTrigger()
Returns the value of the 'transition Of Trigger' container reference. It is bidirectional and its opposite is 'Trigger
'.If the meaning of the 'transition Of Trigger' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'transition Of Trigger' container reference.
- See Also:
set_transitionOfTrigger(Transition)
,UMLPackage.getTrigger__transitionOfTrigger()
,Transition.getTrigger()
- Model:
- opposite="trigger" transient="false" ordered="false"
- Generated:
-
set_transitionOfTrigger
void set_transitionOfTrigger(@CheckForNull Transition value)
Sets the value of the 'transition Of Trigger
' container reference.- Parameters:
value
- the new value of the 'transition Of Trigger' container reference.- See Also:
get_transitionOfTrigger()
- Generated:
-
get_stateOfDeferrableTrigger
@CheckForNull State get_stateOfDeferrableTrigger()
Returns the value of the 'state Of Deferrable Trigger' container reference. It is bidirectional and its opposite is 'Deferrable Trigger
'.If the meaning of the 'state Of Deferrable Trigger' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'state Of Deferrable Trigger' container reference.
- See Also:
set_stateOfDeferrableTrigger(State)
,UMLPackage.getTrigger__stateOfDeferrableTrigger()
,State.getDeferrableTrigger()
- Model:
- opposite="deferrableTrigger" transient="false" ordered="false"
- Generated:
-
set_stateOfDeferrableTrigger
void set_stateOfDeferrableTrigger(@CheckForNull State value)
Sets the value of the 'state Of Deferrable Trigger
' container reference.- Parameters:
value
- the new value of the 'state Of Deferrable Trigger' container reference.- See Also:
get_stateOfDeferrableTrigger()
- Generated:
-
getEvent
@CheckForNull Event getEvent()
Returns the value of the 'Event' reference. It is bidirectional and its opposite is 'trigger Of Event
'. The Event that detected by the Trigger.- Returns:
- the value of the 'Event' reference.
- See Also:
setEvent(Event)
,UMLPackage.getTrigger_Event()
,Event.get_triggerOfEvent()
- Model:
- opposite="_triggerOfEvent" required="true" ordered="false"
- Generated:
-
setEvent
void setEvent(@CheckForNull Event value)
Sets the value of the 'Event
' reference.- Parameters:
value
- the new value of the 'Event' reference.- See Also:
getEvent()
- Generated:
-
hasPort
boolean hasPort() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_replyActionOfReplyToCall
boolean has_replyActionOfReplyToCall() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-