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, XSDelement Definition of additional parameters.
  acts Act 1..* XSDunwrapped, XSDelement Defines the acts of the story.
XSD 1.3 Representation


<xsd:complexType name="Story">
<xsd:sequence>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="Act" type="Act" maxOccurs="unbounded"/>
</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.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property name
    • XSDattribute
  • Property parameterDeclarations
    • XSDwrapped [wrapperMin: "0"; wrapperMax: "1"]
    • XSDelement [position: "1"]
  • Property acts
    • XSDunwrapped [xsdElementName: "Act"]
    • XSDelement [position: "2"]

To XSD