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.
  trafficSwarmAction TrafficSwarmAction 1..1 xor, XSDelement Defines swarm traffic around a given central entity.
  trafficSourceAction TrafficSourceAction 1..1 xor, XSDelement Defines a source of traffic at a specific position.
  trafficSinkAction TrafficSinkAction 1..1 xor, XSDelement Defines a sink of traffic at a specific position.
  trafficAreaAction TrafficAreaAction 1..1 xor, XSDelement Defines traffic in a specific area.
  trafficStopAction TrafficStopAction 1..1 xor, XSDelement Stops traffic instances (area, swarm, source, sink).
XSD 1.4 Representation


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

Change log from version 1.3
  • Property 'trafficSwarmAction'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'trafficSourceAction'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'trafficSinkAction'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'trafficStopAction'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "choice"; mixed: "false"]
    • union
  • Property trafficName
    • XSDattribute
  • Property trafficSwarmAction
    • xor
    • XSDelement
  • Property trafficSourceAction
    • xor
    • XSDelement
  • Property trafficSinkAction
    • xor
    • XSDelement
  • Property trafficAreaAction
    • xor
    • XSDelement
  • Property trafficStopAction
    • xor
    • XSDelement

To XSD