UML.Semantic.BehavioralElements.StateMachines
Class ChangeEvent
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.BehavioralElements.StateMachines.Event
|
+--UML.Semantic.BehavioralElements.StateMachines.ChangeEvent
- All Implemented Interfaces:
- Element, ElementAtt, LinkAtt
- public class ChangeEvent
- extends Event
A change event is an event that is generated when one or
more attributes or relationships change value according to an
explicit expression.
A change event is never raised by an explicit change event
action. Instead, it is a consequence of the execution of one or
more actions that modify the values of elements that are
referenced in the boolean expression. The corresponding change
event is actually raised by the underlying run-time system that
detects that the condition has changed to true
A change event functions as a trigger for transitions, and
must not be confused with a guard. When a change event occurs, a
guard can still block any transition that would otherwise be
triggered by that change.
In the metamodel ChangeEvent is a subclass of
Event, which is the abstract class that represents
all events that trigger a StateMachine.
|
Method Summary |
boolean |
check()
Checks if well-formedness rules are respected in this model
element. |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeEvent
public ChangeEvent()
check
public boolean check()
- Checks if well-formedness rules are respected in this model
element.
- Overrides:
check in class Event
- Returns:
- True if check was successful, false otherwise.