Class ParameterDeclaration

Applied Stereotypes:
XSDcomplexType, XSDwrapperType

Declaration of a parameter.

Used in:
Controller , Environment , Maneuver , MiscObject , ParameterAction , ParameterAssignment , ParameterCondition , Pedestrian , Route , ScenarioDefinition , Story , Trajectory , Vehicle
Properties
Name Type Cardinality AppliedStereotypes Description
name string 1..1 XSDattribute Name of the parameter.
parameterType ParameterType 1..1 XSDattribute Type of the parameter.
value string 1..1 XSDattribute Value of the parameter as its default value.
constraintGroups ValueConstraintGroup 0..* XSDunwrapped, XSDelement Defines zero or more constraint groups to the parameter value. Multiple constraint groups are combined by an OR. That means at least one constraint group has to evaluate to true to get the simulation started. If none of the constraint groups is satisfied the scenario should not be evaluated.

XSD 1.1 Representation


<xsd:complexType name="ParameterDeclaration">
<xsd:sequence>
<xsd:element name="ConstraintGroup" type="ValueConstraintGroup" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="parameterType" type="ParameterType" use="required"/>
<xsd:attribute name="value" type="String" use="required"/>
</xsd:complexType>

XSD Transformation
UML Element Stereotype Description
Class XSDwrapperType A complex type wrapper is created in XSD for this type. See ParameterDeclarations
constraintGroups XSDunwrapped This property represents an unwrapped list in XSD. The element name 'ConstraintGroup' is used for the list elements.

Change log from version 1.0
  • Property 'constraintGroups' created.

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
    • XSDwrapperType [min: "0"; xsdWrapperElementName: "ParameterDeclaration"; max: "-1"; xsdWrapperType: "ParameterDeclarations"]
  • Property name
    • XSDattribute
  • Property parameterType
    • XSDattribute
  • Property value
    • XSDattribute
  • Property constraintGroups
    • XSDunwrapped [xsdElementName: "ConstraintGroup"]
    • XSDelement [position: "1"]

To XSD To XSD Tree