UML.Semantic.BehavioralElements.StateMachines
Class Event

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.BehavioralElements.StateMachines.Event
All Implemented Interfaces:
Element, ElementAtt, LinkAtt
Direct Known Subclasses:
CallEvent, ChangeEvent, SignalEvent, TimeEvent

public class Event
extends ModelElement

An event is the specification of a significant occurrence that has a location in time and space. An instance of an event can lead to the activation of a behavioral feature in an object.

It is important to distinguish between an event, which is a static specification for a dynamically occurring concept, from an actual instance of an event as a result of program execution. The class Event represents the type of an event. An instance of an event is not modeled explicitly in the metamodel.

In the metamodel an Event is a subclass of ModelElement and is the part of a Transition that represents its trigger.


Constructor Summary
Event()
           
 
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
 

Constructor Detail

Event

public Event()
Method Detail

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Overrides:
check in class ModelElement
Returns:
True if check was successful, false otherwise.