Class Event

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
StoryboardElement

Container for Actions. Its priority settings determine how to interact with other events within the same scope (maneuver).

Used in:
Maneuver
Properties
Name Type Cardinality AppliedStereotypes Description
priority Priority 1..1 XSDattribute Priority of each event.
maximumExecutionCount unsignedInt 0..1 XSDattribute Maximum number of executions. Default value is 1. Range: [1..inf[.
name string 1..1 XSDattribute Name of the event.
actions Action 1..* XSDunwrapped List of actions in an event.
startTrigger Trigger 1..1 Actions are executed as soon as the start trigger fires. This point in time represents the start of the event.

Migration Information from XSD 0.9.1
Derived From:
OSCManeuver.Event
Property Name XSD Type XSD 0.9.1 Name Migration
priority Attribute priority
maximumExecutionCount Attribute maximumExecutionCount
name Attribute name
actions Element Action Renamed
startTrigger Element StartConditions Renamed

XSD 1.0 Representation


<xsd:complexType name="Event">
<xsd:sequence>
<xsd:element name="Action" maxOccurs="unbounded" type="Action"/>
<xsd:element name="StartTrigger" type="Trigger"/>
</xsd:sequence>
<xsd:attribute name="priority" type="Priority" use="required"/>
<xsd:attribute name="maximumExecutionCount" type="UnsignedInt"/>
<xsd:attribute name="name" type="String" use="required"/>
</xsd:complexType>

XSD Transformation
UML Element Stereotype Description
actions XSDunwrapped This property represents an unwrapped list in XSD. The element name 'Action' is used for the list elements.

To XSD To XSLT To XSD Tree