T_Road_Railroad_Switch

Java class for t_road_railroad_switch complex type

.

The following schema fragment specifies the expected content contained within this class.


<complexType name="t_road_railroad_switch">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <element name="mainTrack" type="{}t_road_railroad_switch_mainTrack"/>
        <element name="sideTrack" type="{}t_road_railroad_switch_sideTrack"/>
        <element name="partner" type="{}t_road_railroad_switch_partner" minOccurs="0"/>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="position" use="required" type="{}e_road_railroad_switch_position" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
open fun getId(): String
Unique ID of the switch; preferably an integer number, see uint32_t
Link copied to clipboard
Gets the value of the mainTrack property.
Link copied to clipboard
open fun getName(): String
Unique name of the switch
Link copied to clipboard
Gets the value of the partner property.
Link copied to clipboard
Either a switch can be operated (dynamic) or it is in a static position.
Link copied to clipboard
Gets the value of the sideTrack property.
Link copied to clipboard
open fun setId(value: String)
Sets the value of the id property.
Link copied to clipboard
Sets the value of the mainTrack property.
Link copied to clipboard
open fun setName(value: String)
Sets the value of the name property.
Link copied to clipboard
Sets the value of the partner property.
Link copied to clipboard
Sets the value of the position property.
Link copied to clipboard
Sets the value of the sideTrack property.