Class LINK


  • public class LINK
    extends Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice>
               <element name="BEZIER" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
               <element name="CLOTHOID">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="STARTANGLE" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
                       <attribute name="STARTCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" />
                       <attribute name="ENDCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" />
                       <attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="ENDELEVATION" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="STRAIGHT">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="ARC">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="RADIUS" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="ANGLE" use="required" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
                       <attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}LEFTRIGHTTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="POLYLINE">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="INTERMEDIATEPOINTS" type="{http://www.opentrafficsim.org/ots}COORDINATELISTTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </choice>
             <element ref="{http://www.opentrafficsim.org/ots}ROADLAYOUT" minOccurs="0"/>
             <sequence>
               <choice maxOccurs="unbounded" minOccurs="0">
                 <element name="LANEOVERRIDE" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
                         <attribute name="DIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" />
                         <attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
                         <attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="GENERATOR" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="POSITION" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
                         <attribute name="GTU" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="GTUMIX" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="IAT" use="required" type="{http://www.opentrafficsim.org/ots}TIMEDISTTYPE" />
                         <attribute name="INITIALSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
                         <attribute name="MAXGTU" type="{http://www.w3.org/2001/XMLSchema}double" />
                         <attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" />
                         <attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" />
                         <attribute name="ROUTE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="GTUCOLORER" use="required" type="{http://www.opentrafficsim.org/ots}GTUCOLORERTYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="LISTGENERATOR" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="POSITION" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
                         <attribute name="GTU" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="GTUMIX" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="INITIALSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
                         <attribute name="ROUTE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="GTUCOLORER" use="required" type="{http://www.opentrafficsim.org/ots}GTUCOLORERTYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="FILL" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="GTU" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="GTUMIX" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="DISTANCE" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHDISTTYPE" />
                         <attribute name="INITIALSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
                         <attribute name="MAXGTU" type="{http://www.w3.org/2001/XMLSchema}double" />
                         <attribute name="ROUTE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="BLOCK" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="SENSOR" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
                         <attribute name="CLASS" use="required" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" />
                         <attribute name="TRIGGER" use="required" type="{http://www.opentrafficsim.org/ots}GTUPOSITIONTYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="TRAFFICLIGHT" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
                         <attribute name="CLASS" use="required" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
                 <element name="SINK" maxOccurs="unbounded" minOccurs="0">
                   <complexType>
                     <complexContent>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                         <attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         <attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
                       </restriction>
                     </complexContent>
                   </complexType>
                 </element>
               </choice>
             </sequence>
           </sequence>
           <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="NODESTART" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
           <attribute name="NODEEND" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
           <attribute name="ROADLAYOUT" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="OFFSETSTART" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
           <attribute name="OFFSETEND" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
           <attribute name="ROTATIONSTART" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
           <attribute name="ROTATIONEND" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
           <attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
           <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • LINK

        public LINK()
    • Method Detail

      • getBEZIER

        public LINK.BEZIER getBEZIER()
        Gets the value of the bezier property.
        Returns:
        possible object is Object
      • setBEZIER

        public void setBEZIER​(LINK.BEZIER value)
        Sets the value of the bezier property.
        Parameters:
        value - LINK.BEZIER; allowed object is Object
      • getCLOTHOID

        public LINK.CLOTHOID getCLOTHOID()
        Gets the value of the clothoid property.
        Returns:
        possible object is LINK.CLOTHOID
      • setCLOTHOID

        public void setCLOTHOID​(LINK.CLOTHOID value)
        Sets the value of the clothoid property.
        Parameters:
        value - LINK.CLOTHOID; allowed object is LINK.CLOTHOID
      • getSTRAIGHT

        public LINK.STRAIGHT getSTRAIGHT()
        Gets the value of the straight property.
        Returns:
        possible object is LINK.STRAIGHT
      • setSTRAIGHT

        public void setSTRAIGHT​(LINK.STRAIGHT value)
        Sets the value of the straight property.
        Parameters:
        value - LINK.STRAIGHT; allowed object is LINK.STRAIGHT
      • getARC

        public LINK.ARC getARC()
        Gets the value of the arc property.
        Returns:
        possible object is LINK.ARC
      • setARC

        public void setARC​(LINK.ARC value)
        Sets the value of the arc property.
        Parameters:
        value - LINK.ARC; allowed object is LINK.ARC
      • getPOLYLINE

        public LINK.POLYLINE getPOLYLINE()
        Gets the value of the polyline property.
        Returns:
        possible object is LINK.POLYLINE
      • setPOLYLINE

        public void setPOLYLINE​(LINK.POLYLINE value)
        Sets the value of the polyline property.
        Parameters:
        value - LINK.POLYLINE; allowed object is LINK.POLYLINE
      • getROADLAYOUT

        public ROADLAYOUT getROADLAYOUT()
        Gets the value of the roadlayout property.
        Returns:
        possible object is ROADLAYOUT
      • setROADLAYOUT

        public void setROADLAYOUT​(ROADLAYOUT value)
        Sets the value of the roadlayout property.
        Parameters:
        value - ROADLAYOUT; allowed object is ROADLAYOUT
      • getLANEOVERRIDEOrGENERATOROrLISTGENERATOR

        public List<Object> getLANEOVERRIDEOrGENERATOROrLISTGENERATOR()
        Returns:
        elements of a link
      • getNAME

        public String getNAME()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setNAME

        public void setNAME​(String value)
        Sets the value of the name property.
        Parameters:
        value - String; allowed object is String
      • getNODESTART

        public String getNODESTART()
        Gets the value of the nodestart property.
        Returns:
        possible object is Object
      • setNODESTART

        public void setNODESTART​(String value)
        Sets the value of the nodestart property.
        Parameters:
        value - String; allowed object is Object
      • getNODEEND

        public String getNODEEND()
        Gets the value of the nodeend property.
        Returns:
        possible object is Object
      • setNODEEND

        public void setNODEEND​(String value)
        Sets the value of the nodeend property.
        Parameters:
        value - String; allowed object is Object
      • getROADLAYOUTAttribute

        public String getROADLAYOUTAttribute()
        Gets the value of the roadlayoutAttribute property.
        Returns:
        possible object is String
      • setROADLAYOUTAttribute

        public void setROADLAYOUTAttribute​(String value)
        Sets the value of the roadlayoutAttribute property.
        Parameters:
        value - String; allowed object is String
      • getOFFSETSTART

        public String getOFFSETSTART()
        Gets the value of the offsetstart property.
        Returns:
        possible object is String
      • setOFFSETSTART

        public void setOFFSETSTART​(String value)
        Sets the value of the offsetstart property.
        Parameters:
        value - String; allowed object is String
      • getOFFSETEND

        public String getOFFSETEND()
        Gets the value of the offsetend property.
        Returns:
        possible object is String
      • setOFFSETEND

        public void setOFFSETEND​(String value)
        Sets the value of the offsetend property.
        Parameters:
        value - String; allowed object is String
      • getROTATIONSTART

        public String getROTATIONSTART()
        Gets the value of the rotationstart property.
        Returns:
        possible object is String
      • setROTATIONSTART

        public void setROTATIONSTART​(String value)
        Sets the value of the rotationstart property.
        Parameters:
        value - String; allowed object is String
      • getROTATIONEND

        public String getROTATIONEND()
        Gets the value of the rotationend property.
        Returns:
        possible object is String
      • setROTATIONEND

        public void setROTATIONEND​(String value)
        Sets the value of the rotationend property.
        Parameters:
        value - String; allowed object is String
      • getLANEKEEPING

        public String getLANEKEEPING()
        Gets the value of the lanekeeping property.
        Returns:
        possible object is String
      • setLANEKEEPING

        public void setLANEKEEPING​(String value)
        Sets the value of the lanekeeping property.
        Parameters:
        value - String; allowed object is String
      • getBase

        public String getBase()
        Gets the value of the base property.
        Returns:
        possible object is String
      • setBase

        public void setBase​(String value)
        Sets the value of the base property.
        Parameters:
        value - String; allowed object is String