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.2 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>
|
|
|
Stereotype Details Information |
- Class
- XSDcomplexType [modelGroup: "choice"; mixed: "false"]
- Property trafficName
- Property trafficSourceAction
- XSDelement [position: "1"]
- Property trafficSinkAction
- XSDelement [position: "2"]
- Property trafficSwarmAction
- XSDelement [position: "3"]
- Property trafficStopAction
- XSDelement [position: "4"]
|
To XSD