Class TrafficAction

Applied Stereotypes:
XSDcomplexType, union

Actions defining macroscopic traffic flow and behavior.

Used in:
GlobalAction
Properties
Name Type Cardinality AppliedStereotypes Description
trafficName string 0..1 XSDattribute Name of the traffic that is created. This name can be referenced when stopping the traffic with StopTrafficAction.
trafficSourceAction TrafficSourceAction 0..1 xor, XSDelement Defines a source of traffic at a specific position.
trafficSinkAction TrafficSinkAction 0..1 xor, XSDelement Defines a sink of traffic at a specific position.
trafficSwarmAction TrafficSwarmAction 0..1 xor, XSDelement Defines swarm traffic around a given central entity.
trafficStopAction TrafficStopAction 0..1 xor, XSDelement Stops traffic instances (swarm, source, sink).

XSD 1.1 Representation


<xsd:complexType name="TrafficAction">
<xsd:choice>
<xsd:element name="TrafficSourceAction" type="TrafficSourceAction" minOccurs="0"/>
<xsd:element name="TrafficSinkAction" type="TrafficSinkAction" minOccurs="0"/>
<xsd:element name="TrafficSwarmAction" type="TrafficSwarmAction" minOccurs="0"/>
<xsd:element name="TrafficStopAction" type="TrafficStopAction" minOccurs="0"/>
</xsd:choice>
<xsd:attribute name="trafficName" type="String"/>
</xsd:complexType>

Change log from version 1.0
  • Property 'trafficName' created.
  • Property 'trafficStopAction' created.

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "choice"; mixed: "false"]
    • union
  • Property trafficName
    • XSDattribute
  • Property trafficSourceAction
    • xor
    • XSDelement [position: "1"]
  • Property trafficSinkAction
    • xor
    • XSDelement [position: "2"]
  • Property trafficSwarmAction
    • xor
    • XSDelement [position: "3"]
  • Property trafficStopAction
    • xor
    • XSDelement [position: "4"]

To XSD To XSD Tree