UML.Semantic.BehavioralElements.StateMachines
Class TimeEvent

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

public class TimeEvent
extends Event

A TimeEvent is a subtype of Event for modeling event instances resulting from the expiration of a deadline.

In the metamodel a time event can specify a trigger of a transition, which by default denotes the time elapsed since the current state was entered.


Constructor Summary
TimeEvent()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 TimeExpression getDuration()
           
 void setTimeExpression(java.lang.String timeExpression)
           
 
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

TimeEvent

public TimeEvent()
Method Detail

setTimeExpression

public void setTimeExpression(java.lang.String timeExpression)

getDuration

public TimeExpression getDuration()

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.