Class TrafficSignalController

Applied Stereotypes:
XSDcomplexType, XSDwrapperType

Controls the state of a collection of traffic signals.

Used in:
RoadNetwork , TrafficSignalControllerAction , TrafficSignalControllerCondition
Properties
Name Type Cardinality AppliedStereotypes Description
delay double 0..1 XSDattribute The delay to the controller in the reference property. A controller having a delay to another one means that its first phase virtually starts delaytime seconds after the start of the reference's first phase. This can be used to define a progressive signal system, but only makes sense, if the total times of all connected controllers are the same. If delay is set, reference is required. Unit: s; Range: [0..inf[.
name string 1..1 XSDattribute ID of the traffic signal controller in the road network.
reference string 0..1 XSDattribute A reference (ID) to the connected controller in the road network. If reference is set, a delay is required.
phases Phase 0..* XSDunwrapped, XSDelement Phases of a TrafficSignalController.

XSD 1.1 Representation


<xsd:complexType name="TrafficSignalController">
<xsd:sequence>
<xsd:element name="Phase" type="Phase" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="delay" type="Double"/>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="reference" type="String"/>
</xsd:complexType>

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

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
    • XSDwrapperType [min: "0"; xsdWrapperElementName: "TrafficSignalController"; max: "-1"; xsdWrapperType: "TrafficSignals"]
  • Property delay
    • XSDattribute
  • Property name
    • XSDattribute
  • Property reference
    • XSDattribute
  • Property phases
    • XSDunwrapped [xsdElementName: "Phase"]
    • XSDelement [position: "1"]

To XSD To XSD Tree