Class Story

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
StoryboardElement

Grouping of independent executable parts of a scenario. The name of a story must be unique within an OpenSCENARIO file.

Used in:
Storyboard
Properties
Name Type Cardinality AppliedStereotypes Description
name string 1..1 XSDattribute Name of the story, must be unique within an OpenSCENARIO file.
parameterDeclarations ParameterDeclaration 0..* XSDwrapped Definition of additional parameters.
acts Act 1..* XSDunwrapped Defines the acts of the story.

Migration Information from XSD 0.9.1
Derived From:
OpenSCENARIO.xsd/OpenSCENARIO.Storyboard.Story
Property Name XSD Type XSD 0.9.1 Name Migration
name Attribute name
parameterDeclarations Element N/A Parameters like $owner can be declared here.
acts Element Act Renamed
Attribute owner Migrated into a parameter declaration (name = $owner).

XSD 1.0 Representation


<xsd:complexType name="Story">
<xsd:sequence>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="Act" maxOccurs="unbounded" type="Act"/>
</xsd:sequence>
<xsd:attribute name="name" type="String" use="required"/>
</xsd:complexType>

XSD Transformation
UML Element Stereotype Description
parameterDeclarations XSDwrapper This property represents a wrapped list. In XSD, the complex type ParameterDeclarations is used as a wrapper.
acts XSDunwrapped This property represents an unwrapped list in XSD. The element name 'Act' is used for the list elements.

To XSD To XSLT To XSD Tree